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

chore: graph_name validation on graph store construction #162

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RedHeadphone
Copy link

adding small validation in graph name

@RedHeadphone RedHeadphone requested review from a team as code owners March 13, 2025 16:45
Copy link

google-cla bot commented Mar 13, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/langchain-google-spanner-python API. label Mar 13, 2025
@RedHeadphoneAtGoogle
Copy link

Its to raise error in graph store construction (rather than add_graph_document method) if user has used "-" in graph name or any other invalid graphname

@rahul2393 could you look into it?

@mtyin
Copy link
Collaborator

mtyin commented Mar 20, 2025

lgtm, can you add a test for it?

@RedHeadphone RedHeadphone changed the title graph_name validation on graph store construction chore: graph_name validation on graph store construction Mar 23, 2025
@RedHeadphone
Copy link
Author

@mtyin added tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/langchain-google-spanner-python API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants