We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent babd298 commit a26e585Copy full SHA for a26e585
1 file changed
gitlab/types.py
@@ -38,6 +38,10 @@ def set_from_cli(self, cli_value):
38
self._value = [item.strip() for item in cli_value.split(",")]
39
40
def get_for_api(self):
41
+ # Do not comma-split single value passed as string
42
+ if isinstance(self._value, str):
43
+ return self._value
44
+
45
return ",".join(self._value)
46
47
0 commit comments