Skip to content

Commit

Permalink
Update python classes
Browse files Browse the repository at this point in the history
Signed-off-by: Anja Strunk <anja.strunk@cloudandheat.com>
  • Loading branch information
anjastrunk committed Nov 16, 2023
1 parent 778fe8f commit 876c264
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 241 deletions.
16 changes: 8 additions & 8 deletions generator/common/gx-schema.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Auto generated from gaia-x.yaml by pythongen.py version: 0.0.1
# Generation date: 2023-11-16T13:30:52
# Generation date: 2023-11-16T13:40:58
# Schema: gaia-x
#
# id: http://w3id.org/gaia-x/gx-trust-framework/gaia-x
Expand Down Expand Up @@ -475,16 +475,16 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]):


@dataclass
class Latest-N(YAMLRoot):
class LatestN(YAMLRoot):
"""
Number of latest N outdated image versions, which will be valid.
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = GX["Latest-N"]
class_class_curie: ClassVar[str] = "gx:Latest-N"
class_name: ClassVar[str] = "Latest-N"
class_model_uri: ClassVar[URIRef] = GX.Latest-N
class_class_uri: ClassVar[URIRef] = GX.LatestN
class_class_curie: ClassVar[str] = "gx:LatestN"
class_name: ClassVar[str] = "Latest_N"
class_model_uri: ClassVar[URIRef] = GX.LatestN

value: Optional[int] = None

Expand Down Expand Up @@ -8740,8 +8740,8 @@ class slots:
slots.updateStrategy__providedUntil = Slot(uri=GX.providedUntil, name="updateStrategy__providedUntil", curie=GX.curie('providedUntil'),
model_uri=GX.updateStrategy__providedUntil, domain=None, range=Optional[str])

slots.latest_N__value = Slot(uri=GX.value, name="latest-N__value", curie=GX.curie('value'),
model_uri=GX.latest_N__value, domain=None, range=Optional[int])
slots.latestN__value = Slot(uri=GX.value, name="latestN__value", curie=GX.curie('value'),
model_uri=GX.latestN__value, domain=None, range=Optional[int])

slots.issuer__issuerTermsAndConditions = Slot(uri=GX.issuerTermsAndConditions, name="issuer__issuerTermsAndConditions", curie=GX.curie('issuerTermsAndConditions'),
model_uri=GX.issuer__issuerTermsAndConditions, domain=None, range=Union[str, "GaiaXTermsAndConditions"])
Expand Down
14 changes: 0 additions & 14 deletions generator/gx_schema/code_artifact.py

This file was deleted.

36 changes: 0 additions & 36 deletions generator/gx_schema/cpu.py

This file was deleted.

8 changes: 0 additions & 8 deletions generator/gx_schema/credential.py

This file was deleted.

Empty file removed generator/gx_schema/cyptography.py
Empty file.
32 changes: 0 additions & 32 deletions generator/gx_schema/image.py

This file was deleted.

26 changes: 0 additions & 26 deletions generator/gx_schema/operation_system.py

This file was deleted.

14 changes: 0 additions & 14 deletions generator/gx_schema/participant.py

This file was deleted.

17 changes: 0 additions & 17 deletions generator/gx_schema/resource.py

This file was deleted.

43 changes: 0 additions & 43 deletions generator/gx_schema/software_resource.py

This file was deleted.

26 changes: 0 additions & 26 deletions generator/gx_schema/virtual_resource.py

This file was deleted.

17 changes: 0 additions & 17 deletions generator/gx_schema/vm_image.py

This file was deleted.

0 comments on commit 876c264

Please sign in to comment.