Repository navigation
Add required_slots to drop an object whose required slot comes out empty #418
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
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
74faea8
Add required_slots to drop an object whose required slot comes out empty
amc-corey-cox 70e17b0
Use a name codespell accepts for the unknown-slot test case
amc-corey-cox be8430a
Count required_slots per derivation and accept an inherited required …
amc-corey-cox 9b540a4
Merge branch 'main' into required-slots
amc-corey-cox File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,108 @@ | ||
| --- | ||
| search: | ||
| boost: 5.0 | ||
| --- | ||
|
|
||
| # Slot: required_slots | ||
|
|
||
|
|
||
| _Slot derivations that must come out with a value for the object to be emitted. If any of them is None or an empty list once the slots are derived, the row yields no object: no record at the top level, and no nested object under a slot._ | ||
|
|
||
|
|
||
|
|
||
| <div data-search-exclude markdown="1"> | ||
|
|
||
|
|
||
|
|
||
| URI: [linkmlmap:slot/required_slots](https://w3id.org/linkml/transformer/slot/required_slots) | ||
| <!-- no inheritance hierarchy --> | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| ## Applicable Classes | ||
|
|
||
| | Name | Description | Modifies Slot | | ||
| | --- | --- | --- | | ||
| | [ClassDerivation](../classes/ClassDerivation.md) | A specification of how to derive a target class from a source class | no | | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| ## Properties | ||
|
|
||
| ### Type and Range | ||
|
|
||
| | Property | Value | | ||
| | --- | --- | | ||
| | Range | [String](../types/String.md) | | ||
| | Domain Of | [ClassDerivation](../classes/ClassDerivation.md) | | ||
| ### Cardinality and Requirements | ||
|
|
||
| | Property | Value | | ||
| | --- | --- | | ||
| | Multivalued | Yes | | ||
|
|
||
|
|
||
| ### Slot Characteristics | ||
|
|
||
| | Property | Value | | ||
| | --- | --- | | ||
| | Owner | [ClassDerivation](../classes/ClassDerivation.md) | | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| ## Identifier and Mapping Information | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
| ### Schema Source | ||
|
|
||
|
|
||
| * from schema: https://w3id.org/linkml/transformer | ||
|
|
||
|
|
||
|
|
||
|
|
||
| ## Mappings | ||
|
|
||
| | Mapping Type | Mapped Value | | ||
| | --- | --- | | ||
| | self | linkmlmap:required_slots | | ||
| | native | linkmlmap:required_slots | | ||
|
|
||
|
|
||
|
|
||
|
|
||
| ## LinkML Source | ||
|
|
||
| <details> | ||
| ```yaml | ||
| name: required_slots | ||
| description: 'Slot derivations that must come out with a value for the object to be | ||
| emitted. If any of them is None or an empty list once the slots are derived, the | ||
| row yields no object: no record at the top level, and no nested object under a slot.' | ||
| from_schema: https://w3id.org/linkml/transformer | ||
| rank: 1000 | ||
| owner: ClassDerivation | ||
| domain_of: | ||
| - ClassDerivation | ||
| range: string | ||
| multivalued: true | ||
|
|
||
| ``` | ||
| </details></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.