localcosmos-app-kit 0.9.9__py3-none-any.whl → 0.9.10__py3-none-any.whl
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.
- app_kit/taxonomy/sources/TaxonSourceManager.py +17 -0
- app_kit/taxonomy/sources/algaebase/AlgaebaseManager.py +0 -8
- {localcosmos_app_kit-0.9.9.dist-info → localcosmos_app_kit-0.9.10.dist-info}/METADATA +2 -2
- {localcosmos_app_kit-0.9.9.dist-info → localcosmos_app_kit-0.9.10.dist-info}/RECORD +7 -7
- {localcosmos_app_kit-0.9.9.dist-info → localcosmos_app_kit-0.9.10.dist-info}/WHEEL +0 -0
- {localcosmos_app_kit-0.9.9.dist-info → localcosmos_app_kit-0.9.10.dist-info}/licenses/LICENCE +0 -0
- {localcosmos_app_kit-0.9.9.dist-info → localcosmos_app_kit-0.9.10.dist-info}/top_level.txt +0 -0
|
@@ -189,6 +189,12 @@ class SourceTreeTaxon(SourceTaxon):
|
|
|
189
189
|
is_synonym = False
|
|
190
190
|
is_tree_taxon = True
|
|
191
191
|
nuid = None
|
|
192
|
+
|
|
193
|
+
def __init__(self, latname, author, rank, source, source_id, parent_name, parent_rank, **kwargs):
|
|
194
|
+
super().__init__(latname, author, rank, source, source_id, **kwargs)
|
|
195
|
+
|
|
196
|
+
self.parent_name = parent_name
|
|
197
|
+
self.parent_rank = parent_rank
|
|
192
198
|
|
|
193
199
|
'''
|
|
194
200
|
nuid management
|
|
@@ -227,6 +233,15 @@ class SourceTreeTaxon(SourceTaxon):
|
|
|
227
233
|
return parent
|
|
228
234
|
|
|
229
235
|
return None
|
|
236
|
+
|
|
237
|
+
def to_dict(self):
|
|
238
|
+
|
|
239
|
+
dic = super().to_dict()
|
|
240
|
+
|
|
241
|
+
dic['parent_name'] = self.parent_name
|
|
242
|
+
dic['parent_rank'] = self.parent_rank
|
|
243
|
+
|
|
244
|
+
return dic
|
|
230
245
|
|
|
231
246
|
|
|
232
247
|
'''
|
|
@@ -260,6 +275,8 @@ class TreeClimberState:
|
|
|
260
275
|
dic['rank'],
|
|
261
276
|
dic['source'],
|
|
262
277
|
dic['source_id'],
|
|
278
|
+
dic['parent_name'],
|
|
279
|
+
dic['parent_rank'],
|
|
263
280
|
**dic['kwargs']
|
|
264
281
|
)
|
|
265
282
|
|
|
@@ -90,14 +90,6 @@ class AlgaebaseSourceTreeTaxon(SourceTreeTaxon):
|
|
|
90
90
|
|
|
91
91
|
TreeModel = AlgaebaseTaxonTree
|
|
92
92
|
|
|
93
|
-
|
|
94
|
-
def __init__(self, latname, author, rank, source, source_id, parent_name, parent_rank, **kwargs):
|
|
95
|
-
|
|
96
|
-
super().__init__(latname, author, rank, source, source_id, **kwargs)
|
|
97
|
-
|
|
98
|
-
self.parent_rank = parent_rank
|
|
99
|
-
self.parent_name = parent_name
|
|
100
|
-
|
|
101
93
|
# higher taxa are not db entries in algaebase
|
|
102
94
|
# genus Chaetopia occurs in Heteropediaceae AND Radiococcaceae
|
|
103
95
|
# _get_source_object should use both rank + name and parent_rank + parent_name
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: localcosmos_app_kit
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.10
|
|
4
4
|
Summary: LocalCosmos App Kit. Web Portal to build Android and iOS apps
|
|
5
5
|
Home-page: https://github.com/localcosmos/app-kit
|
|
6
6
|
Author: Thomas Uher
|
|
@@ -14,7 +14,7 @@ Classifier: Operating System :: OS Independent
|
|
|
14
14
|
Requires-Python: >=3.8
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENCE
|
|
17
|
-
Requires-Dist: localcosmos-server==0.24.
|
|
17
|
+
Requires-Dist: localcosmos-server==0.24.8
|
|
18
18
|
Requires-Dist: localcosmos-cordova-builder==0.9.6
|
|
19
19
|
Requires-Dist: django-tenants==3.7.0
|
|
20
20
|
Requires-Dist: django-cleanup==9.0.0
|
|
@@ -1759,9 +1759,9 @@ app_kit/taxonomy/management/commands/update_taxonomic_database.py,sha256=eA-G-57
|
|
|
1759
1759
|
app_kit/taxonomy/migrations/0001_initial.py,sha256=Ssl5NPgZBY21bHHf788tTxiBFCcQGJMvND0Ws6vnqrE,1298
|
|
1760
1760
|
app_kit/taxonomy/migrations/0002_auto_20220503_0747.py,sha256=J4cRV253o98m8y2Hj_ei5R1KJNaC-Xz1xH3ekOdZWcM,553
|
|
1761
1761
|
app_kit/taxonomy/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1762
|
-
app_kit/taxonomy/sources/TaxonSourceManager.py,sha256=
|
|
1762
|
+
app_kit/taxonomy/sources/TaxonSourceManager.py,sha256=EVApMEnuCODmx1HQezTk1xJVpys4aSLTIdrdL8DV5_g,38112
|
|
1763
1763
|
app_kit/taxonomy/sources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1764
|
-
app_kit/taxonomy/sources/algaebase/AlgaebaseManager.py,sha256=
|
|
1764
|
+
app_kit/taxonomy/sources/algaebase/AlgaebaseManager.py,sha256=yCZ5tTyKuf_daATZvDJXlO4CrMm8iRwLGbi5RiMSvcA,51054
|
|
1765
1765
|
app_kit/taxonomy/sources/algaebase/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1766
1766
|
app_kit/taxonomy/sources/algaebase/admin.py,sha256=suMo4x8I3JBxAFBVIdE-5qnqZ6JAZV0FESABHOSc-vg,63
|
|
1767
1767
|
app_kit/taxonomy/sources/algaebase/apps.py,sha256=hqDieYZoj5BHmFVkjZgK-Z-Uqd0o2UUgNdXND34etCU,110
|
|
@@ -1925,8 +1925,8 @@ app_kit/tests/__pycache__/test_models.cpython-313.pyc,sha256=Lmv3BfjLs5Fg-olJeMl
|
|
|
1925
1925
|
app_kit/tests/__pycache__/test_utils.cpython-313.pyc,sha256=GX3REqZygi2eO_A2F2_KtYi7hg54X5QPtCTCGWuxGpM,14054
|
|
1926
1926
|
app_kit/tests/__pycache__/test_views.cpython-311.pyc,sha256=NDJR40TcMm-bXXC-wV7OgH1sGR3N7psSWYiUirkkrjU,133242
|
|
1927
1927
|
app_kit/tests/__pycache__/test_views.cpython-313.pyc,sha256=q851UqIZFCCTfQb1lF4SVxV1j_Vu1hJdOlpckmrGX28,125363
|
|
1928
|
-
localcosmos_app_kit-0.9.
|
|
1929
|
-
localcosmos_app_kit-0.9.
|
|
1930
|
-
localcosmos_app_kit-0.9.
|
|
1931
|
-
localcosmos_app_kit-0.9.
|
|
1932
|
-
localcosmos_app_kit-0.9.
|
|
1928
|
+
localcosmos_app_kit-0.9.10.dist-info/licenses/LICENCE,sha256=VnxALPSxXoU59rlNeRdJtwS_nU79IFpVWsZZCQUM4Mw,1086
|
|
1929
|
+
localcosmos_app_kit-0.9.10.dist-info/METADATA,sha256=BNJMBPc86OAoj4_VWVWWlwPHauYSwqhIrrYf-zXgdl8,1387
|
|
1930
|
+
localcosmos_app_kit-0.9.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
1931
|
+
localcosmos_app_kit-0.9.10.dist-info/top_level.txt,sha256=F6H4pEBkCvUR_iwQHIy4K1iby-jzfWg3CTym5XJKeys,8
|
|
1932
|
+
localcosmos_app_kit-0.9.10.dist-info/RECORD,,
|
|
File without changes
|
{localcosmos_app_kit-0.9.9.dist-info → localcosmos_app_kit-0.9.10.dist-info}/licenses/LICENCE
RENAMED
|
File without changes
|
|
File without changes
|