Container.started should return the same type as self
The type signature for behave_utils.docker.Container.started()
should be:
T = TypeVar("T")
...
@contextmanager
def started(self: T) -> Iterator[T]: ...
This affects the following classes:
-
behave_utils.docker.Container
-
behave_utils.mysql.Mysql
Edited by Dom Sekotill