8000 fix: update __init_subclass__ method to accept additional keyword arguments by sathyapramod · Pull Request #4655 · ansible/molecule · GitHub
[go: up one dir, main page]

Skip to content

fix: update __init_subclass__ method to accept additional keyword arguments - #4655

Merged
sathyapramod merged 2 commits into
mainfrom
fix/S930-init-subclass-kwargs
Jul 7, 2026
Merged

sathyapramod merged 2 commits into
mainfrom
fix/S930-init-subclass-kwargs

Conversation

@sathyapramod
Copy link
Copy Markdown
Contributor

Modified the init_subclass method in the Base class to accept **kwargs, ensuring compatibility with subclasses that may require additional parameters. This change enhances flexibility in subclassing while maintaining existing functionality.

…uments

Modified the __init_subclass__ method in the Base class to accept **kwargs, ensuring compatibility with subclasses that may require additional parameters. This change enhances flexibility in subclassing while maintaining existing functionality.
Updated the __init_subclass__ method in the Base class to include a more detailed docstring and changed the type hint for kwargs to 'object' for better clarity and compatibility with subclasses. This improves the overall documentation and usability of the method.
@sathyapramod
sathyapramod merged commit c76b188 into main Jul 7, 2026
22 checks passed
@sathyapramod
sathyapramod deleted the fix/S930-init-subclass-kwargs branch July 7, 2026 04:32
@github-project-automation github-project-automation Bot moved this from Review to Done in 🧰 devtools project board Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants

0