Closed goodoldneon closed 3 months ago
I think this broke the types for the no argument case.
Which mypy version are you using? We're passing no arg callbacks in our tests (which we run mypy against): https://github.com/inngest/inngest-py/blob/main/tests/test_function/cases/change_step_error.py#L64
Add support for
step.run
callback arguments.Before this PR,
step.run
callbacks could only receive args via alambda
:Now you can also do this: