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: change ValueError into Warning to allow disconnected flows to run and other small fixes #3249

Merged
merged 4 commits into from
Aug 8, 2024

Conversation

ogabrielluiz
Copy link
Contributor

The assertion in the test_create_flows function was modified to check if the name field contains the substring "Flow 1" instead of an exact match. This change allows for more flexibility in the test and ensures that the test passes even if there are additional characters in the name field.

In addition, the Graph class now uses warnings instead of raising a ValueError when there are vertices without edges. This change improves logging and error handling in the class.

@ogabrielluiz ogabrielluiz requested a review from anovazzi1 August 8, 2024 20:02
@ogabrielluiz ogabrielluiz enabled auto-merge (squash) August 8, 2024 20:02
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Aug 8, 2024
…ist without edges for better logging and handling
…me field

The assertion in the test_create_flows function was modified to check if the name field contains the substring "Flow 1" instead of an exact match. This change allows for more flexibility in the test and ensures that the test passes even if there are additional characters in the name field.
Copy link
Contributor

github-actions bot commented Aug 8, 2024

Pull Request Validation Report

This comment is automatically generated by Conventional PR

Whitelist Report

Whitelist Active Result
Pull request is a draft and should be ignored
Pull request is made by a whitelisted user and should be ignored
Pull request is submitted by a bot and should be ignored
Pull request is submitted by administrators and should be ignored

Result

Pull request does not satisfy any enabled whitelist criteria. Pull request will be validated.

Validation Report

Validation Active Result
All commits in this pull request has valid messages
Pull request does not introduce too many changes
Pull request has a valid title
Pull request has mentioned issues
Pull request has valid branch name
Pull request should have a non-empty body

Result

Pull request satisfies all enabled pull request rules.

Last Modified at 08 Aug 24 20:03 UTC

@github-actions github-actions bot added the bug Something isn't working label Aug 8, 2024
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-3249.dmtpw4p5recq1.amplifyapp.com

Copy link
Contributor

@anovazzi1 anovazzi1 left a comment

Choose a reason for hiding this comment

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

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 8, 2024
@ogabrielluiz ogabrielluiz merged commit e42b6bd into main Aug 8, 2024
56 of 57 checks passed
@ogabrielluiz ogabrielluiz deleted the fix/disconectedrun branch August 8, 2024 20:21
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