forked from TrueCloudLab/frostfs-testcases
syntax fixes in neofs_verbs.py
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
This commit is contained in:
parent
7a21456201
commit
040f648c61
1 changed files with 6 additions and 7 deletions
|
@ -190,8 +190,7 @@ def search_object(wif: str, cid: str, keys: str="", bearer: str="", filters: dic
|
||||||
if filters:
|
if filters:
|
||||||
filters_result += "--filters "
|
filters_result += "--filters "
|
||||||
logger.info(filters)
|
logger.info(filters)
|
||||||
for key, value in filters.items():
|
filters_result += ','.join(map(lambda i: f"'{i} EQ {filters[i]}'", filters))
|
||||||
filters_result += f"'{key} EQ {value}' "
|
|
||||||
|
|
||||||
cmd = (
|
cmd = (
|
||||||
f'{NEOFS_CLI_EXEC} --rpc-endpoint {NEOFS_ENDPOINT} --wallet {wif} '
|
f'{NEOFS_CLI_EXEC} --rpc-endpoint {NEOFS_ENDPOINT} --wallet {wif} '
|
||||||
|
|
Loading…
Reference in a new issue