Skip to content

Commit

Permalink
Import desired attrs into new attrs.py
Browse files Browse the repository at this point in the history
Closes #188
  • Loading branch information
SolarDrew committed Sep 21, 2022
1 parent e2d79ee commit b988921
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions dkist/net/attrs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
from ._attrs import (
Dataset,
WavelengthBand,
Embargoed,
Observable,
Experiment,
Proposal,
TargetType,
Recipe,
FriedParameter,
PolarimetricAccuracy,
ExposureTime,
EmbargoEndTime,
BrowseMovie,
BoundingBox,
SpectralSampling,
SpatialSampling,
TemporalSampling,
)

# Trick the docs into thinking these attrs are defined in here.
for _a in (
Dataset,
WavelengthBand,
Embargoed,
Observable,
Experiment,
Proposal,
TargetType,
Recipe,
FriedParameter,
PolarimetricAccuracy,
ExposureTime,
EmbargoEndTime,
BrowseMovie,
BoundingBox,
SpectralSampling,
SpatialSampling,
TemporalSampling,
):
_a.__module__ = __name__

__all__ = [
"Dataset",
"WavelengthBand",
"Embargoed",
"Observable",
"Experiment",
"Proposal",
"TargetType",
"Recipe",
"FriedParameter",
"PolarimetricAccuracy",
"ExposureTime",
"EmbargoEndTime",
"BrowseMovie",
"BoundingBox",
"SpectralSampling",
"SpatialSampling",
"TemporalSampling",
]

0 comments on commit b988921

Please sign in to comment.