Skip to content

Commit

Permalink
Merge pull request #274 from sot/add-back-all-exports
Browse files Browse the repository at this point in the history
Add back most of fetch module contents to __all__
  • Loading branch information
taldcroft authored Feb 27, 2025
2 parents 1593d6f + e0432f3 commit a4af477
Showing 1 changed file with 48 additions and 11 deletions.
59 changes: 48 additions & 11 deletions cheta/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,25 +33,62 @@
from .lazy import LazyDict
from .units import Units

# Output of following, with a few manual edits
# for name in sorted(fetch.__dict__):
# val = fetch.__dict__[name]
# if inspect.ismodule(val):
# continue
# if name.startswith("_"):
# continue
# print(f"'{name}',")
__all__ = [
"data_source",
"local_or_remote_function",
"get_units",
"set_units",
"read_bad_times",
"msid_glob",
"CONTENT_TIME_RANGES",
"ComputedMsid",
"DATE2000_HI",
"DATE2000_LO",
"DEFAULT_DATA_SOURCE",
"DIR_PATH",
"HrcSsMsid",
"IGNORE_COLNAMES",
"LAUNCH_DATE",
"LazyDict",
"MSID",
"MSIDset",
"Msid",
"Msidset",
"HrcSsMsid",
"memoized",
"get_time_range",
"get_telem",
"NullHandler",
"Path",
"STATE_CODES",
"UNITS",
"Units",
"add_logging_handler",
"all_colnames",
"all_msid_names_files",
"content",
"create_msid_data_gap",
"data_source",
"filetype",
"filetypes",
"filetypes_arr",
"filetypes_tbl",
"get_data_gap_spec_parser",
"get_interval",
"get_telem",
"get_time_range",
"get_units",
"load_content",
"load_msid_names",
"local_or_remote_function",
"logger",
"lru_cache_timed",
"memoized",
"msid_bad_times",
"msid_files",
"msid_glob",
"msid_matches_data_gap_spec",
"create_msid_data_gap",
"read_bad_times",
"set_units",
"times_cache",
]

# Module-level units, defaults to CXC units (e.g. Kelvins etc)
Expand Down

0 comments on commit a4af477

Please sign in to comment.