ftmq.store
Store
Bases: Store
Feature add-ons to nomenklatura.store.Store
Source code in ftmq/store/base.py
__init__(catalog=None, dataset=None, linker=None, **kwargs)
Initialize a store. This should be called via
get_store
Parameters:
Name | Type | Description | Default |
---|---|---|---|
catalog
|
C | None
|
A |
None
|
dataset
|
Dataset | str | None
|
A |
None
|
linker
|
Resolver | None
|
A |
None
|
Source code in ftmq/store/base.py
get_catalog()
iterate(dataset=None)
Iterate all the entities, optional filter for a dataset.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
dataset
|
str | Dataset | None
|
|
None
|
Yields:
Type | Description |
---|---|
CEGenerator
|
Generator of |
Source code in ftmq/store/base.py
View
Bases: View
Feature add-ons to nomenklatura.store.base.View
Source code in ftmq/store/base.py
entities(query=None)
Get the entities of a store, optionally filtered by a
Query
object.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
query
|
Q | None
|
The Query filter object |
None
|
Yields:
Type | Description |
---|---|
CEGenerator
|
Generator of |