Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FunctionalCommand: Assert lifecycle functions are callable #48

Closed
wants to merge 1 commit into from

Conversation

auscompgeek
Copy link
Member

It's common for less experienced Python programmers to forget to create lambdas, instead accidentally immediately calling a method and passing in None into whatever command factory they're using.

Fail early in debug mode (e.g. simulation/tests) so it's more obvious where such an error originates from.

@virtuald
Copy link
Member

Folded into #46

@virtuald virtuald closed this Jan 20, 2024
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