Fix type reference order in code generated by gen-python #181

Merged
christian-monch merged 4 commits from fix-subclass-id-error into master 2025-12-17 22:16:55 +00:00

4 commits

Author SHA1 Message Date
Christian Monch
6f0384bb96 mark test as expected failing
Skip the test for not extracting empty things
on the server. The test currently fails
because the dlflatsocial-schema has changed.
`Person` is now derived from `FlatThing` and
`FlatThing.relations` now has range `FlatThing`.
That breaks the tests. They assume that
`Person.relations` has range `Thing`.
2025-12-17 23:11:40 +01:00
Christian Monch
37cc0459c6 bump version, update CHANGELOG.md 2025-12-17 22:43:16 +01:00
Christian Monch
14d64d121a add patch for type reference generation
Sort type references topologically to ensure
that base classes are defined before derived
classes.

This patch fixes issue #2600 of linkml:
<https://github.com/linkml/linkml/issues/2600>
2025-12-17 21:47:38 +01:00
Christian Mönch
e95c1ea096 add a regression test for linkml issue #2600 2025-12-17 21:24:54 +01:00