Replicas.get
accepts schemes
as str
, but list_replicas
expects schemes
as list
#7739
Labels
8000
Replicas.get
accepts schemes
as str
, but list_replicas
expects schemes
as list
#7739
Description
Replicas.get
:rucio/lib/rucio/web/rest/flaskapi/v1/replicas.py
Lines 172 to 176 in ee60283
This breaks when properly type-checked, because it could be
str
:rucio/lib/rucio/web/rest/flaskapi/v1/replicas.py
Line 255 in ee60283
By contrast,
ListReplicas.post
acceptsschemes
as alist
:rucio/lib/rucio/web/rest/flaskapi/v1/replicas.py
Lines 555 to 559 in ee60283
And this doesn't break when properly type-checked:
rucio/lib/rucio/web/rest/flaskapi/v1/replicas.py
Line 715 in ee60283
We should either:
Replicas.get
so thatschemes
must be passed as a list, or:schemes
string into alist
Steps to reproduce
NA
Rucio Version
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: