italojohnny
228d4e8574
fix union-attr error reported by mypy
2024-06-20 21:57:25 -03:00
Gabriel Luiz Freitas Almeida
d2eb36bef2
refactor: Update RedisVectorStoreComponent to use Retriever type hinting in return value
2024-06-20 21:52:20 -03:00
Gabriel Luiz Freitas Almeida
5561b4ec52
refactor: Update stop method in CustomComponent to allow for optional output_name parameter
2024-06-20 21:51:45 -03:00
Gabriel Luiz Freitas Almeida
4c1599f531
refactor: Update RecursiveCharacterTextSplitterComponent separators assignment
2024-06-20 21:51:11 -03:00
Gabriel Luiz Freitas Almeida
fe5d430006
refactor: Update Input class to remove field_type validation and post-processing
2024-06-20 21:51:11 -03:00
Gabriel Luiz Freitas Almeida
5e6857ec8b
refactor: Update RedisCache instantiation to use type hinting for variable declaration
2024-06-20 21:51:11 -03:00
Gabriel Luiz Freitas Almeida
2517dda72a
refactor: Update instantiate_class function to support CustomComponent and Component inheritance
2024-06-20 21:51:10 -03:00
Gabriel Luiz Freitas Almeida
7df49db6dd
refactor: Update TextInput class to include additional value types
2024-06-20 21:51:10 -03:00
Gabriel Luiz Freitas Almeida
e96e6f9a16
refactor: Update edges_source_names property return type to set[str]
2024-06-20 21:51:10 -03:00
Gabriel Luiz Freitas Almeida
5852204d08
refactor: Update SourceHandle class to use default_factory for output_types
2024-06-20 21:50:43 -03:00
Gabriel Luiz Freitas Almeida
cd4bb71997
refactor: Update Component class to use empty lists for inputs and outputs
2024-06-20 21:50:43 -03:00
Gabriel Luiz Freitas Almeida
6d820df454
refactor: Remove build_base_retriever method from VectaraVectorStoreComponent
2024-06-20 21:50:43 -03:00
Gabriel Luiz Freitas Almeida
1163515e7a
refactor: Remove unused code and update HuggingFaceInferenceAPIEmbeddingsComponent
2024-06-20 21:50:43 -03:00
italojohnny
64e0968159
fix return-value error reported by mypy
2024-06-20 21:47:34 -03:00
italojohnny
dc6e30d598
fix return error reported by mypy
2024-06-20 21:38:35 -03:00
ogabrielluiz
d092211375
Apply Prettier formatting
2024-06-21 00:28:53 +00:00
Gabriel Luiz Freitas Almeida
6b30238f61
refactor: Remove extraneous property from is-unicode-supported dependency
2024-06-20 21:27:38 -03:00
Gabriel Luiz Freitas Almeida
2e1bc10661
refactor: Update WebhookComponent to use MultilineInput for data field
2024-06-20 21:27:38 -03:00
Gabriel Luiz Freitas Almeida
0358166b91
refactor: Update APIRequestComponent to use DataInput for headers and body fields
2024-06-20 21:27:38 -03:00
Gabriel Luiz Freitas Almeida
eeb3077b6f
refactor: Improve endpoint uniqueness check in create_flow function
2024-06-20 21:27:37 -03:00
Gabriel Luiz Freitas Almeida
29759f2c3e
refactor: Rename test_record.py to test_data_class.py and update imports and references accordingly
2024-06-20 21:27:37 -03:00
Gabriel Luiz Freitas Almeida
bcfe399df1
refactor: Update create_or_update_starter_projects to use await keyword for consistency
2024-06-20 21:27:37 -03:00
Gabriel Luiz Freitas Almeida
4e705b8af1
refactor: Update parameterComponent to disable editing when disabled prop is true
2024-06-20 21:27:37 -03:00
italojohnny
628e78959d
fix union-attr error reported by mypy
2024-06-20 21:06:54 -03:00
Gabriel Luiz Freitas Almeida
b7154f470a
fix path to data folder
2024-06-20 19:08:40 -03:00
Gabriel Luiz Freitas Almeida
86dfeb7eff
refactor: Update langflow schema field module to use consistent type hinting for better clarity and consistency
2024-06-20 19:05:34 -03:00
Gabriel Luiz Freitas Almeida
f0386ea6ec
refactor: Update logs variable type annotation in build_logs method for better clarity and consistency
2024-06-20 19:05:27 -03:00
Gabriel Luiz Freitas Almeida
d0bf57fc91
refactor: Update langflow schema message module to use ChatPromptTemplate for generating prompt template
2024-06-20 19:05:21 -03:00
Gabriel Luiz Freitas Almeida
df3c275db8
refactor: Update langflow schema data module to use BaseMessage instead of HumanMessage or SystemMessage
2024-06-20 19:05:16 -03:00
Gabriel Luiz Freitas Almeida
6e524c4bf9
refactor: Update SourceHandle baseClasses field to use default_factory for better consistency
2024-06-20 19:01:47 -03:00
Gabriel Luiz Freitas Almeida
86ec6722cd
refactor: Update FrontendNode validate_attributes method to check for overlap between input and output names
2024-06-20 19:01:40 -03:00
Gabriel Luiz Freitas Almeida
93ea76150f
refactor: Fix type hint for _logs attribute in CustomComponent class
2024-06-20 18:59:20 -03:00
Gabriel Luiz Freitas Almeida
b99ff9f88e
refactor: Add input validation for None values in Component class
2024-06-20 18:59:14 -03:00
Gabriel Luiz Freitas Almeida
383229db73
refactor: Update WebhookComponent to use type hinting for message variable
2024-06-20 18:59:07 -03:00
Gabriel Luiz Freitas Almeida
77e1122782
🐛 (component.py): fix type hint for map_inputs method parameter to match the imported InputTypes class for better clarity and consistency
2024-06-20 18:56:49 -03:00
Gabriel Luiz Freitas Almeida
d62362e006
refactor: Update frontend_node validate method name for better clarity and consistency
2024-06-20 18:56:33 -03:00
Gabriel Luiz Freitas Almeida
d4e5b45237
♻️ (component.py): refactor import statement to improve readability and maintainability
...
♻️ (component.py): refactor method variable type annotation for better clarity and consistency
2024-06-20 18:56:18 -03:00
Gabriel Luiz Freitas Almeida
3422cbd8e1
refactor: Update Vertex class to use type hinting for required_inputs and optional_inputs
2024-06-20 18:52:21 -03:00
Gabriel Luiz Freitas Almeida
7f6aebb490
refactor: Add output_name parameter to stop method in CustomComponent
2024-06-20 18:52:15 -03:00
Gabriel Luiz Freitas Almeida
4eec44e9a8
refactor: Fix conditional check in Graph.mark_branch method
2024-06-20 18:48:53 -03:00
Gabriel Luiz Freitas Almeida
bb08ade8e5
refactor: Update Component class to handle flow_id in Message objects
2024-06-20 18:48:45 -03:00
Gabriel Luiz Freitas Almeida
1b89ac2d73
refactor: Update RecursiveCharacterTextSplitterComponent to use type hinting for separators and chunk_size
2024-06-20 18:47:02 -03:00
Gabriel Luiz Freitas Almeida
a01b98e700
refactor: Remove unused import statement in model_specs/__init__.py
2024-06-20 18:47:02 -03:00
Gabriel Luiz Freitas Almeida
69146c682e
refactor: Update CacheService to use generic types for locks
2024-06-20 18:47:02 -03:00
Gabriel Luiz Freitas Almeida
5be733e68c
refactor: Update SelfQueryRetriever to handle non-string query types
2024-06-20 18:47:02 -03:00
Gabriel Luiz Freitas Almeida
f72eda81b5
refactor: Update Weaviate.py import statement to use type hinting for weaviate module
2024-06-20 18:47:02 -03:00
italojohnny
19bd88b8f9
fix arg-type error reported by mypy
2024-06-20 18:35:18 -03:00
cristhianzl
cd49b2e55a
Merge branch 'two_edges' of https://github.com/langflow-ai/langflow into two_edges
2024-06-20 18:30:16 -03:00
cristhianzl
fac5c75fe6
✅ (tests): update locators in end-to-end tests for chat, dropdown, and file upload components
...
✅ (tests): update locators and tooltips in end-to-end tests for filterEdge
✅ (tests): add random name generation in store.spec.ts for unique flow names
✅ (tests): update locators in textInputOutput.spec.ts for consistency
✅ (twoEdges.spec.ts): update test to click correct icon-Eye element and remove redundant checks
2024-06-20 18:30:11 -03:00
italojohnny
55cdff818e
fix no-redef error reported by mypy
2024-06-20 18:28:48 -03:00