diff --git a/CHANGELOG.md b/CHANGELOG.md index 797a2211c..3ee92a390 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## Release notes +### 0.12.9 -- Mar 12, 2021 +* Fix bug with fetch1 with `dj.config['fetch_format']="frame"`. (#876) PR #880 + ### 0.12.8 -- Jan 12, 2021 * table.children, .parents, .descendents, and ancestors can return queryable objects. PR #833 * Load dependencies before querying dependencies. (#179) PR #833 diff --git a/datajoint/fetch.py b/datajoint/fetch.py index c2e6649ad..cee7fa3fa 100644 --- a/datajoint/fetch.py +++ b/datajoint/fetch.py @@ -242,7 +242,7 @@ def __call__(self, *attrs, squeeze=False, download_path='.'): for name in heading.names) else: # fetch some attributes, return as tuple attributes = [a for a in attrs if not is_key(a)] - result = self._expression.proj(*attributes).fetch(squeeze=squeeze, download_path=download_path) + result = self._expression.proj(*attributes).fetch(squeeze=squeeze, download_path=download_path, format="array") if len(result) != 1: raise DataJointError('fetch1 should only return one tuple. %d tuples were found' % len(result)) return_values = tuple( diff --git a/datajoint/version.py b/datajoint/version.py index cd2ca5888..bea7a65a6 100644 --- a/datajoint/version.py +++ b/datajoint/version.py @@ -1,3 +1,3 @@ -__version__ = "0.12.8" +__version__ = "0.12.9" assert len(__version__) <= 10 # The log table limits version to the 10 characters diff --git a/docs-parts/intro/Releases_lang1.rst b/docs-parts/intro/Releases_lang1.rst index 38ab9c0b2..1c3585110 100644 --- a/docs-parts/intro/Releases_lang1.rst +++ b/docs-parts/intro/Releases_lang1.rst @@ -1,3 +1,7 @@ +0.12.9 -- Mar 12, 2021 +---------------------- +* Fix bug with fetch1 with `dj.config['fetch_format']="frame"`. Issue #876 (PR #880) + 0.12.8 -- Jan 12, 2021 --------------------- * table.children, .parents, .descendents, and ancestors can return queryable objects. PR #833