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

new: deprecate upload records, update tests, prohibit migration of co… #447

Merged
merged 7 commits into from
Jan 19, 2024

Conversation

joein
Copy link
Member

@joein joein commented Jan 19, 2024

  • Deprecate usage of upload_records due to the deprecation of models.Record. models.Record was deprecated due to a shard_key which can't be specified item-by-item in uploading processes Replace types.Record in upload_records with Points #427
  • Update corresponding tests
  • Prohibit migration of collections with custom shard keys since it is not implemented and is not a frequent use case (yet a hard one)

Copy link

netlify bot commented Jan 19, 2024

Deploy Preview for poetic-froyo-8baba7 ready!

Name Link
🔨 Latest commit 17b7573
🔍 Latest deploy log https://app.netlify.com/sites/poetic-froyo-8baba7/deploys/65aac94e04d0f60008a57672
😎 Deploy Preview https://deploy-preview-447--poetic-froyo-8baba7.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@joein joein requested a review from generall January 19, 2024 15:07
max_retries=max_retries,
wait=wait,
shard_key_selector=shard_key_selector,
**kwargs,
Copy link
Member

Choose a reason for hiding this comment

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

if kwargs is empty, let's not pass it here

@joein joein force-pushed the deprecate-upload-records branch from f2c7814 to 319bd1b Compare January 19, 2024 19:08
@joein joein merged commit a2adc2d into dev Jan 19, 2024
5 of 10 checks passed
joein added a commit that referenced this pull request Jan 19, 2024
#447)

* new: deprecate upload records, update tests, prohibit migration of collections with custom shards

* Update qdrant_client/qdrant_client.py

* Update qdrant_client/async_qdrant_client.py

* new: replace autogenerated int ids with uuids (#448)

* fix: remove redundant kwargs

* fix: regen async

* fix: remove redundant import

---------

Co-authored-by: Andrey Vasnetsov <[email protected]>
@generall generall deleted the deprecate-upload-records branch May 3, 2024 10:49
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.

2 participants