Skip to content

Conversation

@cbornet
Copy link
Collaborator

@cbornet cbornet commented Oct 8, 2024

No description provided.

@cbornet cbornet requested a review from hemidactylus October 8, 2024 12:13
class AstraDBGraphVectorStore(GraphVectorStore):
def __init__(
self,
*,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This aligns with the vector store.
Breaking change but I believe it's not too late ?
WDYT @kerinin @hemidactylus ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems OK to me - IIUC this means that keyword arguments used positionally could be broken?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIUC this means that keyword arguments used positionally could be broken?

Yes, exactly.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree: no big deal. A well-placed * can go a long way in preventing future headaches in these constructor signatures.
(also the general LC vibe is that "graph stuff is still sort-of-beta / expect the API to change", so even less trouble with the slight change here)

@cbornet cbornet merged commit 4692834 into main Oct 9, 2024
13 checks passed
@cbornet cbornet deleted the gvs-docstring branch August 28, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants