|
1 | 1 | # Auto generated from registry_schema.yaml by pythongen.py version: 0.9.0 |
2 | | -# Generation date: 2022-10-15T14:23:31 |
| 2 | +# Generation date: 2022-10-18T18:20:11 |
3 | 3 | # Schema: ontology_registry |
4 | 4 | # |
5 | 5 | # id: https://w3id.org/semsql/registry |
@@ -93,6 +93,7 @@ class Ontology(YAMLRoot): |
93 | 93 | compression: Optional[Union[str, "CompressionEnum"]] = None |
94 | 94 | suppress: Optional[Union[bool, Bool]] = None |
95 | 95 | relation_graph_settings: Optional[Union[dict, "RelationGraphConfiguration"]] = None |
| 96 | + zip_extract_file: Optional[str] = None |
96 | 97 |
|
97 | 98 | def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]): |
98 | 99 | if self._is_empty(self.id): |
@@ -130,6 +131,9 @@ def __post_init__(self, *_: List[str], **kwargs: Dict[str, Any]): |
130 | 131 | if self.relation_graph_settings is not None and not isinstance(self.relation_graph_settings, RelationGraphConfiguration): |
131 | 132 | self.relation_graph_settings = RelationGraphConfiguration(**as_dict(self.relation_graph_settings)) |
132 | 133 |
|
| 134 | + if self.zip_extract_file is not None and not isinstance(self.zip_extract_file, str): |
| 135 | + self.zip_extract_file = str(self.zip_extract_file) |
| 136 | + |
133 | 137 | super().__post_init__(**kwargs) |
134 | 138 |
|
135 | 139 |
|
@@ -251,6 +255,9 @@ class slots: |
251 | 255 | slots.prefixmap = Slot(uri=SEMSQL_REGISTRY.prefixmap, name="prefixmap", curie=SEMSQL_REGISTRY.curie('prefixmap'), |
252 | 256 | model_uri=SEMSQL_REGISTRY.prefixmap, domain=None, range=Optional[Union[Dict[Union[str, PrefixMapPrefix], Union[dict, PrefixMap]], List[Union[dict, PrefixMap]]]]) |
253 | 257 |
|
| 258 | +slots.zip_extract_file = Slot(uri=SEMSQL_REGISTRY.zip_extract_file, name="zip_extract_file", curie=SEMSQL_REGISTRY.curie('zip_extract_file'), |
| 259 | + model_uri=SEMSQL_REGISTRY.zip_extract_file, domain=None, range=Optional[str]) |
| 260 | + |
254 | 261 | slots.named_prefixmaps = Slot(uri=SEMSQL_REGISTRY.named_prefixmaps, name="named_prefixmaps", curie=SEMSQL_REGISTRY.curie('named_prefixmaps'), |
255 | 262 | model_uri=SEMSQL_REGISTRY.named_prefixmaps, domain=None, range=Optional[Union[str, List[str]]]) |
256 | 263 |
|
|
0 commit comments