SIGN IN SIGN UP
langflow-ai / langflow UNCLAIMED

Langflow is a powerful tool for building and deploying AI-powered agents and workflows.

0 0 1 Python

feat: add InputTypesMap and _instantiate_input function (#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.
G
Gabriel Luiz Freitas Almeida committed
dea322b024f6a3234e7d3e68c8b6b8a29f50879a
Parent: ca98103
Committed by GitHub <noreply@github.com> on 7/25/2024, 5:09:12 PM