pyLodStorage 0.0.63__tar.gz → 0.0.65__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/PKG-INFO +1 -1
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/csv.py +0 -1
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/jsonable.py +5 -1
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/pylodstorage.egg-info/PKG-INFO +1 -1
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/pylodstorage.egg-info/requires.txt +1 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/setup.py +2 -1
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/LICENSE +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/README.md +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/__init__.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/entity.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/jsonpicklemixin.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/lod.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/mwTable.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/plot.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/query.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/sample.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/schema.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/sparql.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/sql.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/storageconfig.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/tabulateCounter.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/uml.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/lodstorage/yamlablemixin.py +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/pylodstorage.egg-info/SOURCES.txt +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/pylodstorage.egg-info/dependency_links.txt +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/pylodstorage.egg-info/top_level.txt +0 -0
- {pylodstorage-0.0.63 → pylodstorage-0.0.65}/setup.cfg +0 -0
|
@@ -379,6 +379,7 @@ class JSONAbleList(JSONAble):
|
|
|
379
379
|
self.__dict__[self.listName] = result
|
|
380
380
|
else:
|
|
381
381
|
# ORM mode
|
|
382
|
+
# TODO - handle errors
|
|
382
383
|
self.fromLoD(lod,append=False)
|
|
383
384
|
return self.getList()
|
|
384
385
|
|
|
@@ -402,7 +403,7 @@ class JSONAbleList(JSONAble):
|
|
|
402
403
|
# get the relevant list of dicts
|
|
403
404
|
lod=lodOrDict[self.listName]
|
|
404
405
|
else:
|
|
405
|
-
msg=f"invalid JSON for getLoD from Json\nexpecting a list of dicts or a dict with {self.listName} as list\nfound a dict with keys: {
|
|
406
|
+
msg=f"invalid JSON for getLoD from Json\nexpecting a list of dicts or a dict with '{self.listName}' as list\nfound a dict with keys: {lodOrDict.keys()} instead"
|
|
406
407
|
raise Exception(msg)
|
|
407
408
|
if types is not None:
|
|
408
409
|
types.fixTypes(lod,self.listName)
|
|
@@ -415,6 +416,9 @@ class JSONAbleList(JSONAble):
|
|
|
415
416
|
Args:
|
|
416
417
|
lod(list): the list of dicts to load
|
|
417
418
|
append(bool): if True append to my existing entries
|
|
419
|
+
|
|
420
|
+
Return:
|
|
421
|
+
list: a list of errors (if any)
|
|
418
422
|
|
|
419
423
|
'''
|
|
420
424
|
errors=[]
|
|
@@ -11,7 +11,7 @@ with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
|
|
|
11
11
|
|
|
12
12
|
setup(
|
|
13
13
|
name='pylodstorage',
|
|
14
|
-
version='0.0.
|
|
14
|
+
version='0.0.65',
|
|
15
15
|
|
|
16
16
|
packages=['lodstorage',],
|
|
17
17
|
author='Wolfgang Fahl',
|
|
@@ -32,6 +32,7 @@ setup(
|
|
|
32
32
|
'PyYAML',
|
|
33
33
|
'pandas',
|
|
34
34
|
'jsonpickle',
|
|
35
|
+
'tabulate'
|
|
35
36
|
],
|
|
36
37
|
classifiers=[
|
|
37
38
|
'Programming Language :: Python',
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|