temporalio / sdk-python

Temporal Python SDK
MIT License
474 stars 77 forks source link

[Bug] Overload checking not catching bad parameters anymore #435

Open cretz opened 1 year ago

cretz commented 1 year ago

Describe the bug

It appears sometime recently or in some MyPy version recently, you can execute a single-param workflow with no param and MyPy won't catch it. Investigate this and other places where type checking should catch issues but is not. Ideally we can write tests to confirm type checking failures.