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:
|
||||
filters_result += "--filters "
|
||||
logger.info(filters)
|
||||
for key, value in filters.items():
|
||||
filters_result += f"'{key} EQ {value}' "
|
||||
filters_result += ','.join(map(lambda i: f"'{i} EQ {filters[i]}'", filters))
|
||||
|
||||
cmd = (
|
||||
f'{NEOFS_CLI_EXEC} --rpc-endpoint {NEOFS_ENDPOINT} --wallet {wif} '
|
||||
|
|
Loading…
Reference in a new issue