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

Delete multiple entities using type is not working #4507

Closed
ArqamFarooqui110719 opened this issue Feb 12, 2024 · 2 comments
Closed

Delete multiple entities using type is not working #4507

ArqamFarooqui110719 opened this issue Feb 12, 2024 · 2 comments
Labels
Milestone

Comments

@ArqamFarooqui110719
Copy link
Contributor

Bug description
I am trying to delete multiple entities using type option in the scripts delete_entities_by_list.py and delete_entities_by_query.py , But I'm getting syntax error as below:

  File "delete_entities_by_list.py", line 88
    print '*** Error deleting entities (%d): %s' % (res.status_code, res.json())
          ^
SyntaxError: invalid syntax
  • Orion version: 3.11.0

How to reproduce it
Run the script

python3 delete_entities_by_list.py

Expected behavior
Script should run successfully.

@ArqamFarooqui110719
Copy link
Contributor Author

As per my investigation, the script is compatible with python2, it should be upgraded to python3.
So I'm raising a PR for the same.

@ArqamFarooqui110719
Copy link
Contributor Author

PR #4508

@fgalan fgalan added this to the 3.12.0 milestone Feb 12, 2024
@fgalan fgalan closed this as completed Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants