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

Flatten documents to be top-level #13

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Flatten documents to be top-level #13

merged 2 commits into from
Jan 24, 2024

Conversation

kerinin
Copy link
Contributor

@kerinin kerinin commented Jan 24, 2024

No description provided.

bjchambers and others added 2 commits January 24, 2024 15:25
Also applied `ruff check --fix` and `ruff format`.
@@ -3,6 +3,12 @@

from pydantic import BaseModel

class CreateRequest(BaseModel):
Copy link
Contributor

Choose a reason for hiding this comment

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

DocumentCreate?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We have a couple different patterns - I may try to normalize in future PRs

) -> List[Document]:
"""List documents."""
# TODO: Test
results = await conn.fetch(
if collection_id == None:
Copy link
Contributor

Choose a reason for hiding this comment

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

Potential concern here around auth -- maybe require it for now?

@kerinin kerinin merged commit e8c7e3d into main Jan 24, 2024
@bjchambers bjchambers deleted the rm/flatten branch January 29, 2024 16:33
@bjchambers bjchambers added the enhancement New feature or request label Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants