Coverage for /home/runner/work/viur-core/viur-core/viur/src/viur/core/db.py: 78%
7 statements
« prev ^ index » next coverage.py v7.6.3, created at 2024-10-16 22:16 +0000
« prev ^ index » next coverage.py v7.6.3, created at 2024-10-16 22:16 +0000
1import importlib
2from viur.core.config import conf
4if conf.db_engine == "viur.datastore": 4 ↛ 7line 4 didn't jump to line 7 because the condition on line 4 was always true
5 from viur.datastore import *
6else:
7 globals().update(importlib.import_module(conf.db_engine).__dict__)
9KeyClass = Key
11__all__ = [KEY_SPECIAL_PROPERTY, DATASTORE_BASE_TYPES, SortOrder, Entity, Key, KeyClass, Put, Get, Delete, AllocateIDs,
12 CollisionError, keyHelper, fixUnindexableProperties, GetOrInsert, Query, QueryDefinition, IsInTransaction,
13 acquireTransactionSuccessMarker, RunInTransaction, config, startDataAccessLog, endDataAccessLog, Count,
14 cache]