Skip to content

feat: graph_name validation on graph store construction#162

Merged
averikitsch merged 4 commits into
googleapis:mainfrom
RedHeadphone:main
Apr 9, 2025
Merged

feat: graph_name validation on graph store construction#162
averikitsch merged 4 commits into
googleapis:mainfrom
RedHeadphone:main

Conversation

@RedHeadphone
Copy link
Copy Markdown
Contributor

adding small validation in graph name

@RedHeadphone RedHeadphone requested review from a team March 13, 2025 16:45
@google-cla
Copy link
Copy Markdown

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
@gRedHeadphone
Copy link
Copy Markdown

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
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

@mtyin added tests

@amullick-git
Copy link
Copy Markdown
Contributor

/gcbrun

@rahul2393 rahul2393 requested a review from amullick-git April 4, 2025 04:57
@amullick-git
Copy link
Copy Markdown
Contributor

lgtm. Make sure the tests are passing.

@RedHeadphone
Copy link
Copy Markdown
Contributor Author

@averikitsch pending review

@averikitsch
Copy link
Copy Markdown
Collaborator

/gcbrun

@averikitsch averikitsch changed the title chore: graph_name validation on graph store construction feat: graph_name validation on graph store construction Apr 9, 2025
@averikitsch averikitsch merged commit c753a74 into googleapis:main Apr 9, 2025
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.

6 participants