Commit Graph

7 Commits

Author SHA1 Message Date
George
c803fe5145 new: update models (#956) 2025-04-22 16:54:47 +03:00
George
e9b427f023 new: forbid pydantic >2.0,<2.2.1 due to bug in update_forward_refs (#943) 2025-04-07 18:44:17 +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
0fffa1abd4 Pydantic v2 (#214)
* new: update autogenerated code

* fix: fix config conversions

* new: add pydantic compat

* new: add types to pydantic_compat

* new: update dependencies

* new: use pydantic compat functions

* new: add pydantic v2 field check

* fix typing

* fix typing

---------

Co-authored-by: generall <andrey@vasnetsov.com>
2023-07-16 01:23:21 +02:00
Andrey Vasnetsov
c3389e3c20 update api to v1.0.0 (#101)
* update api

* upd openapi fix bugs

* pylance fix

* fix: add TypeAlias to some common types

* fix: update models import for pylance

* fix: fix Batch test

* fix: update mypy config

* fix: define Payload before Batch

* fix: add missing .result to requests, add assert None for responses (#102)

* pylance fix in generator

---------

Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>
2023-02-08 11:11:25 +01:00
George
114c7fa144 refactoring: type fixes, replace invariant callable args with covariant (#95)
* refactoring: type fixes, replace invariant callable args with covariant

* refactoring: replace partially known autogenerated payload type with dict[any,any]

* fix: add quotes for unsubscriptable type annotation

* fix: update np array type hint

* fix: add missing poetry.lock

* fix: fix platform dependant types

* new: update version
2023-01-30 21:55:48 +04: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