Skip to content

Commit

Permalink
Merge pull request #1600 from braingram/load_schema_docs
Browse files Browse the repository at this point in the history
add load_schema to asdf.schema.__all__
  • Loading branch information
braingram authored Jul 31, 2023
2 parents b43b2c5 + af579b2 commit e6bb908
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions asdf/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

YAML_SCHEMA_METASCHEMA_ID = "http://stsci.edu/schemas/yaml-schema/draft-01"

__all__ = ["validate", "fill_defaults", "remove_defaults", "check_schema"]
__all__ = ["validate", "fill_defaults", "remove_defaults", "check_schema", "load_schema"]

PYTHON_TYPE_TO_YAML_TAG = {
None: "null",
Expand Down Expand Up @@ -411,12 +411,12 @@ def load_schema(url, resolver=None, resolve_references=False, resolve_local_refs
mirror on the local filesystem that you wish to use.
resolve_references : bool, optional
If `True`, resolve all `$ref` references.
If ``True``, resolve all ``$ref`` references.
resolve_local_refs : bool, optional
If `True`, resolve all `$ref` references that refer to other objects
If ``True``, resolve all ``$ref`` references that refer to other objects
within the same schema. This will automatically be handled when passing
`resolve_references=True`, but it may be desirable in some cases to
``resolve_references=True``, but it may be desirable in some cases to
control local reference resolution separately.
This parameter is deprecated.
"""
Expand Down

0 comments on commit e6bb908

Please sign in to comment.