Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide return annotations to all
providers.JobV1.result()
methods (#…
…11531) * Make providers.JobV1 generic on result() return Makes `JobV1` a `Generic[T]` class where `T` is the return type of the `run()` method. The intended value is to allow tools such as the primitives to be more explicit about what the jobs they return will contain. * Remove future import * alphebetize imports * switch to covariant TypeVar * remove generic and just use Result * avoid circular import * fix circular imports attempt 2
- Loading branch information