clear-skies-cortex 2.0.5__py3-none-any.whl → 2.0.6__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.
- {clear_skies_cortex-2.0.5.dist-info → clear_skies_cortex-2.0.6.dist-info}/METADATA +1 -1
- {clear_skies_cortex-2.0.5.dist-info → clear_skies_cortex-2.0.6.dist-info}/RECORD +5 -5
- clearskies_cortex/models/cortex_catalog_entity.py +8 -1
- {clear_skies_cortex-2.0.5.dist-info → clear_skies_cortex-2.0.6.dist-info}/WHEEL +0 -0
- {clear_skies_cortex-2.0.5.dist-info → clear_skies_cortex-2.0.6.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: clear-skies-cortex
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.6
|
|
4
4
|
Summary: Cortex module for Clearskies
|
|
5
5
|
Project-URL: Docs, https://https://clearskies.info/modules/clear-skies-cortex
|
|
6
6
|
Project-URL: Repository, https://github.com/clearskies-py/cortex
|
|
@@ -9,7 +9,7 @@ clearskies_cortex/defaults/__init__.py,sha256=tulZSvFgp4YUKj_bnArIevmlpC8z_AQKO0
|
|
|
9
9
|
clearskies_cortex/defaults/default_cortex_auth.py,sha256=sWlWgXIoCXk0FkwK3Kz33TVohsaVpIOS9qj2Ef5_YN8,2135
|
|
10
10
|
clearskies_cortex/defaults/default_cortex_url.py,sha256=sKBDQVPJWc4ozBquZ7fKryTbUOXYfrH6hUcQuUtMXEU,1576
|
|
11
11
|
clearskies_cortex/models/__init__.py,sha256=zckJ4-KOjIcmtN7h7lXOESUu3d6JBsZZJq-s2MJ0NLQ,1145
|
|
12
|
-
clearskies_cortex/models/cortex_catalog_entity.py,sha256=
|
|
12
|
+
clearskies_cortex/models/cortex_catalog_entity.py,sha256=MqEe-Kb3JDzhmEckBZZr4Ms3Zv1Ul6Rom_1-XF5Moi0,12461
|
|
13
13
|
clearskies_cortex/models/cortex_catalog_entity_domain.py,sha256=AOa07Fq-SWc8zkg6g-fBi5x1GnGg42GhPM2GozrgC2c,2327
|
|
14
14
|
clearskies_cortex/models/cortex_catalog_entity_group.py,sha256=D5Je_kX4dBW8jkhmZBca02mFYT3cqK1walleMXTlcdg,1295
|
|
15
15
|
clearskies_cortex/models/cortex_catalog_entity_scorecard.py,sha256=XT08_865AzsiMGsybIhQPQ8jTR1HrCfAtRAME7MdDo0,2372
|
|
@@ -22,7 +22,7 @@ clearskies_cortex/models/cortex_scorecard.py,sha256=aiM8_MkdMT_n-a6teG8y6zWSLmHu
|
|
|
22
22
|
clearskies_cortex/models/cortex_team.py,sha256=UUS1KHufPqhO29h4eKIfeZzUz75KjwkqaW5ItmdAKS4,4356
|
|
23
23
|
clearskies_cortex/models/cortex_team_category_tree.py,sha256=PRCIGeZrBoGiH1a7Q8ZsYYzSfj4cZF9tIRcBWEKAX60,1898
|
|
24
24
|
clearskies_cortex/models/cortex_team_department.py,sha256=_0Go97ZFr_GCd_ol0iBw7Px5F_gE94WtAWFGnzQ9y-M,1582
|
|
25
|
-
clear_skies_cortex-2.0.
|
|
26
|
-
clear_skies_cortex-2.0.
|
|
27
|
-
clear_skies_cortex-2.0.
|
|
28
|
-
clear_skies_cortex-2.0.
|
|
25
|
+
clear_skies_cortex-2.0.6.dist-info/METADATA,sha256=Vp6Y9IyPqXd7GY_XTibg-WytYIgydZTON-sMHLMoIvI,2117
|
|
26
|
+
clear_skies_cortex-2.0.6.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
27
|
+
clear_skies_cortex-2.0.6.dist-info/licenses/LICENSE,sha256=MkEX8JF8kZxdyBpTTcB0YTd-xZpWnHvbRlw-pQh8u58,1069
|
|
28
|
+
clear_skies_cortex-2.0.6.dist-info/RECORD,,
|
|
@@ -225,6 +225,8 @@ class CortexCatalogEntity(Model):
|
|
|
225
225
|
|
|
226
226
|
def parse_hierarchy(self) -> dataclasses.ServiceEntityHierarchy:
|
|
227
227
|
"""Parse the hierarchy column into a dictionary."""
|
|
228
|
+
if self.hierarchy is None:
|
|
229
|
+
return dataclasses.ServiceEntityHierarchy(parents=[], children=[])
|
|
228
230
|
return from_dict(dataclasses.ServiceEntityHierarchy, data=self.hierarchy)
|
|
229
231
|
|
|
230
232
|
def parse_groups(self) -> dict[str, str]:
|
|
@@ -243,7 +245,12 @@ class CortexCatalogEntity(Model):
|
|
|
243
245
|
return parsed
|
|
244
246
|
|
|
245
247
|
def parse_owners(self) -> dataclasses.EntityTeamOwner:
|
|
246
|
-
"""Parse the owners column into a dictionary.
|
|
248
|
+
"""Parse the owners column into a dictionary.
|
|
249
|
+
|
|
250
|
+
Returns an empty EntityTeamOwner if owners is None.
|
|
251
|
+
"""
|
|
252
|
+
if self.owners is None:
|
|
253
|
+
return dataclasses.EntityTeamOwner(teams=[], individuals=[])
|
|
247
254
|
return from_dict(dataclasses.EntityTeamOwner, data=self.owners)
|
|
248
255
|
|
|
249
256
|
def get_group_tags(self) -> list[str]:
|
|
File without changes
|
|
File without changes
|