Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE YET linkml-model 1.7.0rc #295

Merged
merged 3 commits into from
Feb 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions linkml_runtime/linkml_model/annotations.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Auto generated from annotations.yaml by pythongen.py version: 0.9.0
# Generation date: 2023-09-01T13:21:10
# Auto generated from annotations.yaml by pythongen.py version: 0.0.1
# Generation date: 2024-02-07T17:29:22
# Schema: annotations
#
# id: https://w3id.org/linkml/annotations
@@ -49,7 +49,7 @@ class Annotatable(YAMLRoot):
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = LINKML.Annotatable
class_class_uri: ClassVar[URIRef] = LINKML["Annotatable"]
class_class_curie: ClassVar[str] = "linkml:Annotatable"
class_name: ClassVar[str] = "annotatable"
class_model_uri: ClassVar[URIRef] = LINKML.Annotatable
@@ -69,7 +69,7 @@ class Annotation(Extension):
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = LINKML.Annotation
class_class_uri: ClassVar[URIRef] = LINKML["Annotation"]
class_class_curie: ClassVar[str] = "linkml:Annotation"
class_name: ClassVar[str] = "annotation"
class_model_uri: ClassVar[URIRef] = LINKML.Annotation
419 changes: 0 additions & 419 deletions linkml_runtime/linkml_model/array.py

Large diffs are not rendered by default.

50 changes: 25 additions & 25 deletions linkml_runtime/linkml_model/datasets.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Auto generated from datasets.yaml by pythongen.py version: 0.9.0
# Generation date: 2023-09-01T13:21:13
# Auto generated from datasets.yaml by pythongen.py version: 0.0.1
# Generation date: 2024-02-07T17:29:27
# Schema: datasets
#
# id: https://w3id.org/linkml/datasets
@@ -30,7 +30,7 @@
dataclasses._init_fn = dataclasses_init_fn_with_kwargs

# Namespaces
BIBO = CurieNamespace('bibo', 'http://example.org/UNKNOWN/bibo/')
BIBO = CurieNamespace('bibo', 'http://purl.org/ontology/bibo/')

Check warning on line 33 in linkml_runtime/linkml_model/datasets.py

Codecov / codecov/patch

linkml_runtime/linkml_model/datasets.py#L33

Added line #L33 was not covered by tests
CSVW = CurieNamespace('csvw', 'http://www.w3.org/ns/csvw#')
DATASETS = CurieNamespace('datasets', 'https://w3id.org/linkml/report')
DCAT = CurieNamespace('dcat', 'http://www.w3.org/ns/dcat#')
@@ -39,7 +39,7 @@
FRICTIONLESS = CurieNamespace('frictionless', 'https://specs.frictionlessdata.io/')
LINKML = CurieNamespace('linkml', 'https://w3id.org/linkml/')
MEDIATYPES = CurieNamespace('mediatypes', 'https://www.iana.org/assignments/media-types/')
OSLC = CurieNamespace('oslc', 'http://example.org/UNKNOWN/oslc/')
OSLC = CurieNamespace('oslc', 'http://open-services.net/ns/core#')

Check warning on line 42 in linkml_runtime/linkml_model/datasets.py

Codecov / codecov/patch

linkml_runtime/linkml_model/datasets.py#L42

Added line #L42 was not covered by tests
OWL = CurieNamespace('owl', 'http://www.w3.org/2002/07/owl#')
PAV = CurieNamespace('pav', 'http://purl.org/pav/')
PROV = CurieNamespace('prov', 'http://www.w3.org/ns/prov#')
@@ -75,7 +75,7 @@
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = DATASETS.Information
class_class_uri: ClassVar[URIRef] = DATASETS["Information"]

Check warning on line 78 in linkml_runtime/linkml_model/datasets.py

Codecov / codecov/patch

linkml_runtime/linkml_model/datasets.py#L78

Added line #L78 was not covered by tests
class_class_curie: ClassVar[str] = "datasets:Information"
class_name: ClassVar[str] = "Information"
class_model_uri: ClassVar[URIRef] = DATASETS.Information
@@ -172,7 +172,7 @@
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = VOID.Dataset
class_class_uri: ClassVar[URIRef] = VOID["Dataset"]

Check warning on line 175 in linkml_runtime/linkml_model/datasets.py

Codecov / codecov/patch

linkml_runtime/linkml_model/datasets.py#L175

Added line #L175 was not covered by tests
class_class_curie: ClassVar[str] = "void:Dataset"
class_name: ClassVar[str] = "DataPackage"
class_model_uri: ClassVar[URIRef] = DATASETS.DataPackage
@@ -200,7 +200,7 @@
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = DCAT.Distribution
class_class_uri: ClassVar[URIRef] = DCAT["Distribution"]

Check warning on line 203 in linkml_runtime/linkml_model/datasets.py

Codecov / codecov/patch

linkml_runtime/linkml_model/datasets.py#L203

Added line #L203 was not covered by tests
class_class_curie: ClassVar[str] = "dcat:Distribution"
class_name: ClassVar[str] = "DataResource"
class_model_uri: ClassVar[URIRef] = DATASETS.DataResource
@@ -267,7 +267,7 @@
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = DATASETS.FormatDialect
class_class_uri: ClassVar[URIRef] = DATASETS["FormatDialect"]

