-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b37d253
commit 0f12889
Showing
2 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
from Base.Base import Base | ||
|
||
|
||
b = Base() | ||
print(b.db.collection_names) | ||
""" | ||
collection_names = [ | ||
'scope_controller', # useless ? | ||
'config', # useless ? | ||
'current', # useless ? | ||
'calibrations', | ||
'environment', # useless ? | ||
'mount', # useles | ||
'observations', | ||
'offset_info', # Legacy: Used to be there to store guiding delta info | ||
'state', | ||
'weather', | ||
] | ||
""" | ||
|
||
latest_calibration = b.db.get_current(collection='calibrations') | ||
|
||
|
||
def find(self, collection, obj_id): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters