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

Fix log service for twin api #9199

Merged
merged 9 commits into from
Aug 26, 2024
Merged

Fix log service for twin api #9199

merged 9 commits into from
Aug 26, 2024

Conversation

IonesioJunior
Copy link
Member

  • Add log_id in public/private api calls
  • Pass log_id across jobs
  • Add log_id in CustomAPIEndpoint

Description

Please include a summary of the change, the motivation, and any additional context that will help others understand your PR. If it closes one or more open issues, please tag them as described here.

Affected Dependencies

List any dependencies that are required for this change.

How has this been tested?

  • Describe the tests that you ran to verify your changes.
  • Provide instructions so we can reproduce.
  • List any relevant details for your test configuration.

Checklist

- Add log_id in public/private api calls
- Pass log_id across jobs
- Add log_id in CustomAPIEndpoint
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link
Contributor

@snwagh snwagh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for adding the example code to the notebook.

**kwargs: Any,
) -> Any:
# stdlib
import builtins as __builtin__
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: print override probably better in a standalone function if we can to avoid doing too much in exec_code

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed! by : a0c91fb

Copy link
Contributor

@BrendanSchell BrendanSchell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work on this!

@IonesioJunior IonesioJunior merged commit 03d3a0c into dev Aug 26, 2024
27 checks passed
@IonesioJunior IonesioJunior deleted the fix_api_logs branch August 26, 2024 10:56
@IonesioJunior IonesioJunior restored the fix_api_logs branch August 27, 2024 12:13
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 this pull request may close these issues.

3 participants