Skip to content

Commit 5be6629

Browse files
committed
Remove unnecessary property definitions
1 parent 8c359a1 commit 5be6629

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

azure/durable_functions/models/DurableOrchestrationContext.py

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -491,37 +491,6 @@ def parent_instance_id(self) -> str:
491491
"""
492492
return self._parent_instance_id
493493

494-
@property
495-
def _maximum_short_timer_duration(self) -> datetime.timedelta:
496-
"""Get the maximum duration for a short timer.
497-
498-
The maximum length of a "short timer" is defined by the storage backend.
499-
Some storage backends have a maximum future date for scheduled tasks, and
500-
so for timers longer than this duration, we must simulate a long timer by
501-
waiting in chunks.
502-
503-
Returns
504-
-------
505-
str
506-
Maximum allowable duration for a short timer in Durable
507-
"""
508-
return self._maximum_short_timer_duration
509-
510-
@property
511-
def _long_timer_interval_duration(self) -> datetime.timedelta:
512-
"""Get the interval for long timers.
513-
514-
When a timer is scheduled for a duration longer than the maximum short timer
515-
duration, the timer is set to run in chunks of time. The long running timer
516-
interval duration defines how long these chunks of time should be.
517-
518-
Returns
519-
-------
520-
str
521-
Duration for intervals of a long-running timer
522-
"""
523-
return self._long_timer_interval_duration
524-
525494
@property
526495
def current_utc_datetime(self) -> datetime.datetime:
527496
"""Get the current date/time.

0 commit comments

Comments
 (0)