Skip to content

Add *args and **kwargs to base generic actor class perform() method#837

Merged
LincolnPuzey merged 2 commits intoBogdanp:masterfrom
LincolnPuzey:fix_805
Feb 17, 2026
Merged

Add *args and **kwargs to base generic actor class perform() method#837
LincolnPuzey merged 2 commits intoBogdanp:masterfrom
LincolnPuzey:fix_805

Conversation

@LincolnPuzey
Copy link
Collaborator

This ensures the correct NotImplementedError is raised when called with args.

Shouldn't effect real code using this, since they should implement their own perform() method,
meaning this code is never actually called.

Closes #805

…entation

This means that when a generic Actor missing perform() is called with args,
the correct NotImplementedError is raised,
and also reduces mypy errors in code implemented generic actors.
@LincolnPuzey LincolnPuzey added this to the v2.1.0 milestone Feb 17, 2026
@LincolnPuzey LincolnPuzey merged commit fc564f8 into Bogdanp:master Feb 17, 2026
15 checks passed
@LincolnPuzey LincolnPuzey deleted the fix_805 branch February 17, 2026 12:18
@jenstroeger
Copy link
Contributor

Oh I was literally just about to click Approve when you merged! 🤓

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.

Inconsistent arguments for perform()

2 participants