Skip to content

Commit 21068e1

Browse files
committed
fix: final fixes for build
Signed-off-by: Samantha Coyle <sam@diagrid.io>
1 parent 2ac5969 commit 21068e1

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

durabletask/internal/protos.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
# a single namespace, preserving backwards compatibility for code that imports
66
# this module as `pb` and accesses types like `pb.HistoryEvent`.
77

8+
# isort: skip_file
9+
# The import order below is intentional and must not be changed.
810
# Well-known protobuf types must be registered in the descriptor pool before
9-
# the generated pb2 files that depend on them are loaded.
11+
# the generated pb2 files that depend on them are loaded. Additionally,
12+
# orchestration_pb2 must be loaded before history_events_pb2, which depends on it.
1013
from google.protobuf import duration_pb2, empty_pb2, timestamp_pb2, wrappers_pb2 # noqa: F401
11-
1214
from durabletask.internal.orchestration_pb2 import * # noqa: F401, F403
1315
from durabletask.internal.history_events_pb2 import * # noqa: F401, F403
1416
from durabletask.internal.orchestrator_actions_pb2 import * # noqa: F401, F403

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
target-version = "py310"
33
line-length = 100
44
fix = true
5-
extend-exclude = [".github", "dapr/proto", "durabletask/internal"]
5+
extend-exclude = [".github", "dapr/proto", "durabletask/internal", "durabletask/internal/protos.py"]
66

77
[tool.ruff.lint]
88
select = [

0 commit comments

Comments
 (0)