Skip to content

Commit

Permalink
Switch to non-local imports
Browse files Browse the repository at this point in the history
Local imports break the import implementation of linkml whenever a
non-locally imported schema has itself a local import.

Unpleasant...
  • Loading branch information
mih committed Dec 16, 2024
1 parent c099b9b commit 1d90a81
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions src/prov/unreleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ emit_prefixes:
- prov

imports:
- ../thing/unreleased
- ../identifiers/unreleased
- ../roles/unreleased
- ../spatial/unreleased
- ../temporal/unreleased
- dlschemas:thing/unreleased
- dlschemas:identifiers/unreleased
- dlschemas:roles/unreleased
- dlschemas:spatial/unreleased
- dlschemas:temporal/unreleased


slots:
Expand Down
6 changes: 3 additions & 3 deletions src/spatial/unreleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ emit_prefixes:
default_prefix: dlspatial

imports:
- ../identifiers/unreleased
- ../thing/unreleased
- ../roles/unreleased
- dlschemas:identifiers/unreleased
- dlschemas:thing/unreleased
- dlschemas:roles/unreleased


slots:
Expand Down
6 changes: 3 additions & 3 deletions src/temporal/unreleased.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ default_prefix: dltemporal

imports:
- linkml:types
- ../thing/unreleased
- ../identifiers/unreleased
- ../roles/unreleased
- dlschemas:thing/unreleased
- dlschemas:identifiers/unreleased
- dlschemas:roles/unreleased

types:
W3CISO8601:
Expand Down

0 comments on commit 1d90a81

Please sign in to comment.