azure-functions-durable 1.2.9__tar.gz → 1.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- azure-functions-durable-1.3.0/.devcontainer/devcontainer.json +41 -0
- azure-functions-durable-1.3.0/.devcontainer/setup.sh +5 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/.flake8 +8 -8
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/.github/ISSUE_TEMPLATE/----feature-request.md +19 -19
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/.github/ISSUE_TEMPLATE/---bug-report.md +38 -38
- azure-functions-durable-1.3.0/.github/workflows/codeQL.yml +61 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/.github/workflows/durable_python_action.yml +31 -31
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/.github/workflows/submodule-sync.yml +39 -39
- azure-functions-durable-1.3.0/.github/workflows/validate.yml +60 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/.gitignore +137 -134
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/CHANGELOG.md +61 -61
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/CODEOWNERS +12 -12
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/CONTRIBUTING.md +189 -173
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/LICENSE +21 -21
- azure-functions-durable-1.3.0/PKG-INFO +54 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/README.md +30 -30
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/SECURITY.md +41 -41
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/__init__.py +3 -3
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/__init__.py +81 -81
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/constants.py +9 -9
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/decorators/__init__.py +3 -3
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/decorators/durable_app.py +260 -249
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/decorators/metadata.py +109 -109
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/entity.py +129 -125
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/DurableEntityContext.py +201 -201
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/DurableHttpRequest.py +58 -58
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/DurableOrchestrationBindings.py +66 -66
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/DurableOrchestrationClient.py +812 -781
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/DurableOrchestrationContext.py +761 -707
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/DurableOrchestrationStatus.py +156 -156
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/EntityStateResponse.py +23 -23
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/FunctionContext.py +7 -7
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/OrchestrationRuntimeStatus.py +32 -32
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/OrchestratorState.py +117 -116
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/PurgeHistoryResult.py +33 -33
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/ReplaySchema.py +9 -8
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/RetryOptions.py +69 -69
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/RpcManagementOptions.py +86 -86
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/Task.py +540 -426
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/TaskOrchestrationExecutor.py +352 -336
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/TokenSource.py +56 -56
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/__init__.py +26 -24
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/Action.py +23 -23
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/ActionType.py +18 -18
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/CallActivityAction.py +41 -41
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/CallActivityWithRetryAction.py +45 -45
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/CallEntityAction.py +46 -46
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/CallHttpAction.py +35 -35
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/CallSubOrchestratorAction.py +40 -40
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/CallSubOrchestratorWithRetryAction.py +44 -44
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/CompoundAction.py +35 -35
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/ContinueAsNewAction.py +36 -36
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/CreateTimerAction.py +48 -48
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/NoOpAction.py +35 -35
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/SignalEntityAction.py +47 -47
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/WaitForExternalEventAction.py +63 -63
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/WhenAllAction.py +14 -14
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/WhenAnyAction.py +14 -14
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/actions/__init__.py +24 -24
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/entities/EntityState.py +74 -74
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/entities/OperationResult.py +94 -76
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/entities/RequestMessage.py +53 -53
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/entities/ResponseMessage.py +48 -48
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/entities/Signal.py +62 -62
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/entities/__init__.py +17 -17
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/history/HistoryEvent.py +92 -92
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/history/HistoryEventType.py +27 -27
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/history/__init__.py +8 -8
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/utils/__init__.py +7 -7
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/utils/entity_utils.py +103 -91
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/utils/http_utils.py +80 -69
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/models/utils/json_utils.py +96 -56
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure/durable_functions/orchestrator.py +73 -71
- azure-functions-durable-1.3.0/azure/durable_functions/testing/OrchestratorGeneratorWrapper.py +42 -0
- azure-functions-durable-1.3.0/azure/durable_functions/testing/__init__.py +6 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure-pipelines-release.yml +28 -28
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure-pipelines.yml +69 -69
- azure-functions-durable-1.3.0/azure_functions_durable.egg-info/PKG-INFO +54 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure_functions_durable.egg-info/SOURCES.txt +26 -5
- azure-functions-durable-1.3.0/eng/ci/code-mirror.yml +20 -0
- azure-functions-durable-1.3.0/eng/ci/official-build.yml +49 -0
- azure-functions-durable-1.3.0/eng/templates/build.yml +42 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/host.json +7 -7
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/noxfile.py +25 -25
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/requirements.txt +15 -13
- {azure-functions-durable-1.2.9/samples/fan_in_fan_out → azure-functions-durable-1.3.0/samples/aml_monitoring}/.funcignore +5 -5
- {azure-functions-durable-1.2.9/samples/counter_entity → azure-functions-durable-1.3.0/samples/aml_monitoring}/.gitignore +132 -132
- {azure-functions-durable-1.2.9/samples/counter_entity/DurableOrchestration → azure-functions-durable-1.3.0/samples/aml_monitoring/aml_durable_orchestrator}/function.json +11 -11
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/aml_monitoring/aml_pipeline/function.json +11 -11
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/aml_monitoring/aml_poll_status/function.json +12 -12
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/aml_monitoring/extensions.csproj +11 -11
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/aml_monitoring/host.json +2 -2
- {azure-functions-durable-1.2.9/samples/serialize_arguments → azure-functions-durable-1.3.0/samples/aml_monitoring}/local.settings.json +7 -7
- {azure-functions-durable-1.2.9/samples-v2/function_chaining → azure-functions-durable-1.3.0/samples/aml_monitoring}/proxies.json +4 -4
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/aml_monitoring/requirements.txt +3 -3
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/aml_monitoring/shared/aml_helper.py +85 -85
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/aml_monitoring/shared/auth_helper.py +34 -34
- {azure-functions-durable-1.2.9/samples/aml_monitoring → azure-functions-durable-1.3.0/samples/counter_entity}/.gitignore +132 -132
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/counter_entity/Counter/__init__.py +34 -34
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/counter_entity/Counter/function.json +10 -10
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/counter_entity/DurableOrchestration/__init__.py +34 -34
- {azure-functions-durable-1.2.9/samples/function_chaining_custom_status → azure-functions-durable-1.3.0/samples/counter_entity}/DurableOrchestration/function.json +11 -11
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/counter_entity/DurableTrigger/__init__.py +30 -30
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/counter_entity/DurableTrigger/function.json +26 -26
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/counter_entity/README.md +45 -45
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/counter_entity/RetrieveEntity/__init__.py +25 -25
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/counter_entity/RetrieveEntity/function.json +24 -24
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/counter_entity/host.json +14 -14
- {azure-functions-durable-1.2.9/samples/function_chaining_custom_status → azure-functions-durable-1.3.0/samples/counter_entity}/local.settings.json +7 -7
- azure-functions-durable-1.3.0/samples/counter_entity/requirements.txt +2 -0
- {azure-functions-durable-1.2.9/samples/aml_monitoring → azure-functions-durable-1.3.0/samples/fan_in_fan_out}/.funcignore +5 -5
- {azure-functions-durable-1.2.9/samples-v2/function_chaining → azure-functions-durable-1.3.0/samples/fan_in_fan_out}/.gitignore +129 -129
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/fan_in_fan_out/E2_BackupSiteContent/__init__.py +20 -20
- {azure-functions-durable-1.2.9/samples/human_interaction/E4_SMSPhoneVerification → azure-functions-durable-1.3.0/samples/fan_in_fan_out/E2_BackupSiteContent}/function.json +10 -10
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/fan_in_fan_out/E2_CopyFileToBlob/__init__.py +33 -33
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/fan_in_fan_out/E2_CopyFileToBlob/function.json +10 -10
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/fan_in_fan_out/E2_GetFileList/__init__.py +18 -18
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/fan_in_fan_out/E2_GetFileList/function.json +10 -10
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/fan_in_fan_out/HttpStart/__init__.py +13 -13
- {azure-functions-durable-1.2.9/samples/human_interaction → azure-functions-durable-1.3.0/samples/fan_in_fan_out}/HttpStart/function.json +26 -26
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/fan_in_fan_out/README.md +2 -2
- {azure-functions-durable-1.2.9/samples/human_interaction → azure-functions-durable-1.3.0/samples/fan_in_fan_out}/host.json +15 -15
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/fan_in_fan_out/local.settings.json +6 -6
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/fan_in_fan_out/proxies.json +4 -4
- {azure-functions-durable-1.2.9/samples-v2 → azure-functions-durable-1.3.0/samples}/fan_in_fan_out/requirements.txt +6 -6
- azure-functions-durable-1.3.0/samples/function_chaining/.funcignore +5 -0
- azure-functions-durable-1.3.0/samples/function_chaining/.gitignore +130 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining/E1_HelloSequence/__init__.py +10 -10
- {azure-functions-durable-1.2.9/samples/fan_in_fan_out/E2_BackupSiteContent → azure-functions-durable-1.3.0/samples/function_chaining/E1_HelloSequence}/function.json +10 -10
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining/E1_SayHello/__init__.py +2 -2
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining/E1_SayHello/function.json +10 -10
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining/HttpStart/__init__.py +12 -12
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining/HttpStart/function.json +26 -26
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining/README.md +2 -2
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining/host.json +15 -15
- {azure-functions-durable-1.2.9/samples/simple_sub_orchestration → azure-functions-durable-1.3.0/samples/function_chaining}/local.settings.json +6 -6
- azure-functions-durable-1.3.0/samples/function_chaining/proxies.json +4 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining/requirements.txt +6 -6
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining_custom_status/.funcignore +5 -5
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining_custom_status/.gitignore +132 -132
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining_custom_status/DurableActivity/__init__.py +20 -20
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining_custom_status/DurableActivity/function.json +10 -10
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining_custom_status/DurableOrchestration/__init__.py +39 -39
- {azure-functions-durable-1.2.9/samples/serialize_arguments → azure-functions-durable-1.3.0/samples/function_chaining_custom_status}/DurableOrchestration/function.json +11 -11
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining_custom_status/DurableTrigger/__init__.py +30 -30
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining_custom_status/DurableTrigger/function.json +27 -27
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining_custom_status/README.md +36 -36
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/function_chaining_custom_status/host.json +14 -14
- {azure-functions-durable-1.2.9/samples/counter_entity → azure-functions-durable-1.3.0/samples/function_chaining_custom_status}/local.settings.json +7 -7
- azure-functions-durable-1.3.0/samples/function_chaining_custom_status/proxies.json +4 -0
- azure-functions-durable-1.3.0/samples/function_chaining_custom_status/requirements.txt +2 -0
- azure-functions-durable-1.3.0/samples/human_interaction/.funcignore +5 -0
- azure-functions-durable-1.3.0/samples/human_interaction/.gitignore +130 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/human_interaction/E4_SMSPhoneVerification/__init__.py +43 -43
- {azure-functions-durable-1.2.9/samples/function_chaining/E1_HelloSequence → azure-functions-durable-1.3.0/samples/human_interaction/E4_SMSPhoneVerification}/function.json +10 -10
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/human_interaction/HttpStart/__init__.py +20 -20
- {azure-functions-durable-1.2.9/samples/fan_in_fan_out → azure-functions-durable-1.3.0/samples/human_interaction}/HttpStart/function.json +26 -26
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/human_interaction/README.md +2 -2
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/human_interaction/SendSMSChallenge/__init__.py +15 -15
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/human_interaction/SendSMSChallenge/function.json +16 -16
- {azure-functions-durable-1.2.9/samples/monitor → azure-functions-durable-1.3.0/samples/human_interaction}/host.json +15 -15
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/human_interaction/local.settings.json +9 -9
- azure-functions-durable-1.3.0/samples/human_interaction/proxies.json +4 -0
- {azure-functions-durable-1.2.9/samples/monitor → azure-functions-durable-1.3.0/samples/human_interaction}/requirements.txt +5 -5
- azure-functions-durable-1.3.0/samples/monitor/.funcignore +5 -0
- azure-functions-durable-1.3.0/samples/monitor/.gitignore +130 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/monitor/E3_Monitor/__init__.py +33 -33
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/monitor/E3_Monitor/function.json +10 -10
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/monitor/E3_SendAlert/__init__.py +13 -13
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/monitor/E3_SendAlert/function.json +16 -16
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/monitor/E3_TooManyOpenIssues/__init__.py +16 -16
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/monitor/E3_TooManyOpenIssues/function.json +10 -10
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/monitor/HttpStart/__init__.py +14 -14
- {azure-functions-durable-1.2.9/samples/simple_sub_orchestration/DurableFunctionsHttpStart → azure-functions-durable-1.3.0/samples/monitor/HttpStart}/function.json +26 -26
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/monitor/README.md +2 -2
- {azure-functions-durable-1.2.9/samples/fan_in_fan_out → azure-functions-durable-1.3.0/samples/monitor}/host.json +15 -15
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/monitor/local.settings.json +9 -9
- azure-functions-durable-1.3.0/samples/monitor/proxies.json +4 -0
- {azure-functions-durable-1.2.9/samples/human_interaction → azure-functions-durable-1.3.0/samples/monitor}/requirements.txt +5 -5
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/serialize_arguments/.gitignore +132 -132
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/serialize_arguments/DurableActivity/__init__.py +18 -18
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/serialize_arguments/DurableActivity/function.json +11 -11
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/serialize_arguments/DurableOrchestration/__init__.py +28 -28
- {azure-functions-durable-1.2.9/samples/aml_monitoring/aml_durable_orchestrator → azure-functions-durable-1.3.0/samples/serialize_arguments/DurableOrchestration}/function.json +11 -11
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/serialize_arguments/DurableTrigger/__init__.py +31 -31
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/serialize_arguments/DurableTrigger/function.json +26 -26
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/serialize_arguments/README.md +40 -40
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/serialize_arguments/host.json +6 -6
- {azure-functions-durable-1.2.9/samples/aml_monitoring → azure-functions-durable-1.3.0/samples/serialize_arguments}/local.settings.json +7 -7
- azure-functions-durable-1.3.0/samples/serialize_arguments/requirements.txt +2 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/serialize_arguments/shared_code/MyClasses.py +63 -63
- azure-functions-durable-1.3.0/samples/simple_sub_orchestration/.funcignore +5 -0
- azure-functions-durable-1.3.0/samples/simple_sub_orchestration/.gitignore +130 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/simple_sub_orchestration/DurableFunctionsHttpStart/__init__.py +19 -19
- {azure-functions-durable-1.2.9/samples/monitor/HttpStart → azure-functions-durable-1.3.0/samples/simple_sub_orchestration/DurableFunctionsHttpStart}/function.json +26 -26
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/simple_sub_orchestration/DurableOrchestrator/__init__.py +19 -19
- azure-functions-durable-1.3.0/samples/simple_sub_orchestration/DurableOrchestrator/function.json +10 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/simple_sub_orchestration/DurableSubOrchestrator/__init__.py +20 -20
- azure-functions-durable-1.3.0/samples/simple_sub_orchestration/DurableSubOrchestrator/function.json +10 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/simple_sub_orchestration/Hello/__init__.py +13 -13
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/simple_sub_orchestration/Hello/function.json +10 -10
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/simple_sub_orchestration/README.md +34 -34
- azure-functions-durable-1.3.0/samples/simple_sub_orchestration/host.json +15 -0
- {azure-functions-durable-1.2.9/samples/function_chaining → azure-functions-durable-1.3.0/samples/simple_sub_orchestration}/local.settings.json +6 -6
- azure-functions-durable-1.3.0/samples/simple_sub_orchestration/proxies.json +4 -0
- azure-functions-durable-1.3.0/samples/simple_sub_orchestration/requirements.txt +2 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/blueprint/.funcignore +7 -7
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/blueprint/.gitignore +134 -134
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/blueprint/durable_blueprints.py +30 -30
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/blueprint/function_app.py +29 -29
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/blueprint/host.json +14 -14
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/blueprint/requirements.txt +7 -6
- azure-functions-durable-1.3.0/samples-v2/blueprint/tests/readme.md +72 -0
- azure-functions-durable-1.3.0/samples-v2/blueprint/tests/test_my_orchestrator.py +35 -0
- azure-functions-durable-1.3.0/samples-v2/blueprint/tests/test_say_hello.py +4 -0
- azure-functions-durable-1.3.0/samples-v2/blueprint/tests/test_start_orchestrator.py +26 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/fan_in_fan_out/.funcignore +4 -4
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/fan_in_fan_out/.gitignore +129 -129
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/fan_in_fan_out/README.md +2 -2
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/fan_in_fan_out/function_app.py +86 -86
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/fan_in_fan_out/host.json +14 -14
- {azure-functions-durable-1.2.9/samples/aml_monitoring → azure-functions-durable-1.3.0/samples-v2/fan_in_fan_out}/proxies.json +4 -4
- {azure-functions-durable-1.2.9/samples → azure-functions-durable-1.3.0/samples-v2}/fan_in_fan_out/requirements.txt +8 -7
- azure-functions-durable-1.3.0/samples-v2/fan_in_fan_out/tests/readme.md +72 -0
- azure-functions-durable-1.3.0/samples-v2/fan_in_fan_out/tests/test_E2_BackupSiteContent.py +52 -0
- azure-functions-durable-1.3.0/samples-v2/fan_in_fan_out/tests/test_E2_CopyFileToBlob.py +4 -0
- azure-functions-durable-1.3.0/samples-v2/fan_in_fan_out/tests/test_E2_GetFileList.py +4 -0
- azure-functions-durable-1.3.0/samples-v2/fan_in_fan_out/tests/test_HttpStart.py +27 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/function_chaining/.funcignore +4 -4
- {azure-functions-durable-1.2.9/samples/fan_in_fan_out → azure-functions-durable-1.3.0/samples-v2/function_chaining}/.gitignore +129 -129
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/function_chaining/README.md +2 -2
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/function_chaining/function_app.py +24 -24
- azure-functions-durable-1.3.0/samples-v2/function_chaining/host.json +15 -0
- {azure-functions-durable-1.2.9/samples-v2/fan_in_fan_out → azure-functions-durable-1.3.0/samples-v2/function_chaining}/proxies.json +4 -4
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples-v2/function_chaining/requirements.txt +7 -6
- azure-functions-durable-1.3.0/samples-v2/function_chaining/tests/readme.md +72 -0
- azure-functions-durable-1.3.0/samples-v2/function_chaining/tests/test_http_start.py +27 -0
- azure-functions-durable-1.3.0/samples-v2/function_chaining/tests/test_my_orchestrator.py +37 -0
- azure-functions-durable-1.3.0/samples-v2/function_chaining/tests/test_say_hello.py +4 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/scripts/sample_deploy.sh +41 -41
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/setup.cfg +4 -4
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/setup.py +84 -84
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/__init__.py +21 -21
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/conftest.py +78 -78
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/models/test_DecoratorMetadata.py +135 -135
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/models/test_Decorators.py +107 -107
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/models/test_DurableOrchestrationBindings.py +68 -68
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/models/test_DurableOrchestrationClient.py +730 -730
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/models/test_DurableOrchestrationContext.py +102 -102
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/models/test_DurableOrchestrationStatus.py +59 -59
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/models/test_OrchestrationState.py +28 -28
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/models/test_RpcManagementOptions.py +79 -79
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/models/test_TokenSource.py +10 -10
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/models/OrchestrationInstance.py +18 -18
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/orchestrator_test_utils.py +130 -130
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/schemas/OrchetrationStateSchema.py +66 -66
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_call_http.py +235 -176
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_continue_as_new.py +67 -67
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_create_timer.py +126 -126
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_entity.py +397 -395
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_external_event.py +53 -53
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_fan_out_fan_in.py +175 -175
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_is_replaying_flag.py +101 -101
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_retries.py +308 -308
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_sequential_orchestrator.py +841 -841
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_sequential_orchestrator_custom_status.py +119 -119
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_sequential_orchestrator_with_retry.py +465 -465
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_serialization.py +30 -30
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_sub_orchestrator.py +95 -95
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_sub_orchestrator_with_retry.py +129 -129
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/test_task_any.py +60 -60
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/tasks/tasks_test_utils.py +17 -17
- azure-functions-durable-1.3.0/tests/tasks/test_long_timers.py +70 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/tasks/test_new_uuid.py +34 -34
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/test_constants.py +13 -13
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/test_utils/ContextBuilder.py +174 -174
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/test_utils/EntityContextBuilder.py +56 -56
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/test_utils/constants.py +1 -1
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/test_utils/json_utils.py +30 -30
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/test_utils/testClasses.py +56 -56
- azure-functions-durable-1.3.0/tests/utils/__init__.py +1 -0
- azure-functions-durable-1.3.0/tests/utils/test_entity_utils.py +24 -0
- azure-functions-durable-1.2.9/PKG-INFO +0 -51
- azure-functions-durable-1.2.9/_manifest/spdx_2.2/bsi.json +0 -1
- azure-functions-durable-1.2.9/_manifest/spdx_2.2/manifest.cat +0 -0
- azure-functions-durable-1.2.9/_manifest/spdx_2.2/manifest.spdx.json +0 -11985
- azure-functions-durable-1.2.9/_manifest/spdx_2.2/manifest.spdx.json.sha256 +0 -1
- azure-functions-durable-1.2.9/azure_functions_durable.egg-info/PKG-INFO +0 -51
- azure-functions-durable-1.2.9/samples/counter_entity/requirements.txt +0 -2
- azure-functions-durable-1.2.9/samples/function_chaining/.funcignore +0 -5
- azure-functions-durable-1.2.9/samples/function_chaining/.gitignore +0 -130
- azure-functions-durable-1.2.9/samples/function_chaining/proxies.json +0 -4
- azure-functions-durable-1.2.9/samples/function_chaining_custom_status/proxies.json +0 -4
- azure-functions-durable-1.2.9/samples/function_chaining_custom_status/requirements.txt +0 -2
- azure-functions-durable-1.2.9/samples/human_interaction/.funcignore +0 -5
- azure-functions-durable-1.2.9/samples/human_interaction/.gitignore +0 -130
- azure-functions-durable-1.2.9/samples/human_interaction/proxies.json +0 -4
- azure-functions-durable-1.2.9/samples/monitor/.funcignore +0 -5
- azure-functions-durable-1.2.9/samples/monitor/.gitignore +0 -130
- azure-functions-durable-1.2.9/samples/monitor/proxies.json +0 -4
- azure-functions-durable-1.2.9/samples/serialize_arguments/requirements.txt +0 -2
- azure-functions-durable-1.2.9/samples/simple_sub_orchestration/.funcignore +0 -5
- azure-functions-durable-1.2.9/samples/simple_sub_orchestration/.gitignore +0 -130
- azure-functions-durable-1.2.9/samples/simple_sub_orchestration/DurableOrchestrator/function.json +0 -10
- azure-functions-durable-1.2.9/samples/simple_sub_orchestration/DurableSubOrchestrator/function.json +0 -10
- azure-functions-durable-1.2.9/samples/simple_sub_orchestration/host.json +0 -15
- azure-functions-durable-1.2.9/samples/simple_sub_orchestration/proxies.json +0 -4
- azure-functions-durable-1.2.9/samples/simple_sub_orchestration/requirements.txt +0 -2
- azure-functions-durable-1.2.9/samples-v2/function_chaining/host.json +0 -25
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/.github/policies/resourceManagement.yml +0 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/MANIFEST.in +0 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure_functions_durable.egg-info/dependency_links.txt +0 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure_functions_durable.egg-info/requires.txt +0 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/azure_functions_durable.egg-info/top_level.txt +0 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/aml_monitoring/aml_durable_orchestrator/__init__.py +0 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/aml_monitoring/aml_pipeline/__init__.py +0 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/aml_monitoring/aml_poll_status/__init__.py +0 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/aml_monitoring/shared/__init__.py +0 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/samples/counter_entity/.funcignore +0 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/models/__init__.py +0 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/orchestrator/__init__.py +0 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/tasks/__init__.py +0 -0
- {azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/tests/test_utils/__init__.py +0 -0
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
2
|
+
// README at: https://github.com/devcontainers/templates/tree/main/src/alpine
|
|
3
|
+
{
|
|
4
|
+
"name": "Python, .NET, Azure Functions, and Node.js",
|
|
5
|
+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
|
|
6
|
+
"image": "mcr.microsoft.com/vscode/devcontainers/python:3.8",
|
|
7
|
+
|
|
8
|
+
// Features to add to the dev container. More info: https://containers.dev/features.
|
|
9
|
+
"features": {
|
|
10
|
+
"ghcr.io/devcontainers/features/dotnet:2": {
|
|
11
|
+
"version": "8.0"
|
|
12
|
+
},
|
|
13
|
+
"ghcr.io/jlaundry/devcontainer-features/azure-functions-core-tools:1": {
|
|
14
|
+
"version": "4"
|
|
15
|
+
},
|
|
16
|
+
"ghcr.io/devcontainers/features/node:1": {
|
|
17
|
+
"version": "lts"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
22
|
+
// "forwardPorts": [],
|
|
23
|
+
|
|
24
|
+
// Use 'postCreateCommand' to run commands after the container is created.
|
|
25
|
+
"postCreateCommand": "./.devcontainer/setup.sh",
|
|
26
|
+
|
|
27
|
+
// Configure tool-specific properties.
|
|
28
|
+
"customizations": {
|
|
29
|
+
"vscode": {
|
|
30
|
+
"extensions": [
|
|
31
|
+
"GitHub.copilot",
|
|
32
|
+
"ms-python.python",
|
|
33
|
+
"ms-azuretools.vscode-azurestorage",
|
|
34
|
+
"njpwerner.autodocstring"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
|
|
40
|
+
// "remoteUser": "root"
|
|
41
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
[flake8]
|
|
2
|
-
# delete D100 for docstring checks, promotes redundant documentation of what's in class docstring
|
|
3
|
-
# W503 contradicts with pep8 and will soon be fixed by flake8
|
|
4
|
-
ignore = W503, D100
|
|
5
|
-
max-line-length = 99
|
|
6
|
-
docstring-convention = numpy
|
|
7
|
-
exclude =
|
|
8
|
-
__pycache__,
|
|
1
|
+
[flake8]
|
|
2
|
+
# delete D100 for docstring checks, promotes redundant documentation of what's in class docstring
|
|
3
|
+
# W503 contradicts with pep8 and will soon be fixed by flake8
|
|
4
|
+
ignore = W503, D100
|
|
5
|
+
max-line-length = 99
|
|
6
|
+
docstring-convention = numpy
|
|
7
|
+
exclude =
|
|
8
|
+
__pycache__,
|
|
9
9
|
azure/durable_functions/grpc/protobuf/
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: "\U0001F4A1 Feature request"
|
|
3
|
-
about: Suggest an idea for this project!
|
|
4
|
-
title: ''
|
|
5
|
-
labels: ''
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
💡 **Feature description**
|
|
11
|
-
> What would you like to see, and why?
|
|
12
|
-
> What kinds of usage do you expect to see in this feature?
|
|
13
|
-
|
|
14
|
-
💭 **Describe alternatives you've considered**
|
|
15
|
-
> What are other ways to achieve this? Have you thought of alternative designs or solutions?
|
|
16
|
-
> Any existing workarounds? Why are they not sufficient? We'd like to know!
|
|
17
|
-
|
|
18
|
-
**Additional context**
|
|
19
|
-
> Add any other context or screenshots about the feature request here.
|
|
1
|
+
---
|
|
2
|
+
name: "\U0001F4A1 Feature request"
|
|
3
|
+
about: Suggest an idea for this project!
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
💡 **Feature description**
|
|
11
|
+
> What would you like to see, and why?
|
|
12
|
+
> What kinds of usage do you expect to see in this feature?
|
|
13
|
+
|
|
14
|
+
💭 **Describe alternatives you've considered**
|
|
15
|
+
> What are other ways to achieve this? Have you thought of alternative designs or solutions?
|
|
16
|
+
> Any existing workarounds? Why are they not sufficient? We'd like to know!
|
|
17
|
+
|
|
18
|
+
**Additional context**
|
|
19
|
+
> Add any other context or screenshots about the feature request here.
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: "\U0001F41B Bug report"
|
|
3
|
-
about: Did something not work out as expected? Let us know!
|
|
4
|
-
title: ''
|
|
5
|
-
labels: ''
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
<!--
|
|
11
|
-
Please read.
|
|
12
|
-
|
|
13
|
-
Before posting, please be sure to review whether your issue matches the description of a known regression by using [this](https://github.com/Azure/azure-functions-durable-python/issues?q=is%3Aissue+is%3Aopen+label%3Aknown-regression) query.
|
|
14
|
-
|
|
15
|
-
If your issue corresponds to a known regression, please try the suggested workarounds listed in the issue before filing an issue. Thanks!
|
|
16
|
-
-->
|
|
17
|
-
🐛 **Describe the bug**
|
|
18
|
-
> A clear and concise description of what the bug is.
|
|
19
|
-
|
|
20
|
-
🤔 **Expected behavior**
|
|
21
|
-
> What should have happened?
|
|
22
|
-
|
|
23
|
-
☕ **Steps to reproduce**
|
|
24
|
-
> What Durable Functions patterns are you using, if any?
|
|
25
|
-
> Any minimal reproducer we can use?
|
|
26
|
-
> Are you running this locally or on Azure?
|
|
27
|
-
|
|
28
|
-
⚡**If deployed to Azure**
|
|
29
|
-
> We have access to a lot of telemetry that can help with investigations. Please provide as much of the following information as you can to help us investigate!
|
|
30
|
-
|
|
31
|
-
- **Timeframe issue observed**:
|
|
32
|
-
- **Function App name**:
|
|
33
|
-
- **Function name(s)**:
|
|
34
|
-
- **Azure region**:
|
|
35
|
-
- **Orchestration instance ID(s)**:
|
|
36
|
-
- **Azure storage account name**:
|
|
37
|
-
|
|
38
|
-
> If you don't want to share your Function App or storage account name GitHub, please at least share the orchestration instance ID. Otherwise it's extremely difficult to look up information.
|
|
1
|
+
---
|
|
2
|
+
name: "\U0001F41B Bug report"
|
|
3
|
+
about: Did something not work out as expected? Let us know!
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<!--
|
|
11
|
+
Please read.
|
|
12
|
+
|
|
13
|
+
Before posting, please be sure to review whether your issue matches the description of a known regression by using [this](https://github.com/Azure/azure-functions-durable-python/issues?q=is%3Aissue+is%3Aopen+label%3Aknown-regression) query.
|
|
14
|
+
|
|
15
|
+
If your issue corresponds to a known regression, please try the suggested workarounds listed in the issue before filing an issue. Thanks!
|
|
16
|
+
-->
|
|
17
|
+
🐛 **Describe the bug**
|
|
18
|
+
> A clear and concise description of what the bug is.
|
|
19
|
+
|
|
20
|
+
🤔 **Expected behavior**
|
|
21
|
+
> What should have happened?
|
|
22
|
+
|
|
23
|
+
☕ **Steps to reproduce**
|
|
24
|
+
> What Durable Functions patterns are you using, if any?
|
|
25
|
+
> Any minimal reproducer we can use?
|
|
26
|
+
> Are you running this locally or on Azure?
|
|
27
|
+
|
|
28
|
+
⚡**If deployed to Azure**
|
|
29
|
+
> We have access to a lot of telemetry that can help with investigations. Please provide as much of the following information as you can to help us investigate!
|
|
30
|
+
|
|
31
|
+
- **Timeframe issue observed**:
|
|
32
|
+
- **Function App name**:
|
|
33
|
+
- **Function name(s)**:
|
|
34
|
+
- **Azure region**:
|
|
35
|
+
- **Orchestration instance ID(s)**:
|
|
36
|
+
- **Azure storage account name**:
|
|
37
|
+
|
|
38
|
+
> If you don't want to share your Function App or storage account name GitHub, please at least share the orchestration instance ID. Otherwise it's extremely difficult to look up information.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# This workflow generates weekly CodeQL reports for this repo, a security requirements.
|
|
2
|
+
# The workflow is adapted from the following reference: https://github.com/Azure-Samples/azure-functions-python-stream-openai/pull/2/files
|
|
3
|
+
# Generic comments on how to modify these file are left intactfor future maintenance.
|
|
4
|
+
|
|
5
|
+
name: "CodeQL"
|
|
6
|
+
|
|
7
|
+
on:
|
|
8
|
+
push:
|
|
9
|
+
branches: [ "main" ]
|
|
10
|
+
pull_request:
|
|
11
|
+
branches: [ "main" ]
|
|
12
|
+
schedule:
|
|
13
|
+
- cron: '0 0 * * 1' # Weekly Monday run, needed for weekly reports
|
|
14
|
+
workflow_call: # allows to be invoked as part of a larger workflow
|
|
15
|
+
workflow_dispatch: # allows for the workflow to run manually see: https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
|
|
19
|
+
analyze:
|
|
20
|
+
name: Analyze
|
|
21
|
+
runs-on: windows-latest
|
|
22
|
+
permissions:
|
|
23
|
+
actions: read
|
|
24
|
+
contents: read
|
|
25
|
+
security-events: write
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
strategy:
|
|
29
|
+
fail-fast: false
|
|
30
|
+
matrix:
|
|
31
|
+
language: ['python']
|
|
32
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
|
33
|
+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
|
34
|
+
|
|
35
|
+
steps:
|
|
36
|
+
# Initializes the CodeQL tools for scanning.
|
|
37
|
+
- name: Initialize CodeQL
|
|
38
|
+
uses: github/codeql-action/init@v3
|
|
39
|
+
with:
|
|
40
|
+
languages: ${{ matrix.language }}
|
|
41
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
42
|
+
# By default, queries listed here will override any specified in a config file.
|
|
43
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
|
44
|
+
|
|
45
|
+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
|
46
|
+
# queries: security-extended,security-and-quality
|
|
47
|
+
|
|
48
|
+
- uses: actions/checkout@v3
|
|
49
|
+
with:
|
|
50
|
+
submodules: true
|
|
51
|
+
|
|
52
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
|
|
53
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
|
54
|
+
- name: Autobuild
|
|
55
|
+
uses: github/codeql-action/autobuild@v2
|
|
56
|
+
|
|
57
|
+
# Run CodeQL analysis
|
|
58
|
+
- name: Perform CodeQL Analysis
|
|
59
|
+
uses: github/codeql-action/analyze@v3
|
|
60
|
+
with:
|
|
61
|
+
category: "/language:${{matrix.language}}"
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
name: Azure Durable Functions Python CI Build
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
branches:
|
|
6
|
-
- master
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
build:
|
|
10
|
-
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
|
|
13
|
-
steps:
|
|
14
|
-
- uses: actions/checkout@v1
|
|
15
|
-
- name: Set up Python 3.6.x
|
|
16
|
-
uses: actions/setup-python@v1
|
|
17
|
-
with:
|
|
18
|
-
python-version: 3.6.x
|
|
19
|
-
- name: Install dependencies
|
|
20
|
-
run: |
|
|
21
|
-
python -m pip install --upgrade pip
|
|
22
|
-
pip install -r requirements.txt
|
|
23
|
-
- name: Lint with flake8
|
|
24
|
-
run: |
|
|
25
|
-
# stop the build if there are Python syntax errors or undefined names
|
|
26
|
-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
|
27
|
-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
|
28
|
-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
|
29
|
-
- name: Test with pytest
|
|
30
|
-
run: |
|
|
31
|
-
pytest
|
|
1
|
+
name: Azure Durable Functions Python CI Build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v1
|
|
15
|
+
- name: Set up Python 3.6.x
|
|
16
|
+
uses: actions/setup-python@v1
|
|
17
|
+
with:
|
|
18
|
+
python-version: 3.6.x
|
|
19
|
+
- name: Install dependencies
|
|
20
|
+
run: |
|
|
21
|
+
python -m pip install --upgrade pip
|
|
22
|
+
pip install -r requirements.txt
|
|
23
|
+
- name: Lint with flake8
|
|
24
|
+
run: |
|
|
25
|
+
# stop the build if there are Python syntax errors or undefined names
|
|
26
|
+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
|
27
|
+
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
|
28
|
+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
|
|
29
|
+
- name: Test with pytest
|
|
30
|
+
run: |
|
|
31
|
+
pytest
|
{azure-functions-durable-1.2.9 → azure-functions-durable-1.3.0}/.github/workflows/submodule-sync.yml
RENAMED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
name: Sync submodule pipeline
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches: [ submodule ]
|
|
6
|
-
jobs:
|
|
7
|
-
build:
|
|
8
|
-
runs-on: ubuntu-latest
|
|
9
|
-
steps:
|
|
10
|
-
- uses: actions/checkout@v3
|
|
11
|
-
with:
|
|
12
|
-
repository: azure-functions-python-library
|
|
13
|
-
submodules: true
|
|
14
|
-
- id: Go to submodule
|
|
15
|
-
run: |
|
|
16
|
-
cd azure/functions/durable
|
|
17
|
-
git submodule update --remote --merge
|
|
18
|
-
git add .
|
|
19
|
-
- name: Create Pull Request
|
|
20
|
-
id: createPullRequest
|
|
21
|
-
uses: peter-evans/create-pull-request@v4
|
|
22
|
-
with:
|
|
23
|
-
commit-message: Update durable submodule
|
|
24
|
-
committer: GitHub <noreply@github.com>
|
|
25
|
-
branch: submodule-sync
|
|
26
|
-
delete-branch: true
|
|
27
|
-
title: 'Update durable submodule'
|
|
28
|
-
body: |
|
|
29
|
-
Updated submodule
|
|
30
|
-
|
|
31
|
-
[1]: https://github.com/peter-evans/create-pull-request
|
|
32
|
-
labels: |
|
|
33
|
-
required submodule update
|
|
34
|
-
automated pr
|
|
35
|
-
reviewers: vameru
|
|
36
|
-
- name: Check outputs
|
|
37
|
-
run: |
|
|
38
|
-
echo "Pull Request Number - ${{ steps.createPullRequest.outputs.pull-request-number }}"
|
|
39
|
-
echo "Pull Request URL - ${{ steps.createPullRequest.outputs.pull-request-url }}"
|
|
1
|
+
name: Sync submodule pipeline
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [ submodule ]
|
|
6
|
+
jobs:
|
|
7
|
+
build:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/checkout@v3
|
|
11
|
+
with:
|
|
12
|
+
repository: azure-functions-python-library
|
|
13
|
+
submodules: true
|
|
14
|
+
- id: Go to submodule
|
|
15
|
+
run: |
|
|
16
|
+
cd azure/functions/durable
|
|
17
|
+
git submodule update --remote --merge
|
|
18
|
+
git add .
|
|
19
|
+
- name: Create Pull Request
|
|
20
|
+
id: createPullRequest
|
|
21
|
+
uses: peter-evans/create-pull-request@v4
|
|
22
|
+
with:
|
|
23
|
+
commit-message: Update durable submodule
|
|
24
|
+
committer: GitHub <noreply@github.com>
|
|
25
|
+
branch: submodule-sync
|
|
26
|
+
delete-branch: true
|
|
27
|
+
title: 'Update durable submodule'
|
|
28
|
+
body: |
|
|
29
|
+
Updated submodule
|
|
30
|
+
|
|
31
|
+
[1]: https://github.com/peter-evans/create-pull-request
|
|
32
|
+
labels: |
|
|
33
|
+
required submodule update
|
|
34
|
+
automated pr
|
|
35
|
+
reviewers: vameru
|
|
36
|
+
- name: Check outputs
|
|
37
|
+
run: |
|
|
38
|
+
echo "Pull Request Number - ${{ steps.createPullRequest.outputs.pull-request-number }}"
|
|
39
|
+
echo "Pull Request URL - ${{ steps.createPullRequest.outputs.pull-request-url }}"
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
name: Validate
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
- dev
|
|
8
|
+
pull_request:
|
|
9
|
+
branches:
|
|
10
|
+
- main
|
|
11
|
+
- dev
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
validate:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- name: Checkout repository
|
|
18
|
+
uses: actions/checkout@v2
|
|
19
|
+
|
|
20
|
+
- name: Set up Python
|
|
21
|
+
uses: actions/setup-python@v2
|
|
22
|
+
with:
|
|
23
|
+
python-version: 3.9
|
|
24
|
+
- name: Install dependencies
|
|
25
|
+
run: |
|
|
26
|
+
python -m pip install --upgrade pip
|
|
27
|
+
pip install -r requirements.txt
|
|
28
|
+
- name: Run Linter
|
|
29
|
+
run: |
|
|
30
|
+
cd azure
|
|
31
|
+
flake8 . --count --show-source --statistics
|
|
32
|
+
- name: Run tests
|
|
33
|
+
run: |
|
|
34
|
+
pytest --ignore=samples-v2
|
|
35
|
+
|
|
36
|
+
test-samples:
|
|
37
|
+
strategy:
|
|
38
|
+
matrix:
|
|
39
|
+
app_name: [blueprint, fan_in_fan_out, function_chaining]
|
|
40
|
+
runs-on: ubuntu-latest
|
|
41
|
+
defaults:
|
|
42
|
+
run:
|
|
43
|
+
working-directory: ./samples-v2/${{ matrix.app_name }}
|
|
44
|
+
steps:
|
|
45
|
+
- name: Checkout repository
|
|
46
|
+
uses: actions/checkout@v2
|
|
47
|
+
|
|
48
|
+
- name: Set up Python
|
|
49
|
+
uses: actions/setup-python@v2
|
|
50
|
+
with:
|
|
51
|
+
python-version: 3.9
|
|
52
|
+
- name: Install dependencies
|
|
53
|
+
run: |
|
|
54
|
+
python -m pip install --upgrade pip
|
|
55
|
+
pip install -r requirements.txt
|
|
56
|
+
pip install -r ../../requirements.txt
|
|
57
|
+
pip install ../.. --no-cache-dir --upgrade --no-deps --force-reinstall
|
|
58
|
+
- name: Run tests
|
|
59
|
+
run: |
|
|
60
|
+
python -m pytest
|