azure-functions-durable 1.2.8__tar.gz → 1.2.10__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.
Files changed (304) hide show
  1. azure-functions-durable-1.2.10/.devcontainer/devcontainer.json +41 -0
  2. azure-functions-durable-1.2.10/.devcontainer/setup.sh +5 -0
  3. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/.flake8 +8 -8
  4. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/.github/ISSUE_TEMPLATE/----feature-request.md +19 -19
  5. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/.github/ISSUE_TEMPLATE/---bug-report.md +38 -38
  6. azure-functions-durable-1.2.10/.github/workflows/codeQL.yml +61 -0
  7. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/.github/workflows/durable_python_action.yml +31 -31
  8. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/.github/workflows/submodule-sync.yml +39 -39
  9. azure-functions-durable-1.2.10/.github/workflows/validate.yml +34 -0
  10. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/.gitignore +137 -134
  11. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/CHANGELOG.md +61 -61
  12. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/CODEOWNERS +12 -12
  13. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/CONTRIBUTING.md +175 -173
  14. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/LICENSE +21 -21
  15. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/PKG-INFO +51 -51
  16. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/README.md +30 -30
  17. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/SECURITY.md +41 -41
  18. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/__init__.py +3 -3
  19. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/__init__.py +81 -81
  20. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/constants.py +9 -9
  21. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/decorators/__init__.py +3 -3
  22. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/decorators/durable_app.py +249 -249
  23. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/decorators/metadata.py +109 -109
  24. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/entity.py +125 -125
  25. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/DurableEntityContext.py +201 -201
  26. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/DurableHttpRequest.py +58 -58
  27. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/DurableOrchestrationBindings.py +66 -66
  28. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/DurableOrchestrationClient.py +781 -711
  29. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/DurableOrchestrationContext.py +722 -707
  30. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/DurableOrchestrationStatus.py +156 -156
  31. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/EntityStateResponse.py +23 -23
  32. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/FunctionContext.py +7 -7
  33. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/OrchestrationRuntimeStatus.py +32 -29
  34. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/OrchestratorState.py +117 -116
  35. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/PurgeHistoryResult.py +33 -33
  36. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/ReplaySchema.py +8 -8
  37. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/RetryOptions.py +69 -69
  38. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/RpcManagementOptions.py +86 -86
  39. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/Task.py +426 -426
  40. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/TaskOrchestrationExecutor.py +346 -333
  41. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/TokenSource.py +56 -56
  42. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/__init__.py +24 -24
  43. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/Action.py +23 -23
  44. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/ActionType.py +18 -18
  45. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/CallActivityAction.py +41 -41
  46. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/CallActivityWithRetryAction.py +45 -45
  47. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/CallEntityAction.py +46 -46
  48. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/CallHttpAction.py +35 -35
  49. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/CallSubOrchestratorAction.py +40 -40
  50. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/CallSubOrchestratorWithRetryAction.py +44 -44
  51. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/CompoundAction.py +35 -35
  52. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/ContinueAsNewAction.py +36 -36
  53. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/CreateTimerAction.py +48 -48
  54. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/NoOpAction.py +35 -35
  55. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/SignalEntityAction.py +47 -47
  56. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/WaitForExternalEventAction.py +63 -63
  57. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/WhenAllAction.py +14 -14
  58. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/WhenAnyAction.py +14 -14
  59. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/actions/__init__.py +24 -24
  60. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/entities/EntityState.py +74 -74
  61. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/entities/OperationResult.py +76 -76
  62. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/entities/RequestMessage.py +53 -53
  63. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/entities/ResponseMessage.py +48 -48
  64. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/entities/Signal.py +62 -62
  65. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/entities/__init__.py +17 -17
  66. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/history/HistoryEvent.py +92 -92
  67. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/history/HistoryEventType.py +27 -25
  68. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/history/__init__.py +8 -8
  69. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/utils/__init__.py +7 -7
  70. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/utils/entity_utils.py +103 -91
  71. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/utils/http_utils.py +69 -69
  72. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/models/utils/json_utils.py +56 -56
  73. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure/durable_functions/orchestrator.py +71 -71
  74. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure-pipelines-release.yml +28 -28
  75. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure-pipelines.yml +69 -69
  76. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure_functions_durable.egg-info/PKG-INFO +51 -51
  77. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure_functions_durable.egg-info/SOURCES.txt +10 -5
  78. azure-functions-durable-1.2.10/eng/ci/code-mirror.yml +20 -0
  79. azure-functions-durable-1.2.10/eng/ci/official-build.yml +49 -0
  80. azure-functions-durable-1.2.10/eng/templates/build.yml +42 -0
  81. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/host.json +7 -7
  82. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/noxfile.py +25 -25
  83. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/requirements.txt +13 -13
  84. {azure-functions-durable-1.2.8/samples/fan_in_fan_out → azure-functions-durable-1.2.10/samples/aml_monitoring}/.funcignore +5 -5
  85. {azure-functions-durable-1.2.8/samples/counter_entity → azure-functions-durable-1.2.10/samples/aml_monitoring}/.gitignore +132 -132
  86. {azure-functions-durable-1.2.8/samples/counter_entity/DurableOrchestration → azure-functions-durable-1.2.10/samples/aml_monitoring/aml_durable_orchestrator}/function.json +11 -11
  87. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/aml_monitoring/aml_pipeline/function.json +11 -11
  88. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/aml_monitoring/aml_poll_status/function.json +12 -12
  89. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/aml_monitoring/extensions.csproj +11 -11
  90. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/aml_monitoring/host.json +2 -2
  91. {azure-functions-durable-1.2.8/samples/serialize_arguments → azure-functions-durable-1.2.10/samples/aml_monitoring}/local.settings.json +7 -7
  92. {azure-functions-durable-1.2.8/samples-v2/function_chaining → azure-functions-durable-1.2.10/samples/aml_monitoring}/proxies.json +4 -4
  93. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/aml_monitoring/requirements.txt +3 -3
  94. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/aml_monitoring/shared/aml_helper.py +85 -85
  95. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/aml_monitoring/shared/auth_helper.py +34 -34
  96. {azure-functions-durable-1.2.8/samples/aml_monitoring → azure-functions-durable-1.2.10/samples/counter_entity}/.gitignore +132 -132
  97. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/counter_entity/Counter/__init__.py +34 -34
  98. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/counter_entity/Counter/function.json +10 -10
  99. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/counter_entity/DurableOrchestration/__init__.py +34 -34
  100. {azure-functions-durable-1.2.8/samples/function_chaining_custom_status → azure-functions-durable-1.2.10/samples/counter_entity}/DurableOrchestration/function.json +11 -11
  101. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/counter_entity/DurableTrigger/__init__.py +30 -30
  102. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/counter_entity/DurableTrigger/function.json +26 -26
  103. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/counter_entity/README.md +45 -45
  104. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/counter_entity/RetrieveEntity/__init__.py +25 -25
  105. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/counter_entity/RetrieveEntity/function.json +24 -24
  106. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/counter_entity/host.json +14 -14
  107. {azure-functions-durable-1.2.8/samples/function_chaining_custom_status → azure-functions-durable-1.2.10/samples/counter_entity}/local.settings.json +7 -7
  108. azure-functions-durable-1.2.10/samples/counter_entity/requirements.txt +2 -0
  109. {azure-functions-durable-1.2.8/samples/aml_monitoring → azure-functions-durable-1.2.10/samples/fan_in_fan_out}/.funcignore +5 -5
  110. {azure-functions-durable-1.2.8/samples-v2/function_chaining → azure-functions-durable-1.2.10/samples/fan_in_fan_out}/.gitignore +129 -129
  111. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/fan_in_fan_out/E2_BackupSiteContent/__init__.py +20 -20
  112. {azure-functions-durable-1.2.8/samples/human_interaction/E4_SMSPhoneVerification → azure-functions-durable-1.2.10/samples/fan_in_fan_out/E2_BackupSiteContent}/function.json +10 -10
  113. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/fan_in_fan_out/E2_CopyFileToBlob/__init__.py +33 -33
  114. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/fan_in_fan_out/E2_CopyFileToBlob/function.json +10 -10
  115. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/fan_in_fan_out/E2_GetFileList/__init__.py +18 -18
  116. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/fan_in_fan_out/E2_GetFileList/function.json +10 -10
  117. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/fan_in_fan_out/HttpStart/__init__.py +13 -13
  118. {azure-functions-durable-1.2.8/samples/human_interaction → azure-functions-durable-1.2.10/samples/fan_in_fan_out}/HttpStart/function.json +26 -26
  119. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/fan_in_fan_out/README.md +2 -2
  120. {azure-functions-durable-1.2.8/samples/human_interaction → azure-functions-durable-1.2.10/samples/fan_in_fan_out}/host.json +15 -15
  121. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/fan_in_fan_out/local.settings.json +6 -6
  122. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/fan_in_fan_out/proxies.json +4 -4
  123. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/fan_in_fan_out/requirements.txt +6 -6
  124. azure-functions-durable-1.2.10/samples/function_chaining/.funcignore +5 -0
  125. azure-functions-durable-1.2.10/samples/function_chaining/.gitignore +130 -0
  126. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining/E1_HelloSequence/__init__.py +10 -10
  127. {azure-functions-durable-1.2.8/samples/fan_in_fan_out/E2_BackupSiteContent → azure-functions-durable-1.2.10/samples/function_chaining/E1_HelloSequence}/function.json +10 -10
  128. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining/E1_SayHello/__init__.py +2 -2
  129. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining/E1_SayHello/function.json +10 -10
  130. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining/HttpStart/__init__.py +12 -12
  131. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining/HttpStart/function.json +26 -26
  132. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining/README.md +2 -2
  133. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining/host.json +15 -15
  134. {azure-functions-durable-1.2.8/samples/simple_sub_orchestration → azure-functions-durable-1.2.10/samples/function_chaining}/local.settings.json +6 -6
  135. azure-functions-durable-1.2.10/samples/function_chaining/proxies.json +4 -0
  136. {azure-functions-durable-1.2.8/samples-v2 → azure-functions-durable-1.2.10/samples}/function_chaining/requirements.txt +6 -6
  137. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining_custom_status/.funcignore +5 -5
  138. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining_custom_status/.gitignore +132 -132
  139. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining_custom_status/DurableActivity/__init__.py +20 -20
  140. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining_custom_status/DurableActivity/function.json +10 -10
  141. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining_custom_status/DurableOrchestration/__init__.py +39 -39
  142. {azure-functions-durable-1.2.8/samples/serialize_arguments → azure-functions-durable-1.2.10/samples/function_chaining_custom_status}/DurableOrchestration/function.json +11 -11
  143. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining_custom_status/DurableTrigger/__init__.py +30 -30
  144. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining_custom_status/DurableTrigger/function.json +27 -27
  145. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining_custom_status/README.md +36 -36
  146. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/function_chaining_custom_status/host.json +14 -14
  147. {azure-functions-durable-1.2.8/samples/counter_entity → azure-functions-durable-1.2.10/samples/function_chaining_custom_status}/local.settings.json +7 -7
  148. azure-functions-durable-1.2.10/samples/function_chaining_custom_status/proxies.json +4 -0
  149. azure-functions-durable-1.2.10/samples/function_chaining_custom_status/requirements.txt +2 -0
  150. azure-functions-durable-1.2.10/samples/human_interaction/.funcignore +5 -0
  151. azure-functions-durable-1.2.10/samples/human_interaction/.gitignore +130 -0
  152. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/human_interaction/E4_SMSPhoneVerification/__init__.py +43 -43
  153. {azure-functions-durable-1.2.8/samples/function_chaining/E1_HelloSequence → azure-functions-durable-1.2.10/samples/human_interaction/E4_SMSPhoneVerification}/function.json +10 -10
  154. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/human_interaction/HttpStart/__init__.py +20 -20
  155. {azure-functions-durable-1.2.8/samples/fan_in_fan_out → azure-functions-durable-1.2.10/samples/human_interaction}/HttpStart/function.json +26 -26
  156. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/human_interaction/README.md +2 -2
  157. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/human_interaction/SendSMSChallenge/__init__.py +15 -15
  158. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/human_interaction/SendSMSChallenge/function.json +16 -16
  159. {azure-functions-durable-1.2.8/samples/monitor → azure-functions-durable-1.2.10/samples/human_interaction}/host.json +15 -15
  160. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/human_interaction/local.settings.json +9 -9
  161. azure-functions-durable-1.2.10/samples/human_interaction/proxies.json +4 -0
  162. {azure-functions-durable-1.2.8/samples/monitor → azure-functions-durable-1.2.10/samples/human_interaction}/requirements.txt +5 -5
  163. azure-functions-durable-1.2.10/samples/monitor/.funcignore +5 -0
  164. azure-functions-durable-1.2.10/samples/monitor/.gitignore +130 -0
  165. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/monitor/E3_Monitor/__init__.py +33 -33
  166. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/monitor/E3_Monitor/function.json +10 -10
  167. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/monitor/E3_SendAlert/__init__.py +13 -13
  168. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/monitor/E3_SendAlert/function.json +16 -16
  169. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/monitor/E3_TooManyOpenIssues/__init__.py +16 -16
  170. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/monitor/E3_TooManyOpenIssues/function.json +10 -10
  171. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/monitor/HttpStart/__init__.py +14 -14
  172. {azure-functions-durable-1.2.8/samples/simple_sub_orchestration/DurableFunctionsHttpStart → azure-functions-durable-1.2.10/samples/monitor/HttpStart}/function.json +26 -26
  173. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/monitor/README.md +2 -2
  174. {azure-functions-durable-1.2.8/samples/fan_in_fan_out → azure-functions-durable-1.2.10/samples/monitor}/host.json +15 -15
  175. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/monitor/local.settings.json +9 -9
  176. azure-functions-durable-1.2.10/samples/monitor/proxies.json +4 -0
  177. {azure-functions-durable-1.2.8/samples/human_interaction → azure-functions-durable-1.2.10/samples/monitor}/requirements.txt +5 -5
  178. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/serialize_arguments/.gitignore +132 -132
  179. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/serialize_arguments/DurableActivity/__init__.py +18 -18
  180. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/serialize_arguments/DurableActivity/function.json +11 -11
  181. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/serialize_arguments/DurableOrchestration/__init__.py +28 -28
  182. {azure-functions-durable-1.2.8/samples/aml_monitoring/aml_durable_orchestrator → azure-functions-durable-1.2.10/samples/serialize_arguments/DurableOrchestration}/function.json +11 -11
  183. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/serialize_arguments/DurableTrigger/__init__.py +31 -31
  184. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/serialize_arguments/DurableTrigger/function.json +26 -26
  185. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/serialize_arguments/README.md +40 -40
  186. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/serialize_arguments/host.json +6 -6
  187. {azure-functions-durable-1.2.8/samples/aml_monitoring → azure-functions-durable-1.2.10/samples/serialize_arguments}/local.settings.json +7 -7
  188. azure-functions-durable-1.2.10/samples/serialize_arguments/requirements.txt +2 -0
  189. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/serialize_arguments/shared_code/MyClasses.py +63 -63
  190. azure-functions-durable-1.2.10/samples/simple_sub_orchestration/.funcignore +5 -0
  191. azure-functions-durable-1.2.10/samples/simple_sub_orchestration/.gitignore +130 -0
  192. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/simple_sub_orchestration/DurableFunctionsHttpStart/__init__.py +19 -19
  193. {azure-functions-durable-1.2.8/samples/monitor/HttpStart → azure-functions-durable-1.2.10/samples/simple_sub_orchestration/DurableFunctionsHttpStart}/function.json +26 -26
  194. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/simple_sub_orchestration/DurableOrchestrator/__init__.py +19 -19
  195. azure-functions-durable-1.2.10/samples/simple_sub_orchestration/DurableOrchestrator/function.json +10 -0
  196. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/simple_sub_orchestration/DurableSubOrchestrator/__init__.py +20 -20
  197. azure-functions-durable-1.2.10/samples/simple_sub_orchestration/DurableSubOrchestrator/function.json +10 -0
  198. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/simple_sub_orchestration/Hello/__init__.py +13 -13
  199. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/simple_sub_orchestration/Hello/function.json +10 -10
  200. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/simple_sub_orchestration/README.md +34 -34
  201. azure-functions-durable-1.2.10/samples/simple_sub_orchestration/host.json +15 -0
  202. {azure-functions-durable-1.2.8/samples/function_chaining → azure-functions-durable-1.2.10/samples/simple_sub_orchestration}/local.settings.json +6 -6
  203. azure-functions-durable-1.2.10/samples/simple_sub_orchestration/proxies.json +4 -0
  204. azure-functions-durable-1.2.10/samples/simple_sub_orchestration/requirements.txt +2 -0
  205. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/blueprint/.funcignore +7 -7
  206. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/blueprint/.gitignore +134 -134
  207. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/blueprint/durable_blueprints.py +30 -30
  208. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/blueprint/function_app.py +29 -29
  209. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/blueprint/host.json +14 -14
  210. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/blueprint/requirements.txt +5 -5
  211. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/fan_in_fan_out/.funcignore +4 -4
  212. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/fan_in_fan_out/.gitignore +129 -129
  213. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/fan_in_fan_out/README.md +2 -2
  214. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/fan_in_fan_out/function_app.py +86 -86
  215. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/fan_in_fan_out/host.json +14 -14
  216. {azure-functions-durable-1.2.8/samples/aml_monitoring → azure-functions-durable-1.2.10/samples-v2/fan_in_fan_out}/proxies.json +4 -4
  217. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/fan_in_fan_out/requirements.txt +6 -6
  218. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/function_chaining/.funcignore +4 -4
  219. {azure-functions-durable-1.2.8/samples/fan_in_fan_out → azure-functions-durable-1.2.10/samples-v2/function_chaining}/.gitignore +129 -129
  220. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/function_chaining/README.md +2 -2
  221. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/function_chaining/function_app.py +24 -24
  222. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples-v2/function_chaining/host.json +24 -24
  223. {azure-functions-durable-1.2.8/samples-v2/fan_in_fan_out → azure-functions-durable-1.2.10/samples-v2/function_chaining}/proxies.json +4 -4
  224. {azure-functions-durable-1.2.8/samples → azure-functions-durable-1.2.10/samples-v2}/function_chaining/requirements.txt +6 -6
  225. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/scripts/sample_deploy.sh +41 -41
  226. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/setup.cfg +4 -4
  227. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/setup.py +84 -84
  228. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/__init__.py +21 -21
  229. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/conftest.py +78 -72
  230. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/models/test_DecoratorMetadata.py +135 -135
  231. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/models/test_Decorators.py +107 -107
  232. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/models/test_DurableOrchestrationBindings.py +68 -56
  233. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/models/test_DurableOrchestrationClient.py +730 -612
  234. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/models/test_DurableOrchestrationContext.py +102 -102
  235. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/models/test_DurableOrchestrationStatus.py +59 -59
  236. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/models/test_OrchestrationState.py +28 -28
  237. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/models/test_RpcManagementOptions.py +79 -79
  238. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/models/test_TokenSource.py +10 -10
  239. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/models/OrchestrationInstance.py +18 -18
  240. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/orchestrator_test_utils.py +130 -130
  241. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/schemas/OrchetrationStateSchema.py +66 -66
  242. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_call_http.py +235 -176
  243. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_continue_as_new.py +67 -67
  244. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_create_timer.py +126 -126
  245. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_entity.py +395 -395
  246. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_external_event.py +53 -53
  247. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_fan_out_fan_in.py +175 -175
  248. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_is_replaying_flag.py +101 -101
  249. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_retries.py +308 -308
  250. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_sequential_orchestrator.py +841 -801
  251. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_sequential_orchestrator_custom_status.py +119 -119
  252. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_sequential_orchestrator_with_retry.py +465 -465
  253. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_serialization.py +30 -30
  254. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_sub_orchestrator.py +95 -95
  255. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_sub_orchestrator_with_retry.py +129 -129
  256. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/test_task_any.py +60 -60
  257. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/tasks/tasks_test_utils.py +17 -17
  258. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/tasks/test_new_uuid.py +34 -34
  259. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/test_constants.py +13 -13
  260. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/test_utils/ContextBuilder.py +174 -174
  261. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/test_utils/EntityContextBuilder.py +56 -56
  262. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/test_utils/constants.py +1 -1
  263. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/test_utils/json_utils.py +30 -30
  264. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/test_utils/testClasses.py +56 -56
  265. azure-functions-durable-1.2.10/tests/utils/__init__.py +1 -0
  266. azure-functions-durable-1.2.10/tests/utils/test_entity_utils.py +24 -0
  267. azure-functions-durable-1.2.8/_manifest/spdx_2.2/bsi.json +0 -1
  268. azure-functions-durable-1.2.8/_manifest/spdx_2.2/manifest.cat +0 -0
  269. azure-functions-durable-1.2.8/_manifest/spdx_2.2/manifest.spdx.json +0 -12845
  270. azure-functions-durable-1.2.8/_manifest/spdx_2.2/manifest.spdx.json.sha256 +0 -1
  271. azure-functions-durable-1.2.8/samples/counter_entity/requirements.txt +0 -2
  272. azure-functions-durable-1.2.8/samples/function_chaining/.funcignore +0 -5
  273. azure-functions-durable-1.2.8/samples/function_chaining/.gitignore +0 -130
  274. azure-functions-durable-1.2.8/samples/function_chaining/proxies.json +0 -4
  275. azure-functions-durable-1.2.8/samples/function_chaining_custom_status/proxies.json +0 -4
  276. azure-functions-durable-1.2.8/samples/function_chaining_custom_status/requirements.txt +0 -2
  277. azure-functions-durable-1.2.8/samples/human_interaction/.funcignore +0 -5
  278. azure-functions-durable-1.2.8/samples/human_interaction/.gitignore +0 -130
  279. azure-functions-durable-1.2.8/samples/human_interaction/proxies.json +0 -4
  280. azure-functions-durable-1.2.8/samples/monitor/.funcignore +0 -5
  281. azure-functions-durable-1.2.8/samples/monitor/.gitignore +0 -130
  282. azure-functions-durable-1.2.8/samples/monitor/proxies.json +0 -4
  283. azure-functions-durable-1.2.8/samples/serialize_arguments/requirements.txt +0 -2
  284. azure-functions-durable-1.2.8/samples/simple_sub_orchestration/.funcignore +0 -5
  285. azure-functions-durable-1.2.8/samples/simple_sub_orchestration/.gitignore +0 -130
  286. azure-functions-durable-1.2.8/samples/simple_sub_orchestration/DurableOrchestrator/function.json +0 -10
  287. azure-functions-durable-1.2.8/samples/simple_sub_orchestration/DurableSubOrchestrator/function.json +0 -10
  288. azure-functions-durable-1.2.8/samples/simple_sub_orchestration/host.json +0 -15
  289. azure-functions-durable-1.2.8/samples/simple_sub_orchestration/proxies.json +0 -4
  290. azure-functions-durable-1.2.8/samples/simple_sub_orchestration/requirements.txt +0 -2
  291. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/.github/policies/resourceManagement.yml +0 -0
  292. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/MANIFEST.in +0 -0
  293. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure_functions_durable.egg-info/dependency_links.txt +0 -0
  294. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure_functions_durable.egg-info/requires.txt +0 -0
  295. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/azure_functions_durable.egg-info/top_level.txt +0 -0
  296. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/aml_monitoring/aml_durable_orchestrator/__init__.py +0 -0
  297. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/aml_monitoring/aml_pipeline/__init__.py +0 -0
  298. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/aml_monitoring/aml_poll_status/__init__.py +0 -0
  299. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/aml_monitoring/shared/__init__.py +0 -0
  300. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/samples/counter_entity/.funcignore +0 -0
  301. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/models/__init__.py +0 -0
  302. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/orchestrator/__init__.py +0 -0
  303. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/tests/tasks/__init__.py +0 -0
  304. {azure-functions-durable-1.2.8 → azure-functions-durable-1.2.10}/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
+ }
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env bash
2
+
3
+ pip install -r requirements.txt
4
+
5
+
@@ -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
@@ -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,34 @@
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