Skip to content

Conversation

@hussein-awala
Copy link
Member

assert statement is removed when the compilation is optimized, from the doc:

Assert statements are a convenient way to insert debugging assertions into a program:
assert_stmt ::= "assert"

The simple form, assert expression, is equivalent to
if debug:
if not expression: raise AssertionError

@boring-cyborg boring-cyborg bot added the area:webserver Webserver related Issues label Sep 9, 2023
@hussein-awala hussein-awala merged commit 7b4fc39 into apache:main Sep 9, 2023
@ephraimbuddy ephraimbuddy added this to the Airflow 2.7.2 milestone Oct 3, 2023
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Oct 3, 2023
ephraimbuddy pushed a commit that referenced this pull request Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:webserver Webserver related Issues type:misc/internal Changelog: Misc changes that should appear in change log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants