Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 48f52fe624
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| aid = aid, use_all_permitted_aids = use_all_permitted_aids, window = window, start_date = start_date, end_date = end_date, cursor = cursor, | ||
| _request_timeout=_request_timeout | ||
| _request_auth=_request_auth, |
There was a problem hiding this comment.
Add missing comma between PaginationIterable args
The PaginationIterable(...) call is missing a comma between _request_timeout and _request_auth, which makes the file invalid Python syntax. Any import of user_events_api.py will raise a SyntaxError, so the new paginated helper (and everything else in this module) is unusable until the comma is added.
Useful? React with 👍 / 👎.
| aid = aid, window = window, start_date = start_date, end_date = end_date, max = max, cursor = cursor, state = state, | ||
| _request_timeout=_request_timeout | ||
| _request_auth=_request_auth, |
There was a problem hiding this comment.
Add missing comma between PaginationIterable args
This PaginationIterable(...) call is syntactically invalid because _request_timeout is not followed by a comma before _request_auth. Importing alerts_api.py will fail with a SyntaxError, which prevents using any API client code in this module.
Useful? React with 👍 / 👎.
| start_date = start_date, end_date = end_date, cursor = cursor, | ||
| _request_timeout=_request_timeout | ||
| _request_auth=_request_auth, |
There was a problem hiding this comment.
Add missing comma between PaginationIterable args
In get_enterprise_agents_units_usage_paginated, the _request_timeout keyword argument is missing a trailing comma before _request_auth. This is a syntax error, so importing usage_api.py fails and the entire module becomes unusable.
Useful? React with 👍 / 👎.
| aid = aid, start_date = start_date, end_date = end_date, cursor = cursor, | ||
| _request_timeout=_request_timeout | ||
| _request_auth=_request_auth, |
There was a problem hiding this comment.
Add missing comma between PaginationIterable args
The second paginated helper (get_tests_units_usage_paginated) repeats the same missing-comma bug: _request_timeout is immediately followed by _request_auth. This is invalid syntax and will prevent usage_api.py from importing.
Useful? React with 👍 / 👎.
|
Missing comma in method. Superceded by #130 |
No description provided.