Skip to content

Commit 984e4b2

Browse files
authored
Merge pull request #325 from vincentkelleher/update_ifabsent_utils_reference
remove references to the now delete linkml_runtime.utils.ifabsent_functions
2 parents 494edda + 7ef6d90 commit 984e4b2

File tree

9 files changed

+107
-738
lines changed

9 files changed

+107
-738
lines changed

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ jobs:
6363
name: codecov-results-${{ matrix.os }}-${{ matrix.python-version }}
6464
token: ${{ secrets.CODECOV_TOKEN }}
6565
file: coverage.xml
66-
fail_ci_if_error: true
66+
fail_ci_if_error: false

linkml_runtime/linkml_model/json/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2590,7 +2590,7 @@
25902590
{
25912591
"name": "ifabsent",
25922592
"definition_uri": "https://w3id.org/linkml/ifabsent",
2593-
"description": "function that provides a default value for the slot. Possible values for this slot are defined in\nlinkml_runtime.utils.ifabsent_functions.default_library:\n * [Tt]rue -- boolean True\n * [Ff]alse -- boolean False\n * int(value) -- integer value\n * str(value) -- string value\n * default_range -- schema default range\n * bnode -- blank node identifier\n * slot_uri -- URI for the slot\n * class_curie -- CURIE for the containing class\n * class_uri -- URI for the containing class",
2593+
"description": "function that provides a default value for the slot.\n * [Tt]rue -- boolean True\n * [Ff]alse -- boolean False\n * int(value) -- integer value\n * str(value) -- string value\n * default_range -- schema default range\n * bnode -- blank node identifier\n * slot_uri -- URI for the slot\n * class_curie -- CURIE for the containing class\n * class_uri -- URI for the containing class",
25942594
"from_schema": "https://w3id.org/linkml/meta",
25952595
"close_mappings": [
25962596
"https://w3id.org/shacl/defaultValue"

linkml_runtime/linkml_model/owl/meta.owl.ttl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,6 +1421,14 @@ linkml:ifabsent a owl:ObjectProperty,
14211421
* EnumName(PermissibleValue) -- enum value""" ;
14221422
skos:inScheme linkml:meta .
14231423

1424+
linkml:implements a owl:ObjectProperty,
1425+
linkml:SlotDefinition ;
1426+
rdfs:label "implements" ;
1427+
rdfs:domain linkml:Element ;
1428+
rdfs:range linkml:Uriorcurie ;
1429+
skos:definition "An element in another schema which this element conforms to. The referenced element is not imported into the schema for the implementing element. However, the referenced schema may be used to check conformance of the implementing element." ;
1430+
skos:inScheme linkml:meta .
1431+
14241432
linkml:import_as a owl:ObjectProperty,
14251433
linkml:SlotDefinition ;
14261434
rdfs:label "import_as" ;

linkml_runtime/linkml_model/rdf/meta.model.ttl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,8 +1228,7 @@ linkml:iec61360code a linkml:SlotDefinition ;
12281228

12291229
linkml:ifabsent a linkml:SlotDefinition ;
12301230
skos:closeMatch sh1:defaultValue ;
1231-
skos:definition """function that provides a default value for the slot. Possible values for this slot are defined in
1232-
linkml_runtime.utils.ifabsent_functions.default_library:
1231+
skos:definition """function that provides a default value for the slot.
12331232
* [Tt]rue -- boolean True
12341233
* [Ff]alse -- boolean False
12351234
* int(value) -- integer value

linkml_runtime/linkml_model/rdf/meta.ttl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,8 +1228,7 @@ linkml:iec61360code a linkml:SlotDefinition ;
12281228

12291229
linkml:ifabsent a linkml:SlotDefinition ;
12301230
skos:closeMatch sh1:defaultValue ;
1231-
skos:definition """function that provides a default value for the slot. Possible values for this slot are defined in
1232-
linkml_runtime.utils.ifabsent_functions.default_library:
1231+
skos:definition """function that provides a default value for the slot.
12331232
* [Tt]rue -- boolean True
12341233
* [Ff]alse -- boolean False
12351234
* int(value) -- integer value

linkml_runtime/linkml_model/sqlddl/meta.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@
313313
-- * Slot: multivalued Description: true means that slot can have more than one value
314314
-- * Slot: inherited Description: true means that the *value* of a slot is inherited by subclasses
315315
-- * Slot: readonly Description: If present, slot is read only. Text explains why
316-
-- * Slot: ifabsent Description: function that provides a default value for the slot. Possible values for this slot are defined inlinkml_runtime.utils.ifabsent_functions.default_library: * [Tt]rue -- boolean True * [Ff]alse -- boolean False * int(value) -- integer value * str(value) -- string value * default_range -- schema default range * bnode -- blank node identifier * slot_uri -- URI for the slot * class_curie -- CURIE for the containing class * class_uri -- URI for the containing class
316+
-- * Slot: ifabsent Description: function that provides a default value for the slot. * [Tt]rue -- boolean True * [Ff]alse -- boolean False * int(value) -- integer value * str(value) -- string value * default_range -- schema default range * bnode -- blank node identifier * slot_uri -- URI for the slot * class_curie -- CURIE for the containing class * class_uri -- URI for the containing class
317317
-- * Slot: list_elements_unique Description: If True, then there must be no duplicates in the elements of a multivalued slot
318318
-- * Slot: list_elements_ordered Description: If True, then the order of elements of a multivalued slot is guaranteed to be preserved. If False, the order may still be preserved but this is not guaranteed
319319
-- * Slot: shared Description: If True, then the relationship between the slot domain and range is many to one or many to many

0 commit comments

Comments
 (0)