langflow/.github/workflows
Gabriel Luiz Freitas Almeida bb1bc5c2df
feat: add dump and dumps methods to Graph (#3202)
* feat(utils.py): add escape_json_dump function to escape JSON strings for Edge dictionaries

* refactor(Output): streamline add_types method to prevent duplicate entries in types list for improved type management

* feat(data.py): add classmethod decorator to validate_data for enhanced validation logic when checking data types

* feat(setup.py): implement retry logic for loading starter projects to enhance robustness against JSON decode errors

* fix(input_mixin.py): improve model_config formatting and update field_type alias for clarity and consistency in field definitions

* feat(types.py): refactor vertex constructors to use NodeData and add input/output methods for better component interaction

* feat(schema.py): add NodeData and Position TypedDicts for improved type safety and structure in vertex data handling

* feat(base.py): update Vertex to use NodeData type and add to_data method for better data management and access

* refactor(schema.py): update TargetHandle and SourceHandle models to include model_config attribute

* Add TypedDict classes for graph schema serialization in `schema.py`

* Refactor `Edge` class to improve handle validation and data handling

- Consolidated imports and removed redundant `BaseModel` definitions for `SourceHandle` and `TargetHandle`.
- Added `valid_handles`, `target_param`, and `_target_handle` attributes to `Edge` class.
- Enhanced handle validation logic to distinguish between dictionary and string types.
- Introduced `to_data` method to return edge data.
- Updated attribute names to follow consistent naming conventions (`base_classes`, `input_types`, `field_name`).

* Refactor `Edge` class to improve handle validation and data handling

* Refactor: Standardize attribute naming and add `to_data` method in Edge class

- Renamed attributes to use snake_case consistently (`baseClasses` to `base_classes`, `inputTypes` to `input_types`, `fieldName` to `field_name`).
- Added `to_data` method to return `_data` attribute.
- Updated validation methods to use new attribute names.

* Refactor: Update Edge class to consistently use snake_case for attributes and improve validation logic for handles

* Refactor: Change node argument type in add_node and _create_vertex methods to NodeData for better type safety and clarity

* Refactor: Implement JSON serialization for graph data with `dumps` and `dump` methods, enhancing data export capabilities

* Refactor: Add pytest fixtures for ingestion and RAG graphs, enhance test structure for better clarity and organization

* Refactor: Add pytest fixtures for memory_chatbot_graph tests and improve test structure

* Refactor: Remove unused methods in ComponentVertex class to streamline code and improve readability

* Refactor: Remove unnecessary line in ComponentVertex class to enhance code clarity and maintainability

* Refactor: Update import path for DefaultPromptField to improve code organization and maintainability in api_utils.py

* Refactor: Update import path for DefaultPromptField to enhance code organization and maintainability in prompt.py

* fix: Remove  fixture in test_memory_chatbot.py that blocked db setup

* Refactor: Add durations path for unit tests to improve test reporting

* Refactor: Add splitting algorithm option for unit tests

* Add async option to Makefile for unit tests and update GitHub Actions workflow

- Introduced `async` variable in Makefile to conditionally run unit tests with or without parallel execution.
- Updated `unit_tests` target in Makefile to handle `async` flag.
- Modified GitHub Actions workflow to set `async=false` for unit tests.
2024-08-05 21:00:46 +00:00
..
matchers Update linting workflows for frontend and Python code (#2171) 2024-06-14 06:27:48 -07:00
auto-update.yml bugfix: fix api request custom component (#2470) 2024-07-04 05:05:22 -07:00
ci.yml ci: add labeler job to automatically add 'lgtm' label when pull request review is approved (#2963) 2024-07-25 20:12:18 +00:00
codeql.yml Bump github/codeql-action from 2 to 3 (#1420) 2024-02-15 10:49:28 -03:00
conventional-labels.yml ci: remove pull_request_review event type from workflow configuration (#2808) 2024-07-18 12:31:29 -07:00
create-release.yml chore: Update poetry installation to use environment variable for version (#2074) 2024-06-05 10:40:58 -07:00
deploy_gh-pages.yml docs: added fetching from notion (#2670) 2024-07-12 22:59:52 +02:00
docker-build.yml chore: update HuggingFace Spaces build script to use correct space name (#2649) 2024-07-11 19:56:33 -03:00
docker_test.yml docker: force python version to 3.12.3 (#2148) 2024-06-12 06:09:46 -07:00
docs_test.yml docs: added fetching from notion (#2670) 2024-07-12 22:59:52 +02:00
fetch_docs_notion.yml fix: added checkout to workflow (#2683) 2024-07-12 16:19:06 -07:00
js_autofix.yml ci: update autofix workflows (#2521) 2024-07-04 14:23:58 +02:00
lint-js.yml bugfix: fix api request custom component (#2470) 2024-07-04 05:05:22 -07:00
lint-py.yml ci: update CI workflows and add CI workflow (#2498) 2024-07-03 08:24:35 -07:00
pre-release-base.yml chore(deps): bump docker/build-push-action from 5 to 6 2024-06-24 16:05:05 +00:00
pre-release-langflow.yml chore(deps): bump docker/build-push-action from 5 to 6 2024-06-24 16:05:05 +00:00
pre-release.yml chore: Increase timeout for server startup in pre-release.yml 2024-06-22 17:14:47 -03:00
py_autofix.yml build(deps):(deps): bump install-pinned/ruff from b52a71f70b28264686d57d1efef1ba845b9cec6c to 48a5818c5f7ce30e2822b67fb9c26d3e25d31fab (#3142) 2024-08-02 08:18:39 +00:00
python_test.yml feat: add dump and dumps methods to Graph (#3202) 2024-08-05 21:00:46 +00:00
release.yml fix: update curl command in release workflow to use correct endpoint (#3086) 2024-07-30 18:28:22 +00:00
scheduled_integration_test.yml fix: add checkout action to integration test workflow (#2869) 2024-07-22 11:34:33 -07:00
style-check-py.yml bugfix: fix api request custom component (#2470) 2024-07-04 05:05:22 -07:00
typescript_test.yml ci: improve test jobs titles (#3065) 2024-07-30 05:19:14 -07:00