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

Improve GVS and VS pydoc #94

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Improve GVS and VS pydoc #94

merged 1 commit into from
Oct 9, 2024

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
@@ -44,28 +49,144 @@ def _tag_to_str(kind: str, tag: str) -> str:
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
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.

3 participants