qdrant_client.conversions.common_types module
- get_args_subscribed(tp: type)[source]
Get type arguments with all substitutions performed. Supports subscripted generics having __origin__
- remap_type(tp: type) type[source]
Remap type to a type that can be used in type annotations
Pydantic uses custom types for strict types, so we need to remap them to standard types so that they can be used in type annotations and isinstance checks