diff --git a/python/resources.py b/python/resources.py index 260e33ea..d64218c2 100644 --- a/python/resources.py +++ b/python/resources.py @@ -1,5 +1,11 @@ +__all__ = ["load_flux", "load_detector", "load_processes", "fluxes", "detectors", "processes"] + from . import _util +load_flux = _util.load_flux +load_detector = _util.load_detector +load_processes = _util.load_processes + class ResourceList: def __init__(self, resource_type, list_method, load_method): self.__resource_type = resource_type @@ -24,4 +30,5 @@ def __dir__(self): detectors = ResourceList('detectors', _util.list_detectors, _util._get_detector_loader) processes = ResourceList('processes', _util.list_processes, _util._get_process_loader) +del _util del ResourceList