-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Description
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, andinvariantdecorators support asynchronous functions.- Conditions are checked correctly for async functions.
- Unit tests are written to ensure the async support works as expected.