-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
feat: add InputTypesMap and _instantiate_input function #2955
Conversation
The commit adds the `InputTypesMap` dictionary and `_instantiate_input` function to the `inputs.py` file. The `InputTypesMap` is a dictionary that maps input types to their corresponding classes, and the `_instantiate_input` function is used to instantiate an input object based on its type. This change improves the flexibility and extensibility of the codebase.
Pull Request Validation ReportThis comment is automatically generated by Conventional PR Whitelist Report
Result Pull request does not satisfy any enabled whitelist criteria. Pull request will be validated. Validation Report
Result Pull request satisfies all enabled pull request rules. Last Modified at 25 Jul 24 16:25 UTC |
This pull request is automatically being deployed by Amplify Hosting (learn more). |
* refactor: add _input_type attribute to dump in BaseInputMixin * feat: add InputTypesMap and _instantiate_input function The commit adds the `InputTypesMap` dictionary and `_instantiate_input` function to the `inputs.py` file. The `InputTypesMap` is a dictionary that maps input types to their corresponding classes, and the `_instantiate_input` function is used to instantiate an input object based on its type. This change improves the flexibility and extensibility of the codebase.
* refactor: add _input_type attribute to dump in BaseInputMixin * feat: add InputTypesMap and _instantiate_input function The commit adds the `InputTypesMap` dictionary and `_instantiate_input` function to the `inputs.py` file. The `InputTypesMap` is a dictionary that maps input types to their corresponding classes, and the `_instantiate_input` function is used to instantiate an input object based on its type. This change improves the flexibility and extensibility of the codebase.
…2955) * refactor: add _input_type attribute to dump in BaseInputMixin * feat: add InputTypesMap and _instantiate_input function The commit adds the `InputTypesMap` dictionary and `_instantiate_input` function to the `inputs.py` file. The `InputTypesMap` is a dictionary that maps input types to their corresponding classes, and the `_instantiate_input` function is used to instantiate an input object based on its type. This change improves the flexibility and extensibility of the codebase. (cherry picked from commit dea322b)
The commit adds the
InputTypesMap
dictionary and_instantiate_input
function to theinputs.py
file. TheInputTypesMap
is a dictionary that maps input types to their corresponding classes, and the_instantiate_input
function is used to instantiate an input object based on its type. This change improves the flexibility and extensibility of the codebase.