Skip to content

Commit

Permalink
Merge pull request pandas-dev#395 from manahl/MetadataStore
Browse files Browse the repository at this point in the history
Update CHANGES.md and fixtures tests
  • Loading branch information
kraphtuos authored Aug 3, 2017
2 parents aba157a + 137a61d commit 206541f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Changelog

### 1.49
### 1.49 (2017-08-02)
* Feature: #392 MetadataStore
* Bugfix: #384 sentinels missing time data on chunk start/ends in ChunkStore
* Bugfix: #382 Remove dependency on cython being pre-installed
* Bugfix: #343 Renaming libraries/collections within a namespace/database
Expand Down
1 change: 0 additions & 1 deletion arctic/store/metadata_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def read(self, symbol):
res = self.find_one({'symbol': symbol}, sort=[('start_time', pymongo.DESCENDING)])
return res['metadata'] if res is not None else None


def write_history(self, collection):
"""
Manually overwrite entire metadata history for symbols in `collection`
Expand Down
7 changes: 7 additions & 0 deletions tests/integration/fixtures/test_arctic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from arctic.arctic import Arctic
from arctic.store.version_store import VersionStore
from arctic.store.metadata_store import MetadataStore


def test_arctic(arctic):
Expand All @@ -8,3 +9,9 @@ def test_arctic(arctic):

def test_library(library):
assert isinstance(library, VersionStore)
assert library._arctic_lib.get_library_type() == 'VersionStore'


def test_ms_lib(ms_lib):
assert isinstance(ms_lib, MetadataStore)
assert ms_lib._arctic_lib.get_library_type() == 'MetadataStore'

0 comments on commit 206541f

Please sign in to comment.