-
Couldn't load subscription status.
- Fork 344
Closed
Labels
Description
What are you trying to do?
I was writing some pytest fixtures to create containers, and I wanted to create a Network in a fixture. However, I realized that a non-context-manager interface wasn't provided for the Network class. I've already made the change here: dogukancagatay#1
Why should it be done this way?
There is a non-context-manager API for other classes, such as DockerContainer and DockerImage, and I think that Network should have one for completeness, flexibility, and ease of use in some instances.
Other references:
Include any other relevant reading material about the enhancement.