durabletask 1.7.1__tar.gz → 1.7.2__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.
- {durabletask-1.7.1 → durabletask-1.7.2}/PKG-INFO +1 -1
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/task.py +5 -16
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask.egg-info/PKG-INFO +1 -1
- {durabletask-1.7.1 → durabletask-1.7.2}/pyproject.toml +1 -1
- {durabletask-1.7.1 → durabletask-1.7.2}/LICENSE +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/README.md +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/__init__.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/client.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/entities/__init__.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/entities/durable_entity.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/entities/entity_context.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/entities/entity_instance_id.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/entities/entity_lock.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/entities/entity_metadata.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/entities/entity_operation_failed_exception.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/__init__.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/azure_blob_payloads/__init__.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/azure_blob_payloads/blob_payload_store.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/azure_blob_payloads/options.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/__init__.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/_constants.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/_internal.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/_logging.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/activities.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/azure_blob.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/client.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/entity.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/exceptions.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/models.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/orchestrator.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/serialization.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/transitions.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/writer.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/grpc_options.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/history.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/client_helpers.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/entity_state_shim.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/exceptions.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/grpc_interceptor.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/grpc_resiliency.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/helpers.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/history_helpers.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/json_encode_output_exception.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/orchestration_entity_context.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/orchestrator_service_pb2.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/orchestrator_service_pb2.pyi +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/orchestrator_service_pb2_grpc.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/proto_task_hub_sidecar_service_stub.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/shared.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/tracing.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/type_discovery.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/payload/__init__.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/payload/helpers.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/payload/store.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/py.typed +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/scheduled/__init__.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/scheduled/client.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/scheduled/exceptions.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/scheduled/models.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/scheduled/orchestrator.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/scheduled/schedule_entity.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/scheduled/schedule_status.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/scheduled/transitions.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/serialization.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/testing/__init__.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/testing/in_memory_backend.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask/worker.py +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask.egg-info/SOURCES.txt +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask.egg-info/dependency_links.txt +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask.egg-info/requires.txt +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/durabletask.egg-info/top_level.txt +0 -0
- {durabletask-1.7.1 → durabletask-1.7.2}/setup.cfg +0 -0
|
@@ -8,6 +8,7 @@ import logging
|
|
|
8
8
|
import math
|
|
9
9
|
from abc import ABC, abstractmethod
|
|
10
10
|
from collections.abc import Callable, Generator, Sequence
|
|
11
|
+
from dataclasses import dataclass
|
|
11
12
|
from datetime import datetime, timedelta, timezone
|
|
12
13
|
from typing import TYPE_CHECKING, Any, Generic, TypeAlias, TypeVar, cast, overload
|
|
13
14
|
|
|
@@ -449,23 +450,11 @@ class ReplaySafeLogger(_LoggerAdapterBase):
|
|
|
449
450
|
return self.logger.isEnabledFor(level)
|
|
450
451
|
|
|
451
452
|
|
|
453
|
+
@dataclass(frozen=True)
|
|
452
454
|
class FailureDetails:
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
self._stack_trace = stack_trace
|
|
457
|
-
|
|
458
|
-
@property
|
|
459
|
-
def message(self) -> str:
|
|
460
|
-
return self._message
|
|
461
|
-
|
|
462
|
-
@property
|
|
463
|
-
def error_type(self) -> str:
|
|
464
|
-
return self._error_type
|
|
465
|
-
|
|
466
|
-
@property
|
|
467
|
-
def stack_trace(self) -> str | None:
|
|
468
|
-
return self._stack_trace
|
|
455
|
+
message: str
|
|
456
|
+
error_type: str
|
|
457
|
+
stack_trace: str | None
|
|
469
458
|
|
|
470
459
|
|
|
471
460
|
class TaskFailedError(Exception):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durabletask-1.7.1 → durabletask-1.7.2}/durabletask/entities/entity_operation_failed_exception.py
RENAMED
|
File without changes
|
|
File without changes
|
{durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/azure_blob_payloads/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/azure_blob_payloads/options.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/orchestrator.py
RENAMED
|
File without changes
|
{durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/serialization.py
RENAMED
|
File without changes
|
{durabletask-1.7.1 → durabletask-1.7.2}/durabletask/extensions/history_export/transitions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/json_encode_output_exception.py
RENAMED
|
File without changes
|
{durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/orchestration_entity_context.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/orchestrator_service_pb2_grpc.py
RENAMED
|
File without changes
|
{durabletask-1.7.1 → durabletask-1.7.2}/durabletask/internal/proto_task_hub_sidecar_service_stub.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|