You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(core): Improve typing for common container usage scenarios (#523)
Improves type hints for type checking in a common use cases:
```python
with MySqlContainer("mysql:8").with_env("some", "value") as mysql:
url = mysql.get_connection_url() # get_connection_url would previously be an unknown member here
```
And, also improved type hinting for the custom `DockerClient`'s `run`
command, where the linter no longer reports an error due to missing
parameter types:
```python
DockerClient.run("nginx") # Previously this would report "Argument missing for parameter "image"
```
0 commit comments