Is your feature request related to a problem? Please describe.
The parameter annotation_types exists for various endpoints and it allows for filtering the annotation types that should be saved or exported. Currently, we only support str as input as the backend expects a string. If one wants to specify multiple annotation types to be saved, one needs to send a comma-separated list as a string. This is not very user-friendly, especially considering that passing a list in the client causes problems (observed in create_process).
Describe the solution you'd like
Accept inputs in list[str] format in addition to str. The lists should be deduplicated and then internally converted to a string with ",".join(list).
Is your feature request related to a problem? Please describe. The parameter
annotation_types
exists for various endpoints and it allows for filtering the annotation types that should be saved or exported. Currently, we only supportstr
as input as the backend expects a string. If one wants to specify multiple annotation types to be saved, one needs to send a comma-separated list as a string. This is not very user-friendly, especially considering that passing a list in the client causes problems (observed increate_process
).Describe the solution you'd like Accept inputs in
list[str]
format in addition tostr
. The lists should be deduplicated and then internally converted to a string with",".join(list)
.