We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05f9de8 commit 9d6cfafCopy full SHA for 9d6cfaf
polytope_server/common/datasource/polytope.py
@@ -62,10 +62,12 @@ def retrieve(self, request):
62
# Set the "pre-path" for this request
63
pre_path = {}
64
for k, v in r.items():
65
+ v = v.split("/") if isinstance(v, str) else v
66
if k in self.req_single_keys:
67
if isinstance(v, list):
- v = v[0]
68
- pre_path[k] = v
+ if len(v) == 1:
69
+ v = v[0]
70
+ pre_path[k] = v
71
72
polytope_mars_config = copy.deepcopy(self.config)
73
polytope_mars_config["options"]["pre_path"] = pre_path
0 commit comments