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
docker-py provides two constants RUN_CREATE_KWARGS and RUN_HOST_CONFIG_KWARGS that a consumer might use to validate kwargs they are passing to the CreateMixin.create method.
I would like podman-py to provide either similar kinds of constants like docker-py does or provide a public method that could be used to validate the kwargs.
docker-py provides two constants
RUN_CREATE_KWARGS
andRUN_HOST_CONFIG_KWARGS
that a consumer might use to validate kwargs they are passing to theCreateMixin.create
method.https://github.com/docker/docker-py/blob/a3652028b1ead708bd9191efb286f909ba6c2a49/docker/models/containers.py#L1122-L1134
I would like podman-py to provide either similar kinds of constants like docker-py does or provide a public method that could be used to validate the kwargs.
Currently, we have the following workaround implemented:
https://github.com/SatelliteQE/broker/blob/eab6d4596d1b729bf86cc2dcd1bcae87e08a576a/broker/binds/containers.py#L150-L165
The text was updated successfully, but these errors were encountered: