You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e55a700
Browse filesBrowse the repository at this point in the historyBrowse files
The repository declares `requires-python = ">=3.10"` but its
hand-written modules still relied on pre-3.10 typing constructs. Apply
PEP 604, PEP 585, PEP 613, and PEP 634 throughout, leaving generated
proto/grpc files and their hand-written stub mirror untouched.
- Replace `Optional[X]` with `X | None` and `Union[X, Y]` with
`X | Y` (PEP 604).
- Replace `List[...]` / `Dict[...]` / `Tuple[...]` / `Type[...]`
with the built-in generic forms `list[...]`, `dict[...]`,
`tuple[...]`, `type[...]` (PEP 585).
- Annotate module-level type aliases in `durabletask/task.py` and
`durabletask/internal/shared.py` with `TypeAlias` (PEP 613).
- Convert the `action_type` dispatch in
`_get_method_name_for_action` to `match`/`case` (PEP 634).
- Drop now-unused `typing` imports.
No public API or behavior changes.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
0 commit comments