Skip to content

Releases: linkml/linkml-runtime

v1.4.2

18 Jan 02:10
1aae031
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.4.1...v1.4.2

v1.4.1

23 Dec 00:28
dc2a25c
Compare
Choose a tag to compare

What's Changed

  • Add methods to replace functionality in biolink model toolkit with schemaview by @sierra-moxon in #235
  • add the ability to declare "prefixmaps" contexts (including bioregistry contexts) in default_curie_maps. fixes #604 by @sierra-moxon in #231

Full Changelog: v1.4.0...v1.4.1

v1.4.0

20 Dec 15:52
7955396
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.7...v1.4.0

v1.3.8rc2

20 Dec 00:17
7955396
Compare
Choose a tag to compare
v1.3.8rc2 Pre-release
Pre-release

What's Changed

Full Changelog: v1.3.7...v1.3.8rc2

v1.3.8rc1

13 Dec 17:24
04c298c
Compare
Choose a tag to compare
v1.3.8rc1 Pre-release
Pre-release

What's Changed

Full Changelog: v1.3.7...v1.3.8rc1

v1.3.7

16 Nov 22:12
eb9ea1b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.6...v1.3.7

v1.3.6

01 Nov 20:05
c5730ce
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.5...v1.3.6

v1.3.5

20 Oct 01:54
6b9f30f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.4...v1.3.5

v1.3.4

19 Oct 01:11
9937b30
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.3.3...v1.3.4

v1.3.3

14 Oct 01:22
5c87a05
Compare
Choose a tag to compare

Highlights

Given a tree-root/container object, this will create an index,
and allow for retrieval of proxy objects that shadow domain
YAMLRoot classes. These operate in the same way, except that
object references are automatically dereferenced.

For example, given a container object following the standard
personinfo schema, an index can be created and queried:

    >>> ix = ObjectIndex(container, schemaview=schemaview)
    >>> container = ix.bless(container)
    >>> for p in container.persons:
    >>>    for r in p.has_familial_relationships():
    >>>        print(f"{p.name} {p.type} {r.related_to.name}")

Note this will work even if related_to is not inlined.

This means naive traversal of the object tree is not guaranteed
to be bounded, unlike with a YAMLRoot object. E.g.

    >>> person.has_familial_relationships[0].
    >>>    related_to.has_familial_relationships[0].
    >>>    related_to.has_familial_relationships[0].name

In the above, the same proxy object is reused for any
object with an identifier.

What's Changed

New Contributors

Full Changelog: v1.3.2...v1.3.3