Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxWarning and deprecation warning over invalid escape sequences #298

Open
tirkarthi opened this issue Jan 25, 2020 · 0 comments
Open

Comments

@tirkarthi
Copy link

./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\$",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant