Skip to content

[ENH] parameter checking and move of super.__init__ in extension templates#3010

Merged
fkiraly merged 1 commit intomainfrom
extension-template-init
Jul 21, 2022
Merged

[ENH] parameter checking and move of super.__init__ in extension templates#3010
fkiraly merged 1 commit intomainfrom
extension-template-init

Conversation

@fkiraly
Copy link
Copy Markdown
Collaborator

@fkiraly fkiraly commented Jul 14, 2022

This PR updates extension templates to the decision in #2573.

That is, __init__ can now contain additional logic of parameter checking kind, or tag setting, but it must be after the call to super.__init__.

@fkiraly fkiraly requested a review from aiwalter as a code owner July 14, 2022 15:41
@fkiraly fkiraly added API design API design & software architecture documentation Documentation & tutorials labels Jul 14, 2022
@fkiraly fkiraly merged commit 5767dba into main Jul 21, 2022
@fkiraly fkiraly deleted the extension-template-init branch July 21, 2022 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API design API design & software architecture documentation Documentation & tutorials

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENH] design - init, parameter check, dynamic tags - conflicting interface requirements

1 participant