* Refactor code to remove console.log statements
* Refactor code to remove console.log statements
* ⬆️ (pyproject.toml): upgrade uncurl dependency to version 0.0.11
* 📝 (flows.py): Add docstring to the read_flows function to provide information about its purpose, arguments, and return value
📝 (parse.py): Add comments and docstrings to the parse_context function to explain its purpose and how it works
📝 (APIRequest.py): Add a new method update_build_config to handle parsing of curl commands and update build configuration based on the parsed context
* refactor: Improve value change detection logic in DictComponent
* refactor: Improve value change detection logic in DictAreaModal
* refactor: Update APIRequest to handle parsing of curl commands and update build configuration
This commit updates the APIRequest class in APIRequest.py to handle parsing of curl commands and update the build configuration based on the parsed context. It introduces a new method, update_build_config, which parses the curl command using the parse_context function and updates the build configuration with the parsed information. Additionally, it handles JSON decoding errors when parsing the data field of the curl command. This improvement enhances the functionality and flexibility of the APIRequest component.
* feat: Add support for handling headers as dictionaries in APIRequest
* refactor: Parse curl commands and update build configuration in APIRequest
This commit refactors the APIRequest class in APIRequest.py to handle parsing of curl commands and update the build configuration based on the parsed context. It introduces a new method, update_build_config, which parses the curl command using the parse_context function and updates the build configuration with the parsed information. Additionally, it handles JSON decoding errors when parsing the data field of the curl command. This improvement enhances the functionality and flexibility of the APIRequest component.
* ✨ (test_data_components.py): add new test case to parse curl command into build configuration for API requests
* 🐛 (src/backend/base/langflow/components/data/APIRequest.py): fix type hinting issue for bodies variable in APIRequest class