Skip to content
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 to_frontend_node to Component #3122

Merged
merged 65 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
58c4369
refactor: update code references to use _code instead of code
ogabrielluiz Jul 31, 2024
1f96feb
refactor: add backwards compatible attributes to Component class
ogabrielluiz Jul 31, 2024
290f685
refactor: update Component constructor to pass config params with und…
ogabrielluiz Jul 31, 2024
ca1aa32
refactor: change attribute to use underscore
ogabrielluiz Jul 31, 2024
81391c5
refactor: update CustomComponent initialization parameters
ogabrielluiz Jul 31, 2024
6d01eda
refactor: update BaseComponent to accept UUID for _user_id
ogabrielluiz Jul 31, 2024
49349ff
refactor: import nanoid with type annotation
ogabrielluiz Jul 31, 2024
1e2f517
fix(custom_component.py): convert _user_id to string before passing t…
ogabrielluiz Jul 31, 2024
fde9687
feat(component.py): add method to set output types based on method re…
ogabrielluiz Jul 31, 2024
7f679a4
refactor: extract method to get method return type in CustomComponent
ogabrielluiz Jul 31, 2024
485e5e2
refactor(utils.py): refactor code to use _user_id instead of user_id …
ogabrielluiz Jul 31, 2024
2c389dc
refactor(utils.py, base.py): change parameter name 'add_name' to 'kee…
ogabrielluiz Jul 31, 2024
5325541
[autofix.ci] apply automated fixes
autofix-ci[bot] Jul 31, 2024
4a455db
refactor: update schema.py to include Edge related typres
ogabrielluiz Jul 31, 2024
86bba19
refactor: update BaseInputMixin to handle invalid field types gracefully
ogabrielluiz Jul 31, 2024
d495989
refactor: update file_types field alias in FileMixin
ogabrielluiz Jul 31, 2024
da58892
refactor(inputs): update field_type declarations in various input cla…
ogabrielluiz Jul 31, 2024
62c9ec4
refactor(inputs): convert dict to Message object in _validate_value m…
ogabrielluiz Jul 31, 2024
1d6491a
refactor(inputs): convert dict to Message object in _validate_value m…
ogabrielluiz Jul 31, 2024
5657101
refactor(inputs): update model_config in BaseInputMixin to enable pop…
ogabrielluiz Jul 31, 2024
1fe8126
refactor: update _extract_return_type method in CustomComponent to ac…
ogabrielluiz Jul 31, 2024
5ce27d2
refactor(component): add get_input and get_output methods for easier …
ogabrielluiz Jul 31, 2024
aab3fd6
refactor(vertex): add get_input and get_output methods for easier acc…
ogabrielluiz Jul 31, 2024
62acf55
refactor(component): add set_output_value method for easier modificat…
ogabrielluiz Jul 31, 2024
efd1592
feat: add run_until_complete and run_in_thread functions for handling…
ogabrielluiz Jul 31, 2024
fc54f35
refactor(component): add _edges attribute to Component class for mana…
ogabrielluiz Jul 31, 2024
1954edf
fix(component.py): fix conditional statement to check if self._vertex…
ogabrielluiz Jul 31, 2024
25b4dc5
refactor(component): add _get_fallback_input method for handling fall…
ogabrielluiz Jul 31, 2024
213a803
refactor(component): add TYPE_CHECKING import for Vertex in component.py
ogabrielluiz Jul 31, 2024
5ab8fed
refactor(component): add _map_parameters_on_frontend_node and _map_pa…
ogabrielluiz Jul 31, 2024
ea8ac9f
refactor(component): Add map_inputs and map_outputs methods for mappi…
ogabrielluiz Jul 31, 2024
13c63f0
refactor(component): Add Input, Output, and ComponentFrontendNode imp…
ogabrielluiz Jul 31, 2024
564af7e
refactor(component): Add map_inputs and map_outputs methods for mappi…
ogabrielluiz Jul 31, 2024
f324199
refactor(component): Add _process_connection_or_parameter method for …
ogabrielluiz Jul 31, 2024
e082ce6
refactor(frontend_node): Add set_field_value_in_template method for u…
ogabrielluiz Jul 31, 2024
8108555
refactor(inputs): Add DefaultPromptField class for default prompt inputs
ogabrielluiz Jul 31, 2024
3d76d6c
feat: Add Template.from_dict method for creating Template objects fro…
ogabrielluiz Jul 31, 2024
2452935
refactor(frontend_node): Add from_dict method for creating FrontendNo…
ogabrielluiz Jul 31, 2024
6ab4c35
refactor: update BaseComponent to use get_template_config method
ogabrielluiz Jul 31, 2024
f5d5ee8
Merge branch 'main' into refactor/initconfig
ogabrielluiz Jul 31, 2024
64d6190
Merge branch 'refactor/initconfig' into feat/outputtypes
ogabrielluiz Jul 31, 2024
97f14ef
Merge branch 'feat/outputtypes' into refactor/renamefnode
ogabrielluiz Jul 31, 2024
397893c
feat: add BaseModel class with model_config attribute
ogabrielluiz Jul 31, 2024
b59a6cc
refactor: update langflow.graph.edge.schema.py
ogabrielluiz Jul 31, 2024
8cc7700
refactor: update build_custom_component_template to use add_name inst…
ogabrielluiz Jul 31, 2024
c4de2b7
Merge branch 'main' into refactor/initconfig
ogabrielluiz Jul 31, 2024
a88ff42
feat(component.py): add method to set output types based on method re…
ogabrielluiz Jul 31, 2024
a8c3564
refactor: add _template_config property to BaseComponent
ogabrielluiz Jul 31, 2024
1ed4812
refactor: add type checking for Output types in add_types method
ogabrielluiz Jul 31, 2024
7acc1dd
update starter projects
ogabrielluiz Jul 31, 2024
4be549f
refactor: optimize imports in base.py
ogabrielluiz Jul 31, 2024
61bdbb1
fix(base.py): fix condition to check if self.types is not None before…
ogabrielluiz Jul 31, 2024
06ea280
Merge branch 'refactor/initconfig' into refactor/renamefnode
ogabrielluiz Jul 31, 2024
f9deeb6
Merge branch 'main' into refactor/renamefnode
ogabrielluiz Jul 31, 2024
e43ead1
Merge branch 'refactor/renamefnode' into refactor/edgetyping
ogabrielluiz Jul 31, 2024
cb4bb93
refactor: update build_custom_component_template to use add_name inst…
ogabrielluiz Jul 31, 2024
e9f082c
Merge branch 'refactor/renamefnode' into refactor/edgetyping
ogabrielluiz Jul 31, 2024
a235083
Merge branch 'main' into refactor/edgetyping
ogabrielluiz Jul 31, 2024
d3a3271
Merge branch 'refactor/edgetyping' into refactor/updateinputtypes
ogabrielluiz Jul 31, 2024
75f6a56
Merge branch 'refactor/updateinputtypes' into feat/addgetters
ogabrielluiz Jul 31, 2024
3201ce2
Merge branch 'feat/addgetters' into refactor/componentgraph
ogabrielluiz Jul 31, 2024
3aa7d0d
Merge branch 'refactor/componentgraph' into feat/tofrontendnode
ogabrielluiz Jul 31, 2024
2b0fa72
Merge branch 'main' into feat/tofrontendnode
ogabrielluiz Aug 1, 2024
d789f16
Merge branch 'main' into feat/tofrontendnode
ogabrielluiz Aug 2, 2024
518bd4d
fix(userSettings.spec.ts): update visibility check to ensure the corr…
ogabrielluiz Aug 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading