You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extend pre_condition, post_condition, and invariant decorators to support asynchronous functions. This will make Pysertive suitable for modern Python applications using async/await.
Suggested Implementation
Update the decorators to handle async def functions. Ensure that the conditions are checked correctly in an asynchronous context.
Acceptance Criteria
pre_condition, post_condition, and invariant decorators support asynchronous functions.
Conditions are checked correctly for async functions.
Unit tests are written to ensure the async support works as expected.
The text was updated successfully, but these errors were encountered:
Description
Extend
pre_condition
,post_condition
, andinvariant
decorators to support asynchronous functions. This will make Pysertive suitable for modern Python applications using async/await.Suggested Implementation
Update the decorators to handle
async def
functions. Ensure that the conditions are checked correctly in an asynchronous context.Acceptance Criteria
pre_condition
,post_condition
, andinvariant
decorators support asynchronous functions.The text was updated successfully, but these errors were encountered: