Support for invalid-Python-keyword labels in API
Label names in Docker can have '.'s in them (e.g. org.nrg.commands is a special label used in XNAT's container service) but the syntax of
the API, i.e. _Renderer.label(label_name=label_content), doesn't support that
Could this be handled by adding a labels method that takes a dictionary of labels to add, e.g. _Renderer.labels({'label_name': label_content})?
@tclose - good catch. it's a little clunky, but for now could you try
_Renderer.labels(**{"label.name": "label_content"})
but i agree that labels with . in them should be supported. your proposed solution would be great. prs are welcome ;)
can we close this now that #453 has been merged?
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.