Skip to content

Commit 6deb5b1

Browse files
committed
Merge branch 'main' into otel/context-detach
2 parents aaccb00 + 2efd9a7 commit 6deb5b1

File tree

53 files changed

+1163
-892
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1163
-892
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,8 +1676,8 @@ worker = Worker(
16761676
### Workflow Replay
16771677

16781678
Given a workflow's history, it can be replayed locally to check for things like non-determinism errors. For example,
1679-
assuming `history_str` is populated with a JSON string history either exported from the web UI or from `tctl`, the
1680-
following function will replay it:
1679+
assuming `history_str` is populated with a JSON string history either exported from the web UI or from the
1680+
`Temporal CLI`, the following function will replay it:
16811681

16821682
```python
16831683
from temporalio.client import WorkflowHistory

scripts/gen_protos.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
partial(
4343
re.compile(r"from temporal\.sdk\.core\.").sub, r"from temporalio.bridge.proto."
4444
),
45+
partial(
46+
re.compile(r"'__module__' : 'temporal\.api\.").sub,
47+
r"'__module__' : 'temporalio.api.",
48+
),
4549
]
4650

4751
pyi_fixes = [
@@ -60,7 +64,6 @@ def fix_generated_output(base_path: Path):
6064
- protoc doesn't generate the correct import paths
6165
(https://github.com/protocolbuffers/protobuf/issues/1491)
6266
"""
63-
6467
imports: Mapping[str, List[str]] = collections.defaultdict(list)
6568
for p in base_path.iterdir():
6669
if p.is_dir():

temporalio/api/activity/v1/message_pb2.py

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

temporalio/api/batch/v1/message_pb2.py

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

temporalio/api/cloud/account/v1/message_pb2.py

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)