Check warning on line 270 in linkml_runtime/linkml_model/datasets.py

Codecov / codecov/patch

linkml_runtime/linkml_model/datasets.py#L270

Added line #L270 was not covered by tests
class_class_curie: ClassVar[str] = "datasets:FormatDialect"
class_name: ClassVar[str] = "FormatDialect"
class_model_uri: ClassVar[URIRef] = DATASETS.FormatDialect
@@ -328,22 +328,22 @@

N3 = PermissibleValue(
text="N3",
meaning=FORMATS.N3)
meaning=FORMATS["N3"])
Microdata = PermissibleValue(
text="Microdata",
meaning=FORMATS.microdata)
meaning=FORMATS["microdata"])
POWDER = PermissibleValue(
text="POWDER",
meaning=FORMATS.POWDER)
meaning=FORMATS["POWDER"])
RDFa = PermissibleValue(
text="RDFa",
meaning=FORMATS.RDFa)
meaning=FORMATS["RDFa"])
Turtle = PermissibleValue(
text="Turtle",
meaning=FORMATS.Turtle)
meaning=FORMATS["Turtle"])
TriG = PermissibleValue(
text="TriG",
meaning=FORMATS.TriG)
meaning=FORMATS["TriG"])
YAML = PermissibleValue(text="YAML")
JSON = PermissibleValue(text="JSON")

@@ -368,19 +368,19 @@
setattr(cls, "LD Patch",
PermissibleValue(
text="LD Patch",
meaning=FORMATS.LD_Patch))
meaning=FORMATS["LD_Patch"]))
setattr(cls, "OWL XML Serialization",
PermissibleValue(
text="OWL XML Serialization",
meaning=FORMATS.OWL_XML))
meaning=FORMATS["OWL_XML"]))
setattr(cls, "OWL Functional Syntax",
PermissibleValue(
text="OWL Functional Syntax",
meaning=FORMATS.OWL_Functional))
meaning=FORMATS["OWL_Functional"]))
setattr(cls, "OWL Manchester Syntax",
PermissibleValue(
text="OWL Manchester Syntax",
meaning=FORMATS.OWL_Manchester))
meaning=FORMATS["OWL_Manchester"]))
setattr(cls, "POWDER-S",
PermissibleValue(
text="POWDER-S",
@@ -396,31 +396,31 @@
setattr(cls, "RDF/JSON",
PermissibleValue(
text="RDF/JSON",
meaning=FORMATS.RDF_JSON))
meaning=FORMATS["RDF_JSON"]))
setattr(cls, "RDF/XML",
PermissibleValue(
text="RDF/XML",
meaning=FORMATS.RDF_XML))
meaning=FORMATS["RDF_XML"]))
setattr(cls, "RIF XML Syntax",
PermissibleValue(
text="RIF XML Syntax",
meaning=FORMATS.RIF_XML))
meaning=FORMATS["RIF_XML"]))
setattr(cls, "SPARQL Results in XML",
PermissibleValue(
text="SPARQL Results in XML",
meaning=FORMATS.SPARQL_Results_XML))
meaning=FORMATS["SPARQL_Results_XML"]))
setattr(cls, "SPARQL Results in JSON",
PermissibleValue(
text="SPARQL Results in JSON",
meaning=FORMATS.SPARQL_Results_JSON))
meaning=FORMATS["SPARQL_Results_JSON"]))
setattr(cls, "SPARQL Results in CSV",
PermissibleValue(
text="SPARQL Results in CSV",
meaning=FORMATS.SPARQL_Results_CSV))
meaning=FORMATS["SPARQL_Results_CSV"]))
setattr(cls, "SPARQL Results in TSV",
PermissibleValue(
text="SPARQL Results in TSV",
meaning=FORMATS.SPARQL_Results_TSV))
meaning=FORMATS["SPARQL_Results_TSV"]))

# Slots
class slots:
Binary file modified linkml_runtime/linkml_model/excel/meta.xlsx
Binary file not shown.
8 changes: 4 additions & 4 deletions linkml_runtime/linkml_model/extensions.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Auto generated from extensions.yaml by pythongen.py version: 0.9.0
# Generation date: 2023-09-01T13:21:14
# Auto generated from extensions.yaml by pythongen.py version: 0.0.1
# Generation date: 2024-02-07T17:29:29
# Schema: extensions
#
# id: https://w3id.org/linkml/extensions
@@ -50,7 +50,7 @@ class Extension(YAMLRoot):
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = LINKML.Extension
class_class_uri: ClassVar[URIRef] = LINKML["Extension"]
class_class_curie: ClassVar[str] = "linkml:Extension"
class_name: ClassVar[str] = "extension"
class_model_uri: ClassVar[URIRef] = LINKML.Extension
@@ -77,7 +77,7 @@ class Extensible(YAMLRoot):
"""
_inherited_slots: ClassVar[List[str]] = []

class_class_uri: ClassVar[URIRef] = LINKML.Extensible
class_class_uri: ClassVar[URIRef] = LINKML["Extensible"]
class_class_curie: ClassVar[str] = "linkml:Extensible"
class_name: ClassVar[str] = "extensible"
class_model_uri: ClassVar[URIRef] = LINKML.Extensible
Loading