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

Add specific methods for params to the form #390

Open
pconesa opened this issue Nov 16, 2022 · 0 comments
Open

Add specific methods for params to the form #390

pconesa opened this issue Nov 16, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@pconesa
Copy link
Contributor

pconesa commented Nov 16, 2022

Somthing like this:

   # Adhoc method for specific params
    def addBooleanParam(self, name, label, help, default=True, **kwargs):
        return self.addParam(name, BooleanParam, label=label, help=help, default=default, **kwargs)


It will make developers life easier to define parameters.

@pconesa pconesa added enhancement New feature or request good first issue Good for newcomers labels Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants