You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the two remaining $refs. Also note that if these are resolved, the resulting schema will be recursive and a subsequent call to check_schema will fail due to maxiumum recursion depth.
Description of the problem
Documentation for asdf.schema.load_schema states that if
resolve_references
is Trueresolve all $ref references
.This does not appear to be working as intended for local references.
Here is a minimal example:
returns:
Note that the two remaining
$ref
s. Also note that if these are resolved, the resulting schema will be recursive and a subsequent call tocheck_schema
will fail due to maxiumum recursion depth.A non-toy example involves the commonly used
ndarray
schema:https://github.com/asdf-format/asdf-standard/blob/cafd84a04c48a0f99bef8018420e6a4e89e2db5b/resources/schemas/stsci.edu/asdf/core/ndarray-1.0.0.yaml#L267
Loading the schema (using
resolve_references=True
) returns a schema that contains$ref
entries:The text was updated successfully, but these errors were encountered: