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: add run_id parameter to set run ID in graph and handle exceptions in FlowTool #3855

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

ogabrielluiz
Copy link
Contributor

This pull request adds a run_id parameter to the set_run_id method in the Graph class and handles exceptions when setting the run_id in the FlowTool class. The run_id parameter allows for tracking runs in the graph, and the exception handling ensures that the code does not break if there is an error in setting the run_id.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Sep 19, 2024
@github-actions github-actions bot added the bug Something isn't working label Sep 19, 2024
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 19, 2024
The try-except block is added to handle any exceptions that may occur when setting the run_id in the FlowTool class. If an exception occurs, a warning is issued and the run_id is set to None. This ensures that the code does not break if there is an error in setting the run_id.
@ogabrielluiz ogabrielluiz merged commit 667713f into main Sep 19, 2024
28 checks passed
@ogabrielluiz ogabrielluiz deleted the feat/passrunid branch September 19, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants