Skip to content

feat(testing): replace DURABLE_EXECUTION_TIME_SCALE with skip_time for Python - #242

Draft
ayushiahjolia wants to merge 1 commit into
mainfrom
feat/python-skip-time-docs
Draft

feat(testing): replace DURABLE_EXECUTION_TIME_SCALE with skip_time for Python#242
ayushiahjolia wants to merge 1 commit into
mainfrom
feat/python-skip-time-docs

Conversation

@ayushiahjolia

Copy link
Copy Markdown
Contributor

Issue #, if available: N/A

Description of changes:
Replace references to the DURABLE_EXECUTION_TIME_SCALE environment variable with the new skip_time parameter on DurableFunctionTestRunner in all Python testing docs and examples.

The Python SDK v2 (aws/aws-durable-execution-sdk-python#523) replaces the env var time-scaling approach with a proper virtual clock (SkipClock). The test runner now
accepts skip_time=True (the default), which aligns Python with TypeScript (skipTime) and C# (SkipTime).

Blocked on: Python SDK v2 publishing to PyPI. Do not merge until v2 is released.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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.

1 participant