GetScheduledPrograms
Bases: KPFFunction
Source code in kpf/observatoryAPIs/GetScheduledPrograms.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
|
perform(args)
classmethod
Returns list of dicts with the classical and cadence program info.
If no args, returns everything remaining on this semester's schedule. If args contains a value for "semester" then that is either interpreted as the semester string (e.g. "2025A") or it can be "current" which instructs the code to use the current semester.
Source code in kpf/observatoryAPIs/GetScheduledPrograms.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
|