azure-functions-durable 1.3.0__py3-none-any.whl → 1.3.2__py3-none-any.whl
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/durable_functions/models/DurableOrchestrationContext.py +9 -16
- {azure_functions_durable-1.3.0.dist-info → azure_functions_durable-1.3.2.dist-info}/METADATA +5 -3
- {azure_functions_durable-1.3.0.dist-info → azure_functions_durable-1.3.2.dist-info}/RECORD +6 -6
- {azure_functions_durable-1.3.0.dist-info → azure_functions_durable-1.3.2.dist-info}/LICENSE +0 -0
- {azure_functions_durable-1.3.0.dist-info → azure_functions_durable-1.3.2.dist-info}/WHEEL +0 -0
- {azure_functions_durable-1.3.0.dist-info → azure_functions_durable-1.3.2.dist-info}/top_level.txt +0 -0
|
@@ -600,22 +600,15 @@ class DurableOrchestrationContext:
|
|
|
600
600
|
TaskBase
|
|
601
601
|
A Durable Timer Task that schedules the timer to wake up the activity
|
|
602
602
|
"""
|
|
603
|
-
if self._replay_schema.value >= ReplaySchema.V3.value
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
"https://github.com/Azure/azure-functions-durable-python/issues\n"
|
|
613
|
-
f"maximumShortTimerDuration: {self._maximum_short_timer_duration}\n"
|
|
614
|
-
f"longRunningTimerIntervalDuration: {self._long_timer_interval_duration}"
|
|
615
|
-
)
|
|
616
|
-
if fire_at > self.current_utc_datetime + self._maximum_short_timer_duration:
|
|
617
|
-
action = CreateTimerAction(fire_at)
|
|
618
|
-
return LongTimerTask(None, action, self)
|
|
603
|
+
if (self._replay_schema.value >= ReplaySchema.V3.value
|
|
604
|
+
and self._maximum_short_timer_duration
|
|
605
|
+
and self._long_timer_interval_duration
|
|
606
|
+
and fire_at > self.current_utc_datetime + self._maximum_short_timer_duration):
|
|
607
|
+
# Timer duration config values are not provided for DTS or MSSQL, so skip the
|
|
608
|
+
# LongTimerTask and create the TimerTask as normal
|
|
609
|
+
|
|
610
|
+
action = CreateTimerAction(fire_at)
|
|
611
|
+
return LongTimerTask(None, action, self)
|
|
619
612
|
|
|
620
613
|
action = CreateTimerAction(fire_at)
|
|
621
614
|
task = self._generate_task(action, task_constructor=TimerTask)
|
{azure_functions_durable-1.3.0.dist-info → azure_functions_durable-1.3.2.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: azure-functions-durable
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.2
|
|
4
4
|
Summary: Durable Functions For Python
|
|
5
5
|
Home-page: https://github.com/Azure/azure-functions-durable-python
|
|
6
6
|
Author: Azure Functions team at Microsoft Corp.
|
|
@@ -16,14 +16,16 @@ Classifier: Operating System :: POSIX
|
|
|
16
16
|
Classifier: Operating System :: MacOS :: MacOS X
|
|
17
17
|
Classifier: Environment :: Web Environment
|
|
18
18
|
Classifier: Development Status :: 5 - Production/Stable
|
|
19
|
-
Requires-Python: >=3.
|
|
19
|
+
Requires-Python: >=3.9,<4
|
|
20
20
|
Description-Content-Type: text/markdown
|
|
21
21
|
License-File: LICENSE
|
|
22
22
|
Requires-Dist: azure-functions>=1.12.0
|
|
23
|
-
Requires-Dist: aiohttp>=3.
|
|
23
|
+
Requires-Dist: aiohttp>=3.12.9
|
|
24
24
|
Requires-Dist: requests==2.*
|
|
25
25
|
Requires-Dist: python-dateutil>=2.8.0
|
|
26
26
|
Requires-Dist: furl>=2.1.0
|
|
27
|
+
Requires-Dist: opentelemetry-api>=1.32.1
|
|
28
|
+
Requires-Dist: opentelemetry-sdk>=1.32.1
|
|
27
29
|
|
|
28
30
|
|Branch|Status|
|
|
29
31
|
|---|---|
|
|
@@ -9,7 +9,7 @@ azure/durable_functions/models/DurableEntityContext.py,sha256=cyZmjjZu18oV9S4A2N
|
|
|
9
9
|
azure/durable_functions/models/DurableHttpRequest.py,sha256=a5kgRdg4eA0sgyDcpmQWc0dbwP-o3BwWW2Ive0BYO_Q,2021
|
|
10
10
|
azure/durable_functions/models/DurableOrchestrationBindings.py,sha256=_hp61WjN3bQYCqYFQuvUaDdRu7C14fPg7lFbaA9TRe4,2408
|
|
11
11
|
azure/durable_functions/models/DurableOrchestrationClient.py,sha256=kQBqeKugvi2mi-7dDbCxlu67r20doEhDknlchYxcLBE,33018
|
|
12
|
-
azure/durable_functions/models/DurableOrchestrationContext.py,sha256=
|
|
12
|
+
azure/durable_functions/models/DurableOrchestrationContext.py,sha256=Vrox-oX8QfSFmcPampUOTgMx85DuZs_HMQyzavqozEc,31256
|
|
13
13
|
azure/durable_functions/models/DurableOrchestrationStatus.py,sha256=BXWz9L7np4Q9k6z4NsfLX97i2U2IFh94TVeRSV2BjM4,6049
|
|
14
14
|
azure/durable_functions/models/EntityStateResponse.py,sha256=f48W8gmlb-D5iJw3eDyUMYVwHpmIxP6k6a7o2TRHwII,674
|
|
15
15
|
azure/durable_functions/models/FunctionContext.py,sha256=4gHTmIo8DZN-bZLM-hyjoQFlv-AbsfLMT1_X4WxWxqY,274
|
|
@@ -96,8 +96,8 @@ tests/test_utils/json_utils.py,sha256=B0q3COMya7TGxbH-7sD_0ypWDSuaF4fpD4QV_oJPgG
|
|
|
96
96
|
tests/test_utils/testClasses.py,sha256=U_u5qKxC9U81SzjLo7ejjPjEn_cE5qjaqoq8edGD6l8,1521
|
|
97
97
|
tests/utils/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
98
98
|
tests/utils/test_entity_utils.py,sha256=kdk5_DV_-bFu_5q2mw9o1yjyzh8Lcxv1jo1Q7is_ukA,748
|
|
99
|
-
azure_functions_durable-1.3.
|
|
100
|
-
azure_functions_durable-1.3.
|
|
101
|
-
azure_functions_durable-1.3.
|
|
102
|
-
azure_functions_durable-1.3.
|
|
103
|
-
azure_functions_durable-1.3.
|
|
99
|
+
azure_functions_durable-1.3.2.dist-info/LICENSE,sha256=-VS-Izmxdykuae1Xc4vHtVUx02rNQi6SSQlONvvuYeQ,1090
|
|
100
|
+
azure_functions_durable-1.3.2.dist-info/METADATA,sha256=3zhhixYOOBegIn-AnvaaAfMzQtFs7s7X6ggHofdvrDQ,3523
|
|
101
|
+
azure_functions_durable-1.3.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
102
|
+
azure_functions_durable-1.3.2.dist-info/top_level.txt,sha256=h-L8XDVPJ9YzBbHlPvM7FVo1cqNGToNK9ix99ySGOUY,12
|
|
103
|
+
azure_functions_durable-1.3.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{azure_functions_durable-1.3.0.dist-info → azure_functions_durable-1.3.2.dist-info}/top_level.txt
RENAMED
|
File without changes
|