question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When schema uses itself in one of the fields, it raises an exception that the name is not defined. For python versions < 3.10, the line from __future__ import annotations must be included at the top of the autogenerated file.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
tefracommented, Apr 13, 2021

That’s an interesting one, it will take a moment to dissect but from a quick debug I see that the analyzer failed to detect the circular reference between all the layers of reducing the classes.

Thanks for reporting @neriusmika

0reactions
tefracommented, Apr 14, 2021

Thank you for reporting @neriusmika

really cool xsd collection!

Read more comments on GitHub >

github_iconTop Results From Across the Web

JSON Schema - Recursive Schema Definition - Stack Overflow
What I'm trying to express in the children property is that it's an array of objects with the same exact schema. Is this...
Read more >
Structuring a complex schema — Understanding JSON ...
The $ref keyword may be used to create recursive schemas that refer to themselves. For example, you might have a person schema that...
Read more >
Recursive schema extension — jschon 0.10.0 documentation
Recursive schema extension . The following script implements the recursive schema extension example, described in the JSON Schema 2020-12 core specification.
Read more >
Recursive JSON schema - Google Groups
I am having a little difficulty specifying a recursive JSON schema. As a simple example, consider a folder object which can contain a...
Read more >
recursive-json-schema.json - gists · GitHub
Instantly share code, notes, and snippets. @differui · differui/recursive-json-schema.json.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found