[Bug]: Cannot create classes from cached extensions with references to types defined in the extension #1182
Labels
category: bug
errors in the code or code behavior
priority: medium
non-critical problem and/or affecting only a small set of users
Milestone
What happened?
Let's say there is an extension that contains two data types A and B, and B contains an object reference to A, either in an attribute or because B is a dataset of references. When this extension is cached in a file and subsequently loaded from the file, A cannot be found when getting the class for B. This appears here: rly/ndx-structured-behavior#44 where
TaskProgram
contains an attribute that is an object reference to aTaskSchema
, and both are defined in the ndx-structured-behavior extension.Steps to Reproduce
Traceback
No response
Operating System
macOS
Python Executable
Conda
Python Version
3.12
Package Versions
No response
The text was updated successfully, but these errors were encountered: