Skip to content

Conversation

timl3136
Copy link
Member

@timl3136 timl3136 commented Aug 28, 2025

What changed?
Enforce type safe check and fix code with type safe issue

Why?
CI check was added but not enforced

How did you test it?
CI test

Potential risks

Release notes

Documentation Changes

@@ -11,15 +11,15 @@


class ActivityWorker:
def __init__(self, client: Client, task_list: str, options: WorkerOptions):
def __init__(self, client: Client, task_list: str, options: WorkerOptions) -> None:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought no value implied -> None, I'm sorry :(

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it does implied -> None, but MyPy does not like that.

@timl3136 timl3136 merged commit 5d6533a into cadence-workflow:main Aug 28, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants