File: _integration.py

package info (click to toggle)
python-asdf 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 7,032 kB
  • sloc: python: 24,068; makefile: 123
file content (21 lines) | stat: -rw-r--r-- 444 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from asdf.resource import JsonschemaResourceMapping


def get_extensions():
    """
    Get the extension instances for the core extensions.  This method is registered with the
    asdf.extensions entry point.

    Returns
    -------
    list of asdf.extension.Extension
    """
    from . import _extensions

    return _extensions.EXTENSIONS


def get_json_schema_resource_mappings():
    return [
        JsonschemaResourceMapping(),
    ]