qds-sdk-py
qds-sdk-py copied to clipboard
SyntaxWarning and deprecation warning over invalid escape sequences
./qds_sdk/role.py:23: DeprecationWarning: invalid escape sequence \]
help="Policy Statement example '[{\"access\":\"deny\", \"resource\": \"all\", \"action\": \"[\"create\",\"update\",\"delete\"\]\"}]'")
./qds_sdk/role.py:42: DeprecationWarning: invalid escape sequence \]
help="Policy Statement example '[{\"access\":\"deny\", \"resource\": \"all\", \"action\": \"[\"create\",\"update\",\"delete\"\]\"}]'")
./qds_sdk/commands.py:1124: SyntaxWarning: "is" with a literal. Did you mean "=="?
if options.mode is "1":
./qds_sdk/commands.py:1137: SyntaxWarning: "is" with a literal. Did you mean "=="?
if options.db_update_mode is "updateonly":
./qds_sdk/commands.py:1424: SyntaxWarning: "is" with a literal. Did you mean "=="?
if (total is 0) or (downloaded == total):
./tests/test_command.py:1950: DeprecationWarning: invalid escape sequence \$
sys.argv = ['qds.py', 'dbtapquerycmd', 'submit', '--query', "select * from table_1 limit \$limit\$",
./tests/test_command.py:1958: DeprecationWarning: invalid escape sequence \$
'query': "select * from table_1 limit \$limit\$",
./tests/test_command.py:1966: DeprecationWarning: invalid escape sequence \$
sys.argv = ['qds.py', 'dbtapquerycmd', 'submit', '--query', "select * from table_1 limit \$limit\$",
./tests/test_command.py:1974: DeprecationWarning: invalid escape sequence \$
'query': "select * from table_1 limit \$limit\$",