Skip to content

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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information