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
Sorry, **kwargs is a bad option for many reasons, the lack of typing info is on the list.
Please enumerate all missing args explicitly as we do already for a few, e.g. advertise_addr.
The test is welcome!
akiuni
pushed a commit
to akiuni/aiodocker
that referenced
this issue
Jul 23, 2021
Long story short
Currently there is no way to set some additional parameters when creating a swarm. For example "DefaultAddrPool" is missing as it exists in the documentation: https://docs.docker.com/engine/api/v1.40/#operation/SwarmInit
The code only allows some predefined parameters:
aiodocker/aiodocker/swarm.py
Lines 31 to 36 in 335acad
Maybe it would be possible to allow
kwargs
to specify custom parameters?The text was updated successfully, but these errors were encountered: