Python: Move samples to durable directory #3559
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Reorganizes Python durable agent samples to match the .NET structure introduced in #3471. Consolidates Azure Functions and console app samples under a unified
durable/directory for better discoverability and maintainability.Description
Directory Structure Changes:
python/samples/getting_started/durabletask/→python/samples/durable/console_apps/python/samples/getting_started/azure_functions/→python/samples/durable/azure_functions/Documentation Updates:
python/samples/durable/README.mdwith overview of durable hosting patternspython/samples/README.mdto consolidate Azure Functions and Console Apps sections under unified Durable sectionIntegration Test Updates:
python/packages/durabletask/tests/integration_tests/conftest.pyto reference new sample pathspython/packages/durabletask/tests/integration_tests/test_03_dt_single_agent_streaming.pyto reference new sample pathspython/packages/azurefunctions/tests/integration_tests/testutils.pyto reference new sample pathsResult:
All imports, file paths, code references, and integration test paths verified functional. No breaking changes to sample functionality or test infrastructure.
Contribution Checklist
Original prompt
durabledirectory #3557✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.