diff --git a/CHANGES b/CHANGES index d200d53..2c39d49 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,8 @@ +v. 1.5.2 +======== +Bugfix: `Database.get_collection` uses callers inheritance (same for async) + + v. 1.5.1 ======== Switching to endpoint as the only/primary way of specifying databases: diff --git a/astrapy/database.py b/astrapy/database.py index ef4a823..14e36dc 100644 --- a/astrapy/database.py +++ b/astrapy/database.py @@ -731,6 +731,7 @@ def get_collection( embedding_api_key=coerce_embedding_headers_provider(embedding_api_key), max_time_ms=collection_max_time_ms, ), + callers=self.callers, ) def create_collection( @@ -1810,6 +1811,7 @@ async def get_collection( embedding_api_key=coerce_embedding_headers_provider(embedding_api_key), max_time_ms=collection_max_time_ms, ), + callers=self.callers, ) async def create_collection( diff --git a/pyproject.toml b/pyproject.toml index c3bc841..63b7f50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires-python = ">=3.8" [tool.poetry] name = "astrapy" -version = "1.5.1" +version = "1.5.2" description = "AstraPy is a Pythonic SDK for DataStax Astra and its Data API" authors = [ "Stefano Lottini ",