Commit Graph

14 Commits

Author SHA1 Message Date
George
808b0abb2d Fix urljoin (#996)
* fix: fix urljoin usage

* fix: do not modify rest_uri, add tests
2025-05-21 14:46:10 +04:00
tellet-q
635457b47c new: Support for too many requests (#914)
* Update grpc client

* Update rest client and add new exception

* Ensure uploaders continue after wait

* Update

* Address coderabitai review

* Fix tests

* Re-generate clients

* Address review

* Revert attempt handling

* Add new exception

* Add tests

* Do not throw ResourceQuotaExceeded

* Add support for async grpc

* Remove iscoroutine check and more

* update models

* Address some coderabbitai comments

* Address review

* Fix test

* Fix backwards compatibility tests

* Address review

* Get rid of redundant code

* Address ai review

* refactoring: refactor tests

* refactoring: do not inherit resource exhausted from aiorpcerror

* fix: remove redundant import

---------

Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>
2025-03-24 18:05:15 +03:00
Andrey Vasnetsov
188f3c62bb use proper urljoin (#890) 2025-01-22 17:04:11 +01:00
Kartik Gupta
06041473f0 Tag remap (#801)
* remap tag with api.qdrant.tech

* re re-gen

* fix: Updated accessors

* regen with py 3.10.15

---------

Co-authored-by: Anush008 <anushshetty90@gmail.com>
2024-10-29 15:48:52 +01:00
Andrey Vasnetsov
815a784469 Update openapi v1 10 x (#622)
* update api with conversions

* introduce IDF modifier for sparse vectors in local mode

* generate stuff

* regen async

* Update tests/fixtures/points.py

* fix: address review comments

* upd models

* fix: update grpc overwrite payload conversion, fix order by conversion (#653)

---------

Co-authored-by: George <george.panchuk@qdrant.tech>
2024-06-20 17:55:35 +02:00
George
9221338fcc new: propagate timeout from methods to httpx (#534)
* new: propagate timeout from methods to httpx

* refactor: refactor timeout propagation (#535)

* tests: add timeout test

* refactor: remove redundant kwargs
2024-03-13 21:01:24 +01:00
Luis Cossío
332777db2a Local mode of order_by parameter in scroll + datetime support (#491)
* generate rest client (only points_api)

* generate grpc client (points part only)

* add local mode implementation

* update collections_api.py

* add grpc conversions

* fix problematic StartFrom Union order

* add basic congruence test

* route order_by in qdrant clients

* fix local mode `start_from` logic

* add library stubs for dateutil

* generate async client

* generate the rest of the rest client 👻

* test datetime values too

* add int Range and int StartFrom

* update points.proto and points_pb2.py

* fix conversion of range interface

* add conversion fixtures and use better conversion of datetime to timestamp

* remove integer range

* restore `value_by_key()`

* OrderBy grpc to rest conversions

* generate async client

* use `OrderByInterface` instead of only `OrderBy`

* - use equivalent qdrant core datetime parsing,
- use type alias for OrderingValue, instead of custom class,
- better random date generation

* Drop custom datetime parser implementation

* nit fixes

* fix flakiness of the congruence test by subsorting

* better datetime to timestamp conversion

* uncomment conversion fixtures, add Direction

* restore poetry.lock and remove dateutil dep

* poetry lock --no-update

* rename datetime.py to datetime_utils.py

* add StrictInt to StartFrom union

* use more date formats in fixtures

* move conversion test to `test_validate_conversions.py`

* drop `%:z` formats

* add more complex timezones to payload fixtures, fix deserialization

* update datetime parsing test
2024-03-01 09:51:39 -03:00
Arnaud Gourlay
93edff8f97 Geo polygons support (#325)
* regenerate client

* regen grpc client

* document build process

* work from Zein in https://github.com/qdrant/qdrant-client/pull/272

* update rest client with optional field

* code refactor and better naming

* remove shapely as a dependency

* fix typing

---------

Co-authored-by: zzzz-vincent <wenzishen.vincent@hotmail.com>
Co-authored-by: generall <andrey@vasnetsov.com>
2023-10-06 21:43:25 +02:00
George
bab30948a6 new: add explicit close method (#227)
* new: add explicit close method

* new: fix async, close local mode, extend interface

* new: update closed flag usage, prevent reinitializing connections
2023-07-27 19:18:31 +03:00
Andrey Vasnetsov
3296949f17 update to v0.11.0 (#77)
* update to v0.11.0

* add locks API

* disable locks test for older version

* fix: disable locks test for older version

* fix backward compatibility
2022-10-26 12:38:59 +02:00
Andrey Vasnetsov
810766355d api-key auth for rest and grpc (#61) 2022-08-23 11:24:50 +02:00
Andrey Vasnetsov
52bca997e1 V0.8.5 0.8.7 (#54)
* upd to support v0.8.5 of Qdrant

* add generated files
2022-07-26 10:05:16 +02:00
Andrey Vasnetsov
eb15dc373c V0.8.0 (#45)
* updates for v0.8.0

* update dependencies

* fix: use strict bool
2022-06-08 13:43:47 +02:00
Andrey Vasnetsov
fdd96cbc46 move qdrant_openapi_client into qdrant_client.http (#27)
* move qdrant_openapi_client into qdrant_client.http

* add test for exceptions import

* upd readme
2022-03-08 19:39:36 +01:00