Skip to content

Remove assert statements from code base #110

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

Merged
merged 2 commits into from
Dec 26, 2020

Conversation

boris-42
Copy link
Contributor

Asserts shall not be a part of production code, they are
stript if python is run with -o (optimization parameter)

Instead of assert use if and raise exceptions

Asserts shall not be a part of production code, they are
stript if python is run with -o (optimization parameter)

Instead of assert use if and raise exceptions
@gkorland gkorland requested a review from swilly22 December 26, 2020 19:17
@swilly22
Copy link
Contributor

Thank you!

@swilly22 swilly22 merged commit 3a1355c into RedisGraph:master Dec 26, 2020
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.

2 participants