Skip to content

Enforce type safe check and fix code with type safe issues#18

Merged
timl3136 merged 4 commits intocadence-workflow:mainfrom
timl3136:type-safe-check-2
Aug 28, 2025
Merged

Enforce type safe check and fix code with type safe issues#18
timl3136 merged 4 commits intocadence-workflow:mainfrom
timl3136:type-safe-check-2

Conversation

@timl3136
Copy link
Copy Markdown
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


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
Copy Markdown
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
Copy Markdown
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