-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
test(astra): Refactor AstraDB imports in test_astra_component #3413
Conversation
Pull Request Validation ReportThis comment is automatically generated by Conventional PR Whitelist Report
Result Pull request does not satisfy any enabled whitelist criteria. Pull request will be validated. Validation Report
Result Pull request satisfies all enabled pull request rules. Last Modified at 18 Aug 24 14:18 UTC |
This pull request is automatically being deployed by Amplify Hosting (learn more). |
@@ -186,6 +190,8 @@ def test_astra_vectorize_with_provider_api_key(): | |||
) | |||
def test_astra_vectorize_passes_authentication(): | |||
"""tests vectorize using the authentication parameter""" | |||
from langchain_astradb import AstraDBVectorStore, CollectionVectorServiceOptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ruff got it - need to add from langflow.components.embeddings.AstraVectorize import AstraVectorizeComponent
01562c5
to
43d9ada
Compare
* test(astra): Refactor AstraDB imports in test_astra_component * fix: Add AstraVectorizeComponent to AstraDB tests.
* test(astra): Refactor AstraDB imports in test_astra_component * fix: Add AstraVectorizeComponent to AstraDB tests.
* test(astra): Refactor AstraDB imports in test_astra_component * fix: Add AstraVectorizeComponent to AstraDB tests.
* test(astra): Refactor AstraDB imports in test_astra_component * fix: Add AstraVectorizeComponent to AstraDB tests.
* feat: Refactor how configuration attributes are handled in Component class. * refactor: Update method name to handle singular and plural inputs. * refactor: Add value validation for input and attribute assignment. * test: Add test for setting invalid input in task component. * fix: add param without underscore to inputs * test(astra): Refactor AstraDB imports in test_astra_component (#3413) * test(astra): Refactor AstraDB imports in test_astra_component * fix: Add AstraVectorizeComponent to AstraDB tests. * fix: Refactor custom component error message for setting parameter or attribute. * test(astra): Refactor AstraDB imports in test_astra_component (#3413) * test(astra): Refactor AstraDB imports in test_astra_component * fix: Add AstraVectorizeComponent to AstraDB tests. * chore: Refactor joining methods list in _set_parameter_or_attribute function. * refactor: Refactor error message string formatting in Component class.
* feat: Refactor how configuration attributes are handled in Component class. * refactor: Update method name to handle singular and plural inputs. * refactor: Add value validation for input and attribute assignment. * test: Add test for setting invalid input in task component. * fix: add param without underscore to inputs * test(astra): Refactor AstraDB imports in test_astra_component (#3413) * test(astra): Refactor AstraDB imports in test_astra_component * fix: Add AstraVectorizeComponent to AstraDB tests. * fix: Refactor custom component error message for setting parameter or attribute. * test(astra): Refactor AstraDB imports in test_astra_component (#3413) * test(astra): Refactor AstraDB imports in test_astra_component * fix: Add AstraVectorizeComponent to AstraDB tests. * chore: Refactor joining methods list in _set_parameter_or_attribute function. * refactor: Refactor error message string formatting in Component class.
* test(astra): Refactor AstraDB imports in test_astra_component * fix: Add AstraVectorizeComponent to AstraDB tests.
* feat: Refactor how configuration attributes are handled in Component class. * refactor: Update method name to handle singular and plural inputs. * refactor: Add value validation for input and attribute assignment. * test: Add test for setting invalid input in task component. * fix: add param without underscore to inputs * test(astra): Refactor AstraDB imports in test_astra_component (#3413) * test(astra): Refactor AstraDB imports in test_astra_component * fix: Add AstraVectorizeComponent to AstraDB tests. * fix: Refactor custom component error message for setting parameter or attribute. * test(astra): Refactor AstraDB imports in test_astra_component (#3413) * test(astra): Refactor AstraDB imports in test_astra_component * fix: Add AstraVectorizeComponent to AstraDB tests. * chore: Refactor joining methods list in _set_parameter_or_attribute function. * refactor: Refactor error message string formatting in Component class.
* test(astra): Refactor AstraDB imports in test_astra_component * fix: Add AstraVectorizeComponent to AstraDB tests.
* feat: Refactor how configuration attributes are handled in Component class. * refactor: Update method name to handle singular and plural inputs. * refactor: Add value validation for input and attribute assignment. * test: Add test for setting invalid input in task component. * fix: add param without underscore to inputs * test(astra): Refactor AstraDB imports in test_astra_component (#3413) * test(astra): Refactor AstraDB imports in test_astra_component * fix: Add AstraVectorizeComponent to AstraDB tests. * fix: Refactor custom component error message for setting parameter or attribute. * test(astra): Refactor AstraDB imports in test_astra_component (#3413) * test(astra): Refactor AstraDB imports in test_astra_component * fix: Add AstraVectorizeComponent to AstraDB tests. * chore: Refactor joining methods list in _set_parameter_or_attribute function. * refactor: Refactor error message string formatting in Component class.
Just some refactor to minimize error messages