* refactor: rename DataSet to DataFrame
* feat: add DataFrameInput type and update InputTypes definition
* feat: add DataFrame type to CUSTOM_COMPONENT_SUPPORTED_TYPES
* refactor: replace DataSet with DataFrame in schema and tests
* made logformat configurable
* [autofix.ci] apply automated fixes
* documentation of log format env var
* log stuff at one place in documentation
* added documentation of log environment
* check for log format
* [autofix.ci] apply automated fixes
* just load log format on custom logenv
* [autofix.ci] apply automated fixes
* no more invalid whitespaces
* fixed br s with escape
* logging error in case of invalid format string
---------
Co-authored-by: Kraxner Thomas <thomas.kraxner@illwerkevkw.at>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* feat: enhance DataSet class with improved constructor and methods for better data handling
- Added custom constructor to support various input formats including lists of Data objects, dictionaries, and existing DataFrames.
- Introduced methods `add_row` and `add_rows` for adding single or multiple rows to the DataSet.
- Updated docstrings and examples for clarity and usability.
- Ensured compatibility with pandas DataFrame operations while preserving Data object structures.
* test: add comprehensive tests for DataSet initialization and row operations
* feat: add DataSet class to schema module
* refactor: simplify DataSet initialization and improve data validation
* 🐛 (Instagram Copywriter.json): fix load_from_db field to be set to true instead of false to correctly load data from the database.
* 🐛 (setup.py): Fix condition to update component versions by excluding "load_from_db" attribute
🐛 (Instagram Copywriter.json): Fix incorrect "load_from_db" value for "api_key" and "openai_api_base" properties
* Fix error handling and logging in build_flow function
* Refactor: Update serialize_field function in utils.py
This commit refactors the serialize_field function in utils.py to handle additional data types. It now properly serializes BaseModel objects and dictionaries by recursively calling the serialize_field function on their values. Additionally, it ensures that all other data types are converted to strings before returning.
#4873
* update serialize
* fix: handle different output formats in agent message processing
* fix: correct condition for handling Anthropic message output
* refactor: extract text output handling into separate function
* Add DataSet class to handle conversion between Data objects and DataFrame
* feat: enhance DataSet class with detailed docstrings and examples for better usability
* feat: add custom constructor property to DataSet for improved DataFrame compatibility
* test: add unit tests for DataSet class methods and functionality
* adding list of Data output to Parse Data
* [autofix.ci] apply automated fixes
* enabling connection from more List outputs
* [autofix.ci] apply automated fixes
* refactor to have single return type
* [autofix.ci] apply automated fixes
* addressing linting comments
* [autofix.ci] apply automated fixes
* apparently lint was missed...
* sigh
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Eric Hare <ericrhare@gmail.com>
* Improve error messaging for missing message fields in memory module
* fix: Simplify return statement in NotDiamondComponent's chat result method
* Update .gitignore to exclude all .db files
* Handle IntegrityError specifically when assigning orphaned flows to superuser
* Add missing session.add(flow) to ensure flow is added to the session before commit
* add icons: wikipedia, serpapi, searchapi, glean, python, bing
* update glean icon
* formatting files
* ✨ (create_data.py): add an icon attribute with the value "ListFilter" to improve visual representation of the component
📝 (python_code_structured_tool.py): update the icon attribute value from "🐍" to "Python" for better clarity and consistency
---------
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
* take 1 WIP
* remove firecrawl dep from langflow package, only usage appears to be in langflow-base
* langchain-google-genai to 2.0.1 which is what we have now in the lock file
* widen ranges based on old lock file
* lock
* fixing problem handling path type
* Add type check for 'path.text' in CSV utility function
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
✨ (google_search_api.py): Add icon property to GoogleSearchAPIComponent for better visualization in the UI
✨ (google_serper_api.py): Add icon property to GoogleSerperAPIComponent for better visualization in the UI
📝 (styleUtils.ts): Add GoogleSearchAPI and GoogleSerperAPI icons to nodeIconsLucide for consistent styling in the frontend.
* Fix node inputs not being captured, add runtime inputs as well to be captured by the tracers properly
* Fix outputs missing on traces due to them being reset before ending the traces because of race conditions
* Fallback to project name if none
* Remove 'dynamic inputs' to stop sending the component code every time
* fix: Add async flow name retrieval in graph building process
* fix: Retrieve flow name from database when building graph from data
* Fix: make session.exec call awaitable in chat API
* Refactor `_get_flow_name` to manage session internally
* Refactor session handling to use `async_session_scope` in chat API
* Refactor test cases to remove unnecessary async usage in mock functions
* [autofix.ci] apply automated fixes
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix: ensure unique flow names when assigning to superuser
* refactor: Creates a new function with logic to rename flows
* refactor: simplify function
* Extract STARTER_FOLDER constants to a separate module
* Filter orphaned flows by excluding those in the starter folder
---------
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>