gpp-client 26.11.2.dev1__tar.gz → 26.11.3.dev1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/PKG-INFO +1 -1
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/__init__.py +16 -2
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/client.py +12 -1
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/custom_fields.py +352 -17
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/custom_mutations.py +31 -7
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/custom_typing_fields.py +48 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/enums.py +10 -1
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_scheduler_programs.py +33 -2
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/input_types.py +83 -16
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/.gitignore +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/LICENSE +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/README.md +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/graphql/README.md +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/pyproject.toml +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/__init__.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/cli/__init__.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/cli/cli.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/cli/commands/__init__.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/cli/commands/attachment.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/cli/commands/goats.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/cli/commands/observation.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/cli/commands/program.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/cli/commands/scheduler.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/cli/commands/site_status.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/cli/commands/target.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/cli/commands/workflow_state.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/cli/console.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/cli/output.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/cli/utils.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/client.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/constants.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/domains/__init__.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/domains/atom.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/domains/attachment.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/domains/base.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/domains/goats.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/domains/observation.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/domains/program.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/domains/scheduler.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/domains/site_status.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/domains/target.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/domains/workflow_state.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/environment.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/exceptions.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/async_base_client.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/base_model.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/base_operation.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/clone_observation.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/clone_target.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/create_call_for_proposals.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/create_observation.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/create_program.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/create_target_by_program_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/create_target_by_program_reference.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/create_target_by_proposal_reference.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/custom_queries.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/delete_call_for_proposals_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/delete_observation_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/delete_observation_by_reference.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/delete_program_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/delete_target_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/exceptions.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/fragments.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_call_for_proposals.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_calls_for_proposals.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_goats_config_options.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_goats_configuration_requests.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_goats_observations.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_goats_programs.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_observation.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_observation_attachments_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_observation_attachments_by_reference.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_observation_workflow_state_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_observation_workflow_state_by_reference.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_observations.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_program_attachments_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_program_attachments_by_proposal_reference.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_program_attachments_by_reference.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_program_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_program_by_proposal_reference.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_program_by_reference.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_programs.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_scheduler_all_programs_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_target_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/get_targets.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/obs_calculation_update.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/observation_edit.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/package_environment.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/ping.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/program_edit.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/restore_call_for_proposals_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/restore_observation_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/restore_observation_by_reference.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/restore_program_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/restore_target_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/scheduler_executed_events.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/scheduler_observations_updates.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/set_observation_workflow_state.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/target_edit.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/update_call_for_proposals_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/update_calls_for_proposals.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/update_observation_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/update_observation_by_reference.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/update_observations.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/update_program_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/update_programs.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/update_target_by_id.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/update_targets.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/logging_utils.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/rest/__init__.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/rest/client.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/rest/models.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/rest/utils.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/settings.py +0 -0
- {gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/urls.py +0 -0
|
@@ -176,7 +176,8 @@ from .enums import (
|
|
|
176
176
|
GnirsPrism,
|
|
177
177
|
GnirsReadMode,
|
|
178
178
|
GnirsWellDepth,
|
|
179
|
-
|
|
179
|
+
GroupConstraintViolationCode,
|
|
180
|
+
GroupStandingStatus,
|
|
180
181
|
GroupStatus,
|
|
181
182
|
GuideProbe,
|
|
182
183
|
GuideState,
|
|
@@ -1051,6 +1052,9 @@ from .get_scheduler_programs import (
|
|
|
1051
1052
|
GetSchedulerProgramsProgramsMatchesAllGroupElementsGroupMinimumInterval,
|
|
1052
1053
|
GetSchedulerProgramsProgramsMatchesAllGroupElementsGroupProgress,
|
|
1053
1054
|
GetSchedulerProgramsProgramsMatchesAllGroupElementsGroupProgressNextWindow,
|
|
1055
|
+
GetSchedulerProgramsProgramsMatchesAllGroupElementsGroupProgressViolations,
|
|
1056
|
+
GetSchedulerProgramsProgramsMatchesAllGroupElementsGroupProgressViolationsElement,
|
|
1057
|
+
GetSchedulerProgramsProgramsMatchesAllGroupElementsGroupProgressViolationsNight,
|
|
1054
1058
|
GetSchedulerProgramsProgramsMatchesAllGroupElementsObservation,
|
|
1055
1059
|
GetSchedulerProgramsProgramsMatchesAllocations,
|
|
1056
1060
|
GetSchedulerProgramsProgramsMatchesAllocationsDuration,
|
|
@@ -1286,6 +1290,7 @@ from .input_types import (
|
|
|
1286
1290
|
RightAscensionInput,
|
|
1287
1291
|
SchedulingConstraintsInput,
|
|
1288
1292
|
ScienceRequirementsInput,
|
|
1293
|
+
ScorpioLongSlitInput,
|
|
1289
1294
|
SetAllocationsInput,
|
|
1290
1295
|
SetGuideTargetNameInput,
|
|
1291
1296
|
SetObservationWorkflowStateInput,
|
|
@@ -1351,6 +1356,7 @@ from .input_types import (
|
|
|
1351
1356
|
WhereAttachment,
|
|
1352
1357
|
WhereAttachmentType,
|
|
1353
1358
|
WhereBoolean,
|
|
1359
|
+
WhereCalculatedGroupStanding,
|
|
1354
1360
|
WhereCalculatedObservationWorkflow,
|
|
1355
1361
|
WhereCallForProposals,
|
|
1356
1362
|
WhereCone,
|
|
@@ -1363,6 +1369,7 @@ from .input_types import (
|
|
|
1363
1369
|
WhereEqExecutionEventType,
|
|
1364
1370
|
WhereEqFocalPlane,
|
|
1365
1371
|
WhereEqGeminiCallForProposalsType,
|
|
1372
|
+
WhereEqGroupStandingStatus,
|
|
1366
1373
|
WhereEqInstrument,
|
|
1367
1374
|
WhereEqPartner,
|
|
1368
1375
|
WhereEqPartnerLinkType,
|
|
@@ -2320,6 +2327,9 @@ __all__ = [
|
|
|
2320
2327
|
"GetSchedulerProgramsProgramsMatchesAllGroupElementsGroupMinimumInterval",
|
|
2321
2328
|
"GetSchedulerProgramsProgramsMatchesAllGroupElementsGroupProgress",
|
|
2322
2329
|
"GetSchedulerProgramsProgramsMatchesAllGroupElementsGroupProgressNextWindow",
|
|
2330
|
+
"GetSchedulerProgramsProgramsMatchesAllGroupElementsGroupProgressViolations",
|
|
2331
|
+
"GetSchedulerProgramsProgramsMatchesAllGroupElementsGroupProgressViolationsElement",
|
|
2332
|
+
"GetSchedulerProgramsProgramsMatchesAllGroupElementsGroupProgressViolationsNight",
|
|
2323
2333
|
"GetSchedulerProgramsProgramsMatchesAllGroupElementsObservation",
|
|
2324
2334
|
"GetSchedulerProgramsProgramsMatchesAllocations",
|
|
2325
2335
|
"GetSchedulerProgramsProgramsMatchesAllocationsDuration",
|
|
@@ -2567,10 +2577,11 @@ __all__ = [
|
|
|
2567
2577
|
"GraphQLClientGraphQLMultiError",
|
|
2568
2578
|
"GraphQLClientHttpError",
|
|
2569
2579
|
"GraphQLClientInvalidResponseError",
|
|
2570
|
-
"
|
|
2580
|
+
"GroupConstraintViolationCode",
|
|
2571
2581
|
"GroupEditInput",
|
|
2572
2582
|
"GroupElementInput",
|
|
2573
2583
|
"GroupPropertiesInput",
|
|
2584
|
+
"GroupStandingStatus",
|
|
2574
2585
|
"GroupStatus",
|
|
2575
2586
|
"GroupedImagingVariantInput",
|
|
2576
2587
|
"GuideProbe",
|
|
@@ -2890,6 +2901,7 @@ __all__ = [
|
|
|
2890
2901
|
"ScienceRequirementsInput",
|
|
2891
2902
|
"ScienceSubtype",
|
|
2892
2903
|
"ScorpioFpu",
|
|
2904
|
+
"ScorpioLongSlitInput",
|
|
2893
2905
|
"SeeingTrend",
|
|
2894
2906
|
"SequenceCommand",
|
|
2895
2907
|
"SequenceType",
|
|
@@ -3049,6 +3061,7 @@ __all__ = [
|
|
|
3049
3061
|
"WhereAttachment",
|
|
3050
3062
|
"WhereAttachmentType",
|
|
3051
3063
|
"WhereBoolean",
|
|
3064
|
+
"WhereCalculatedGroupStanding",
|
|
3052
3065
|
"WhereCalculatedObservationWorkflow",
|
|
3053
3066
|
"WhereCallForProposals",
|
|
3054
3067
|
"WhereCone",
|
|
@@ -3061,6 +3074,7 @@ __all__ = [
|
|
|
3061
3074
|
"WhereEqExecutionEventType",
|
|
3062
3075
|
"WhereEqFocalPlane",
|
|
3063
3076
|
"WhereEqGeminiCallForProposalsType",
|
|
3077
|
+
"WhereEqGroupStandingStatus",
|
|
3064
3078
|
"WhereEqInstrument",
|
|
3065
3079
|
"WhereEqPartner",
|
|
3066
3080
|
"WhereEqPartnerLinkType",
|
|
@@ -14725,7 +14725,18 @@ class GraphQLClient(AsyncBaseClient):
|
|
|
14725
14725
|
}
|
|
14726
14726
|
required
|
|
14727
14727
|
status
|
|
14728
|
-
violations
|
|
14728
|
+
violations {
|
|
14729
|
+
code
|
|
14730
|
+
element {
|
|
14731
|
+
observationId
|
|
14732
|
+
groupId
|
|
14733
|
+
}
|
|
14734
|
+
night {
|
|
14735
|
+
date
|
|
14736
|
+
site
|
|
14737
|
+
}
|
|
14738
|
+
subgroupId
|
|
14739
|
+
}
|
|
14729
14740
|
}
|
|
14730
14741
|
sameNight
|
|
14731
14742
|
}
|
{gpp_client-26.11.2.dev1 → gpp_client-26.11.3.dev1}/src/gpp_client/generated/custom_fields.py
RENAMED
|
@@ -25,6 +25,7 @@ from .custom_typing_fields import (
|
|
|
25
25
|
AtomRecordGraphQLField,
|
|
26
26
|
AtomRecordSelectResultGraphQLField,
|
|
27
27
|
AttachmentGraphQLField,
|
|
28
|
+
AttributionGraphQLField,
|
|
28
29
|
BandBrightnessIntegratedGraphQLField,
|
|
29
30
|
BandBrightnessSurfaceGraphQLField,
|
|
30
31
|
BandedTimeGraphQLField,
|
|
@@ -36,6 +37,7 @@ from .custom_typing_fields import (
|
|
|
36
37
|
CalculatedBandedTimeGraphQLField,
|
|
37
38
|
CalculatedCategorizedTimeRangeGraphQLField,
|
|
38
39
|
CalculatedExecutionDigestGraphQLField,
|
|
40
|
+
CalculatedGroupStandingGraphQLField,
|
|
39
41
|
CalculatedObservationWorkflowGraphQLField,
|
|
40
42
|
CalibrationDigestGraphQLField,
|
|
41
43
|
CalibrationEstimateGraphQLField,
|
|
@@ -225,10 +227,14 @@ from .custom_typing_fields import (
|
|
|
225
227
|
GnirsStaticGraphQLField,
|
|
226
228
|
GnirsStepGraphQLField,
|
|
227
229
|
GoaPropertiesGraphQLField,
|
|
230
|
+
GroupConstraintViolationGraphQLField,
|
|
231
|
+
GroupConstraintWaiverGraphQLField,
|
|
228
232
|
GroupedImagingVariantGraphQLField,
|
|
229
233
|
GroupElementGraphQLField,
|
|
234
|
+
GroupElementIdGraphQLField,
|
|
230
235
|
GroupGraphQLField,
|
|
231
236
|
GroupProgressGraphQLField,
|
|
237
|
+
GroupStandingGraphQLField,
|
|
232
238
|
GroupWindowGraphQLField,
|
|
233
239
|
GuideAvailabilityPeriodGraphQLField,
|
|
234
240
|
GuideEnvironmentGraphQLField,
|
|
@@ -294,6 +300,7 @@ from .custom_typing_fields import (
|
|
|
294
300
|
ObservingModeGraphQLField,
|
|
295
301
|
ObservingModeGroupGraphQLField,
|
|
296
302
|
ObservingModeGroupSelectResultGraphQLField,
|
|
303
|
+
ObservingNightGraphQLField,
|
|
297
304
|
OffsetGraphQLField,
|
|
298
305
|
OffsetPGraphQLField,
|
|
299
306
|
OffsetQGraphQLField,
|
|
@@ -347,6 +354,7 @@ from .custom_typing_fields import (
|
|
|
347
354
|
ScienceGraphQLField,
|
|
348
355
|
ScienceProgramReferenceGraphQLField,
|
|
349
356
|
ScienceRequirementsGraphQLField,
|
|
357
|
+
ScorpioLongSlitGraphQLField,
|
|
350
358
|
SequenceDigestGraphQLField,
|
|
351
359
|
SequenceEventGraphQLField,
|
|
352
360
|
SetAllocationsResultGraphQLField,
|
|
@@ -1297,6 +1305,23 @@ class AttachmentFields(GraphQLField):
|
|
|
1297
1305
|
return self
|
|
1298
1306
|
|
|
1299
1307
|
|
|
1308
|
+
class AttributionFields(GraphQLField):
|
|
1309
|
+
"""Who took an action, when, and why, if they said."""
|
|
1310
|
+
|
|
1311
|
+
by: "AttributionGraphQLField" = AttributionGraphQLField("by")
|
|
1312
|
+
at: "AttributionGraphQLField" = AttributionGraphQLField("at")
|
|
1313
|
+
reason: "AttributionGraphQLField" = AttributionGraphQLField("reason")
|
|
1314
|
+
|
|
1315
|
+
def fields(self, *subfields: AttributionGraphQLField) -> "AttributionFields":
|
|
1316
|
+
"""Subfields should come from the AttributionFields class"""
|
|
1317
|
+
self._subfields.extend(subfields)
|
|
1318
|
+
return self
|
|
1319
|
+
|
|
1320
|
+
def alias(self, alias: str) -> "AttributionFields":
|
|
1321
|
+
self._alias = alias
|
|
1322
|
+
return self
|
|
1323
|
+
|
|
1324
|
+
|
|
1300
1325
|
class BandBrightnessIntegratedFields(GraphQLField):
|
|
1301
1326
|
band: "BandBrightnessIntegratedGraphQLField" = BandBrightnessIntegratedGraphQLField(
|
|
1302
1327
|
"band"
|
|
@@ -1610,6 +1635,40 @@ class CalculatedExecutionDigestFields(GraphQLField):
|
|
|
1610
1635
|
return self
|
|
1611
1636
|
|
|
1612
1637
|
|
|
1638
|
+
class CalculatedGroupStandingFields(GraphQLField):
|
|
1639
|
+
"""A group standing, as last calculated in the background.
|
|
1640
|
+
|
|
1641
|
+
The standing is recalculated whenever something that may change it happens:
|
|
1642
|
+
a change to the group or one of its observations, an observation in its tree
|
|
1643
|
+
starting or completing, or the time for observing a group's next element
|
|
1644
|
+
running out. Until then `calculationState` is `PENDING` (or `RETRY`, after a
|
|
1645
|
+
failed calculation), and `value` is the standing last calculated, which may be
|
|
1646
|
+
out of date in either direction. It is `READY` once the standing reflects
|
|
1647
|
+
everything recorded."""
|
|
1648
|
+
|
|
1649
|
+
calculation_state: "CalculatedGroupStandingGraphQLField" = (
|
|
1650
|
+
CalculatedGroupStandingGraphQLField("calculationState")
|
|
1651
|
+
)
|
|
1652
|
+
"The current state of the background calculation."
|
|
1653
|
+
|
|
1654
|
+
@classmethod
|
|
1655
|
+
def value(cls) -> "GroupStandingFields":
|
|
1656
|
+
"""The standing, as last calculated."""
|
|
1657
|
+
return GroupStandingFields("value")
|
|
1658
|
+
|
|
1659
|
+
def fields(
|
|
1660
|
+
self,
|
|
1661
|
+
*subfields: Union[CalculatedGroupStandingGraphQLField, "GroupStandingFields"],
|
|
1662
|
+
) -> "CalculatedGroupStandingFields":
|
|
1663
|
+
"""Subfields should come from the CalculatedGroupStandingFields class"""
|
|
1664
|
+
self._subfields.extend(subfields)
|
|
1665
|
+
return self
|
|
1666
|
+
|
|
1667
|
+
def alias(self, alias: str) -> "CalculatedGroupStandingFields":
|
|
1668
|
+
self._alias = alias
|
|
1669
|
+
return self
|
|
1670
|
+
|
|
1671
|
+
|
|
1613
1672
|
class CalculatedObservationWorkflowFields(GraphQLField):
|
|
1614
1673
|
calculation_state: "CalculatedObservationWorkflowGraphQLField" = (
|
|
1615
1674
|
CalculatedObservationWorkflowGraphQLField("calculationState")
|
|
@@ -1733,11 +1792,12 @@ class CalibrationSetFields(GraphQLField):
|
|
|
1733
1792
|
"""One row of a daytime calibration: a kind, an exposure count, the GCAL
|
|
1734
1793
|
configuration (flats and arcs only) and one instrument setup. The generator
|
|
1735
1794
|
expands it into one atom: `count` identical DAY_CAL steps for a manual kind,
|
|
1736
|
-
the steps the Smart GCAL lookup returns for a smart kind.
|
|
1795
|
+
the steps the Smart GCAL lookup returns for a smart kind. A smart kind whose
|
|
1796
|
+
lookup finds no mapping is left out and reported as MISSING_SMART_GCAL."""
|
|
1737
1797
|
|
|
1738
1798
|
kind: "CalibrationSetGraphQLField" = CalibrationSetGraphQLField("kind")
|
|
1739
1799
|
count: "CalibrationSetGraphQLField" = CalibrationSetGraphQLField("count")
|
|
1740
|
-
"Steps this set contributes to the sequence: `explicitCount` for a manual\nstep, the number of steps the Smart GCAL lookup returns for a smart step, or
|
|
1800
|
+
"Steps this set contributes to the sequence: `explicitCount` for a manual\nstep, the number of steps the Smart GCAL lookup returns for a smart step\n(zero when the setup is marked as having no calibration), or null when the\nlookup finds no mapping for the setup. A smart set that contributes no\nsteps is left out of the sequence."
|
|
1741
1801
|
explicit_count: "CalibrationSetGraphQLField" = CalibrationSetGraphQLField(
|
|
1742
1802
|
"explicitCount"
|
|
1743
1803
|
)
|
|
@@ -9160,6 +9220,14 @@ class GroupFields(GraphQLField):
|
|
|
9160
9220
|
never out of date. Null for a deleted group."""
|
|
9161
9221
|
return GroupProgressFields("progress")
|
|
9162
9222
|
|
|
9223
|
+
@classmethod
|
|
9224
|
+
def standing(cls) -> "CalculatedGroupStandingFields":
|
|
9225
|
+
"""Whether the groups around this one, itself included, still want work in it.
|
|
9226
|
+
Calculated in the background when something relevant changes (or when time
|
|
9227
|
+
passing may change it), so it may briefly lag `progress`: see
|
|
9228
|
+
`CalculatedGroupStanding`. Null for a deleted group."""
|
|
9229
|
+
return CalculatedGroupStandingFields("standing")
|
|
9230
|
+
|
|
9163
9231
|
existence: "GroupGraphQLField" = GroupGraphQLField("existence")
|
|
9164
9232
|
system: "GroupGraphQLField" = GroupGraphQLField("system")
|
|
9165
9233
|
"This group is managed by the system and not user-editable"
|
|
@@ -9172,6 +9240,7 @@ class GroupFields(GraphQLField):
|
|
|
9172
9240
|
GroupGraphQLField,
|
|
9173
9241
|
"CalculatedBandedTimeFields",
|
|
9174
9242
|
"CalculatedCategorizedTimeRangeFields",
|
|
9243
|
+
"CalculatedGroupStandingFields",
|
|
9175
9244
|
"GroupElementFields",
|
|
9176
9245
|
"GroupProgressFields",
|
|
9177
9246
|
"ProgramFields",
|
|
@@ -9187,6 +9256,97 @@ class GroupFields(GraphQLField):
|
|
|
9187
9256
|
return self
|
|
9188
9257
|
|
|
9189
9258
|
|
|
9259
|
+
class GroupConstraintViolationFields(GraphQLField):
|
|
9260
|
+
"""One particular violation of a group's constraints: its kind and where in the
|
|
9261
|
+
group it happened. Which of `element`, `night` and `subgroupId` is set depends
|
|
9262
|
+
on the `code`; the others are null."""
|
|
9263
|
+
|
|
9264
|
+
code: "GroupConstraintViolationGraphQLField" = GroupConstraintViolationGraphQLField(
|
|
9265
|
+
"code"
|
|
9266
|
+
)
|
|
9267
|
+
"The kind of violation."
|
|
9268
|
+
|
|
9269
|
+
@classmethod
|
|
9270
|
+
def element(cls) -> "GroupElementIdFields":
|
|
9271
|
+
"""For `ORDER`, the element that completed before an earlier one. For
|
|
9272
|
+
`MINIMUM_INTERVAL` and `MAXIMUM_INTERVAL`, the element whose completion the
|
|
9273
|
+
interval is measured from."""
|
|
9274
|
+
return GroupElementIdFields("element")
|
|
9275
|
+
|
|
9276
|
+
@classmethod
|
|
9277
|
+
def night(cls) -> "ObservingNightFields":
|
|
9278
|
+
"""For `SAME_NIGHT`, the night whose completions didn't finish the group. For
|
|
9279
|
+
`OBSERVATIONS_PER_NIGHT_MINIMUM` and `OBSERVATIONS_PER_NIGHT_MAXIMUM`, the
|
|
9280
|
+
night with too few or too many."""
|
|
9281
|
+
return ObservingNightFields("night")
|
|
9282
|
+
|
|
9283
|
+
subgroup_id: "GroupConstraintViolationGraphQLField" = (
|
|
9284
|
+
GroupConstraintViolationGraphQLField("subgroupId")
|
|
9285
|
+
)
|
|
9286
|
+
"For `SUBGROUP_UNSCHEDULABLE`, the subgroup."
|
|
9287
|
+
|
|
9288
|
+
def fields(
|
|
9289
|
+
self,
|
|
9290
|
+
*subfields: Union[
|
|
9291
|
+
GroupConstraintViolationGraphQLField,
|
|
9292
|
+
"GroupElementIdFields",
|
|
9293
|
+
"ObservingNightFields",
|
|
9294
|
+
],
|
|
9295
|
+
) -> "GroupConstraintViolationFields":
|
|
9296
|
+
"""Subfields should come from the GroupConstraintViolationFields class"""
|
|
9297
|
+
self._subfields.extend(subfields)
|
|
9298
|
+
return self
|
|
9299
|
+
|
|
9300
|
+
def alias(self, alias: str) -> "GroupConstraintViolationFields":
|
|
9301
|
+
self._alias = alias
|
|
9302
|
+
return self
|
|
9303
|
+
|
|
9304
|
+
|
|
9305
|
+
class GroupConstraintWaiverFields(GraphQLField):
|
|
9306
|
+
"""The acceptance of one violation of a group's constraints, say because the PI
|
|
9307
|
+
judged data taken at the wrong time usable. A waived violation no longer
|
|
9308
|
+
counts against the group, while the constraint itself stays as written, so
|
|
9309
|
+
that any other violation is still caught. A waiver is granted only for a
|
|
9310
|
+
violation that has happened. A revoked waiver is kept, but no longer applies."""
|
|
9311
|
+
|
|
9312
|
+
id: "GroupConstraintWaiverGraphQLField" = GroupConstraintWaiverGraphQLField("id")
|
|
9313
|
+
group_id: "GroupConstraintWaiverGraphQLField" = GroupConstraintWaiverGraphQLField(
|
|
9314
|
+
"groupId"
|
|
9315
|
+
)
|
|
9316
|
+
"The group whose violation is accepted."
|
|
9317
|
+
|
|
9318
|
+
@classmethod
|
|
9319
|
+
def violation(cls) -> "GroupConstraintViolationFields":
|
|
9320
|
+
"""The violation accepted."""
|
|
9321
|
+
return GroupConstraintViolationFields("violation")
|
|
9322
|
+
|
|
9323
|
+
@classmethod
|
|
9324
|
+
def granted(cls) -> "AttributionFields":
|
|
9325
|
+
"""Who granted the waiver, when, and why the violation was accepted, if they said."""
|
|
9326
|
+
return AttributionFields("granted")
|
|
9327
|
+
|
|
9328
|
+
@classmethod
|
|
9329
|
+
def revoked(cls) -> "AttributionFields":
|
|
9330
|
+
"""Who revoked the waiver, when and why, if it has been revoked."""
|
|
9331
|
+
return AttributionFields("revoked")
|
|
9332
|
+
|
|
9333
|
+
def fields(
|
|
9334
|
+
self,
|
|
9335
|
+
*subfields: Union[
|
|
9336
|
+
GroupConstraintWaiverGraphQLField,
|
|
9337
|
+
"AttributionFields",
|
|
9338
|
+
"GroupConstraintViolationFields",
|
|
9339
|
+
],
|
|
9340
|
+
) -> "GroupConstraintWaiverFields":
|
|
9341
|
+
"""Subfields should come from the GroupConstraintWaiverFields class"""
|
|
9342
|
+
self._subfields.extend(subfields)
|
|
9343
|
+
return self
|
|
9344
|
+
|
|
9345
|
+
def alias(self, alias: str) -> "GroupConstraintWaiverFields":
|
|
9346
|
+
self._alias = alias
|
|
9347
|
+
return self
|
|
9348
|
+
|
|
9349
|
+
|
|
9190
9350
|
class GroupElementFields(GraphQLField):
|
|
9191
9351
|
"""Groups contain observations and other groups. Exactly one will be defined."""
|
|
9192
9352
|
|
|
@@ -9218,6 +9378,24 @@ class GroupElementFields(GraphQLField):
|
|
|
9218
9378
|
return self
|
|
9219
9379
|
|
|
9220
9380
|
|
|
9381
|
+
class GroupElementIdFields(GraphQLField):
|
|
9382
|
+
"""An element of a group: a subgroup or an observation. Exactly one is set."""
|
|
9383
|
+
|
|
9384
|
+
group_id: "GroupElementIdGraphQLField" = GroupElementIdGraphQLField("groupId")
|
|
9385
|
+
observation_id: "GroupElementIdGraphQLField" = GroupElementIdGraphQLField(
|
|
9386
|
+
"observationId"
|
|
9387
|
+
)
|
|
9388
|
+
|
|
9389
|
+
def fields(self, *subfields: GroupElementIdGraphQLField) -> "GroupElementIdFields":
|
|
9390
|
+
"""Subfields should come from the GroupElementIdFields class"""
|
|
9391
|
+
self._subfields.extend(subfields)
|
|
9392
|
+
return self
|
|
9393
|
+
|
|
9394
|
+
def alias(self, alias: str) -> "GroupElementIdFields":
|
|
9395
|
+
self._alias = alias
|
|
9396
|
+
return self
|
|
9397
|
+
|
|
9398
|
+
|
|
9221
9399
|
class GroupProgressFields(GraphQLField):
|
|
9222
9400
|
"""A group's progress toward satisfying its constraints.
|
|
9223
9401
|
|
|
@@ -9259,11 +9437,28 @@ class GroupProgressFields(GraphQLField):
|
|
|
9259
9437
|
and its constraints restrict the timing."""
|
|
9260
9438
|
return GroupWindowFields("nextWindow")
|
|
9261
9439
|
|
|
9262
|
-
|
|
9263
|
-
|
|
9440
|
+
@classmethod
|
|
9441
|
+
def violations(cls) -> "GroupConstraintViolationFields":
|
|
9442
|
+
"""Why the group can no longer be completed: the violations of its constraints
|
|
9443
|
+
that no waiver accepts. Empty unless unschedulable. A subgroup's own
|
|
9444
|
+
violations are on its own `progress`."""
|
|
9445
|
+
return GroupConstraintViolationFields("violations")
|
|
9446
|
+
|
|
9447
|
+
@classmethod
|
|
9448
|
+
def waived(cls) -> "GroupConstraintWaiverFields":
|
|
9449
|
+
"""The waivers that accept violations of the group's constraints which would
|
|
9450
|
+
otherwise make it unschedulable. An ongoing, complete or unschedulable group
|
|
9451
|
+
may have them."""
|
|
9452
|
+
return GroupConstraintWaiverFields("waived")
|
|
9264
9453
|
|
|
9265
9454
|
def fields(
|
|
9266
|
-
self,
|
|
9455
|
+
self,
|
|
9456
|
+
*subfields: Union[
|
|
9457
|
+
GroupProgressGraphQLField,
|
|
9458
|
+
"GroupConstraintViolationFields",
|
|
9459
|
+
"GroupConstraintWaiverFields",
|
|
9460
|
+
"GroupWindowFields",
|
|
9461
|
+
],
|
|
9267
9462
|
) -> "GroupProgressFields":
|
|
9268
9463
|
"""Subfields should come from the GroupProgressFields class"""
|
|
9269
9464
|
self._subfields.extend(subfields)
|
|
@@ -9274,6 +9469,42 @@ class GroupProgressFields(GraphQLField):
|
|
|
9274
9469
|
return self
|
|
9275
9470
|
|
|
9276
9471
|
|
|
9472
|
+
class GroupStandingFields(GraphQLField):
|
|
9473
|
+
"""Every group and observation has a group standing. It says whether the group
|
|
9474
|
+
or observation is still worth doing, given the groups it belongs to. It is
|
|
9475
|
+
stored for each group, and an observation has its group's.
|
|
9476
|
+
For example, a `READY` observation in a group that can no longer be completed
|
|
9477
|
+
is `UNSCHEDULABLE`: completing it couldn't help complete the group. Similarly,
|
|
9478
|
+
the observations left over in a group that already has the observations it
|
|
9479
|
+
requires are `COMPLETE`: they're no longer needed.
|
|
9480
|
+
|
|
9481
|
+
The standing comes from the progress (`Group.progress`) of the groups
|
|
9482
|
+
containing the observation, or, for a group, the groups containing it and the
|
|
9483
|
+
group itself. The outermost of these that is complete or unschedulable decides
|
|
9484
|
+
the standing and is named in it. If none is, the standing is `VIABLE`. An
|
|
9485
|
+
observation outside any group is always `VIABLE`.
|
|
9486
|
+
|
|
9487
|
+
Together with the observation workflow state, the standing can filter the
|
|
9488
|
+
observations to consider for scheduling: only `VIABLE` ones need further
|
|
9489
|
+
consideration. The standing is calculated in the background, so it may be out
|
|
9490
|
+
of date while the `calculationState` of the `CalculatedGroupStanding` holding
|
|
9491
|
+
it is `PENDING`. A strict filter also matches `READY` (see
|
|
9492
|
+
`WhereCalculatedGroupStanding`)."""
|
|
9493
|
+
|
|
9494
|
+
status: "GroupStandingGraphQLField" = GroupStandingGraphQLField("status")
|
|
9495
|
+
group_id: "GroupStandingGraphQLField" = GroupStandingGraphQLField("groupId")
|
|
9496
|
+
"The group that decided the status, unless viable."
|
|
9497
|
+
|
|
9498
|
+
def fields(self, *subfields: GroupStandingGraphQLField) -> "GroupStandingFields":
|
|
9499
|
+
"""Subfields should come from the GroupStandingFields class"""
|
|
9500
|
+
self._subfields.extend(subfields)
|
|
9501
|
+
return self
|
|
9502
|
+
|
|
9503
|
+
def alias(self, alias: str) -> "GroupStandingFields":
|
|
9504
|
+
self._alias = alias
|
|
9505
|
+
return self
|
|
9506
|
+
|
|
9507
|
+
|
|
9277
9508
|
class GroupWindowFields(GraphQLField):
|
|
9278
9509
|
"""When the next element of a group may be observed, given the completions so far.
|
|
9279
9510
|
The window reflects only the group's own constraints. The program's active
|
|
@@ -11106,6 +11337,14 @@ class ObservationFields(GraphQLField):
|
|
|
11106
11337
|
whether a pending update is expected."""
|
|
11107
11338
|
return CalculatedObservationWorkflowFields("workflow")
|
|
11108
11339
|
|
|
11340
|
+
@classmethod
|
|
11341
|
+
def group_standing(cls) -> "CalculatedGroupStandingFields":
|
|
11342
|
+
"""Whether the groups around the observation still want it: its group's
|
|
11343
|
+
standing, or viable outside any group. Independent of the workflow state.
|
|
11344
|
+
Calculated in the background, like the group's: see
|
|
11345
|
+
`CalculatedGroupStanding`."""
|
|
11346
|
+
return CalculatedGroupStandingFields("groupStanding")
|
|
11347
|
+
|
|
11109
11348
|
@classmethod
|
|
11110
11349
|
def archive_duplication(cls) -> "ArchiveDuplicationFields":
|
|
11111
11350
|
"""Result of the Archive Duplication Search: what the Gemini Observatory Archive
|
|
@@ -11123,6 +11362,7 @@ class ObservationFields(GraphQLField):
|
|
|
11123
11362
|
ObservationGraphQLField,
|
|
11124
11363
|
"ArchiveDuplicationFields",
|
|
11125
11364
|
"AttachmentFields",
|
|
11365
|
+
"CalculatedGroupStandingFields",
|
|
11126
11366
|
"CalculatedObservationWorkflowFields",
|
|
11127
11367
|
"ConfigurationFields",
|
|
11128
11368
|
"ConfigurationRequestFields",
|
|
@@ -11468,6 +11708,11 @@ class ObservingModeFields(GraphQLField):
|
|
|
11468
11708
|
"""IGRINS-2 Long Slit mode"""
|
|
11469
11709
|
return Igrins2LongSlitFields("igrins2LongSlit")
|
|
11470
11710
|
|
|
11711
|
+
@classmethod
|
|
11712
|
+
def scorpio_long_slit(cls) -> "ScorpioLongSlitFields":
|
|
11713
|
+
"""SCORPIO Long Slit mode"""
|
|
11714
|
+
return ScorpioLongSlitFields("scorpioLongSlit")
|
|
11715
|
+
|
|
11471
11716
|
@classmethod
|
|
11472
11717
|
def visitor(cls) -> "VisitorFields":
|
|
11473
11718
|
return VisitorFields("visitor")
|
|
@@ -11495,6 +11740,7 @@ class ObservingModeFields(GraphQLField):
|
|
|
11495
11740
|
"GnirsLongSlitFields",
|
|
11496
11741
|
"GnirsSpectroscopyFields",
|
|
11497
11742
|
"Igrins2LongSlitFields",
|
|
11743
|
+
"ScorpioLongSlitFields",
|
|
11498
11744
|
"VisitorFields",
|
|
11499
11745
|
],
|
|
11500
11746
|
) -> "ObservingModeFields":
|
|
@@ -11589,6 +11835,23 @@ class ObservingModeGroupSelectResultFields(GraphQLField):
|
|
|
11589
11835
|
return self
|
|
11590
11836
|
|
|
11591
11837
|
|
|
11838
|
+
class ObservingNightFields(GraphQLField):
|
|
11839
|
+
"""An observing night at a site."""
|
|
11840
|
+
|
|
11841
|
+
site: "ObservingNightGraphQLField" = ObservingNightGraphQLField("site")
|
|
11842
|
+
date: "ObservingNightGraphQLField" = ObservingNightGraphQLField("date")
|
|
11843
|
+
"The local date on which the night ends. A night runs from 14:00 local time\non the day before to 14:00 on this date."
|
|
11844
|
+
|
|
11845
|
+
def fields(self, *subfields: ObservingNightGraphQLField) -> "ObservingNightFields":
|
|
11846
|
+
"""Subfields should come from the ObservingNightFields class"""
|
|
11847
|
+
self._subfields.extend(subfields)
|
|
11848
|
+
return self
|
|
11849
|
+
|
|
11850
|
+
def alias(self, alias: str) -> "ObservingNightFields":
|
|
11851
|
+
self._alias = alias
|
|
11852
|
+
return self
|
|
11853
|
+
|
|
11854
|
+
|
|
11592
11855
|
class OffsetFields(GraphQLField):
|
|
11593
11856
|
@classmethod
|
|
11594
11857
|
def p(cls) -> "OffsetPFields":
|
|
@@ -11983,7 +12246,8 @@ class ProgramFields(GraphQLField):
|
|
|
11983
12246
|
|
|
11984
12247
|
@classmethod
|
|
11985
12248
|
def tac_feedback(cls) -> "TacFeedbackFields":
|
|
11986
|
-
"""TAC feedback
|
|
12249
|
+
"""TAC feedback for each time accounting category that has provided it, ordered
|
|
12250
|
+
by time accounting category."""
|
|
11987
12251
|
return TacFeedbackFields("tacFeedback")
|
|
11988
12252
|
|
|
11989
12253
|
calibration_role: "ProgramGraphQLField" = ProgramGraphQLField("calibrationRole")
|
|
@@ -13195,6 +13459,71 @@ class ScienceRequirementsFields(GraphQLField):
|
|
|
13195
13459
|
return self
|
|
13196
13460
|
|
|
13197
13461
|
|
|
13462
|
+
class ScorpioLongSlitFields(GraphQLField):
|
|
13463
|
+
"""SCORPIO Long Slit mode. Only the visible arm is configured, with one exposure
|
|
13464
|
+
time mode for each of its channels."""
|
|
13465
|
+
|
|
13466
|
+
fpu: "ScorpioLongSlitGraphQLField" = ScorpioLongSlitGraphQLField("fpu")
|
|
13467
|
+
"The long slit."
|
|
13468
|
+
|
|
13469
|
+
@classmethod
|
|
13470
|
+
def g(cls) -> "ExposureTimeModeFields":
|
|
13471
|
+
"""Exposure time mode of the g channel. It has the same exposure time and count
|
|
13472
|
+
as r, which shares its detector controller."""
|
|
13473
|
+
return ExposureTimeModeFields("g")
|
|
13474
|
+
|
|
13475
|
+
@classmethod
|
|
13476
|
+
def r(cls) -> "ExposureTimeModeFields":
|
|
13477
|
+
"""Exposure time mode of the r channel. It has the same exposure time and count
|
|
13478
|
+
as g, which shares its detector controller."""
|
|
13479
|
+
return ExposureTimeModeFields("r")
|
|
13480
|
+
|
|
13481
|
+
@classmethod
|
|
13482
|
+
def i(cls) -> "ExposureTimeModeFields":
|
|
13483
|
+
"""Exposure time mode of the i channel. It has the same exposure time and count
|
|
13484
|
+
as z, which shares its detector controller."""
|
|
13485
|
+
return ExposureTimeModeFields("i")
|
|
13486
|
+
|
|
13487
|
+
@classmethod
|
|
13488
|
+
def z(cls) -> "ExposureTimeModeFields":
|
|
13489
|
+
"""Exposure time mode of the z channel. It has the same exposure time and count
|
|
13490
|
+
as i, which shares its detector controller."""
|
|
13491
|
+
return ExposureTimeModeFields("z")
|
|
13492
|
+
|
|
13493
|
+
@classmethod
|
|
13494
|
+
def telescope_configs(cls) -> "SlitTelescopeConfigsFields":
|
|
13495
|
+
"""Effective telescope configs (explicit override coalesced with the default)."""
|
|
13496
|
+
return SlitTelescopeConfigsFields("telescopeConfigs")
|
|
13497
|
+
|
|
13498
|
+
@classmethod
|
|
13499
|
+
def default_telescope_configs(cls) -> "SlitTelescopeConfigsFields":
|
|
13500
|
+
"""Default telescope configs: four positions along the slit,
|
|
13501
|
+
q = 0, -15, +15, 0 arcsec, all guided."""
|
|
13502
|
+
return SlitTelescopeConfigsFields("defaultTelescopeConfigs")
|
|
13503
|
+
|
|
13504
|
+
@classmethod
|
|
13505
|
+
def explicit_telescope_configs(cls) -> "SlitTelescopeConfigsFields":
|
|
13506
|
+
"""Optional explicitly specified telescope configs. If set they override the
|
|
13507
|
+
default."""
|
|
13508
|
+
return SlitTelescopeConfigsFields("explicitTelescopeConfigs")
|
|
13509
|
+
|
|
13510
|
+
def fields(
|
|
13511
|
+
self,
|
|
13512
|
+
*subfields: Union[
|
|
13513
|
+
ScorpioLongSlitGraphQLField,
|
|
13514
|
+
"ExposureTimeModeFields",
|
|
13515
|
+
"SlitTelescopeConfigsFields",
|
|
13516
|
+
],
|
|
13517
|
+
) -> "ScorpioLongSlitFields":
|
|
13518
|
+
"""Subfields should come from the ScorpioLongSlitFields class"""
|
|
13519
|
+
self._subfields.extend(subfields)
|
|
13520
|
+
return self
|
|
13521
|
+
|
|
13522
|
+
def alias(self, alias: str) -> "ScorpioLongSlitFields":
|
|
13523
|
+
self._alias = alias
|
|
13524
|
+
return self
|
|
13525
|
+
|
|
13526
|
+
|
|
13198
13527
|
class SequenceDigestFields(GraphQLField):
|
|
13199
13528
|
observe_class: "SequenceDigestGraphQLField" = SequenceDigestGraphQLField(
|
|
13200
13529
|
"observeClass"
|
|
@@ -13233,7 +13562,10 @@ class SequenceDigestFields(GraphQLField):
|
|
|
13233
13562
|
that steps violate (CONFIGURATION_ERROR for exposures that cannot be taken,
|
|
13234
13563
|
EXPOSURE_TIME_WARNING for those merely outside the recommended range, which
|
|
13235
13564
|
are reported for science steps alone) and, for GMOS spectroscopy, science
|
|
13236
|
-
steps exposed to second order light (SECOND_ORDER_OVERLAP).
|
|
13565
|
+
steps exposed to second order light (SECOND_ORDER_OVERLAP). They also
|
|
13566
|
+
include the calibrations left out of a generated sequence because no Smart
|
|
13567
|
+
GCAL entry is defined for their configuration (MISSING_SMART_GCAL), which no
|
|
13568
|
+
step shows."""
|
|
13237
13569
|
return StepViolationFields("stepViolations")
|
|
13238
13570
|
|
|
13239
13571
|
def fields(
|
|
@@ -14623,23 +14955,26 @@ class SystemVerificationFields(GraphQLField):
|
|
|
14623
14955
|
|
|
14624
14956
|
|
|
14625
14957
|
class TacFeedbackFields(GraphQLField):
|
|
14626
|
-
"""
|
|
14958
|
+
"""The TAC (Time Allocation Committee) feedback of a time accounting category for
|
|
14959
|
+
a program."""
|
|
14627
14960
|
|
|
14628
|
-
|
|
14629
|
-
|
|
14961
|
+
time_accounting_category: "TacFeedbackGraphQLField" = TacFeedbackGraphQLField(
|
|
14962
|
+
"timeAccountingCategory"
|
|
14963
|
+
)
|
|
14964
|
+
"The time accounting category whose TAC provided the feedback."
|
|
14630
14965
|
decision: "TacFeedbackGraphQLField" = TacFeedbackGraphQLField("decision")
|
|
14631
|
-
"The
|
|
14966
|
+
"The TAC's decision."
|
|
14632
14967
|
ranking: "TacFeedbackGraphQLField" = TacFeedbackGraphQLField("ranking")
|
|
14633
|
-
"The
|
|
14968
|
+
"The TAC's ranking of the proposal."
|
|
14634
14969
|
|
|
14635
14970
|
@classmethod
|
|
14636
14971
|
def recommended_times(cls) -> "TacRecommendedTimeFields":
|
|
14637
|
-
"""The time recommended by the
|
|
14638
|
-
|
|
14972
|
+
"""The time recommended by the TAC, at most one entry per science band, sorted
|
|
14973
|
+
by band. Empty if the TAC recommends no time."""
|
|
14639
14974
|
return TacRecommendedTimeFields("recommendedTimes")
|
|
14640
14975
|
|
|
14641
14976
|
comments: "TacFeedbackGraphQLField" = TacFeedbackGraphQLField("comments")
|
|
14642
|
-
"The
|
|
14977
|
+
"The TAC's comments, if any."
|
|
14643
14978
|
|
|
14644
14979
|
def fields(
|
|
14645
14980
|
self, *subfields: Union[TacFeedbackGraphQLField, "TacRecommendedTimeFields"]
|
|
@@ -14674,14 +15009,14 @@ class TacFeedbackResultFields(GraphQLField):
|
|
|
14674
15009
|
|
|
14675
15010
|
|
|
14676
15011
|
class TacRecommendedTimeFields(GraphQLField):
|
|
14677
|
-
"""The time recommended by a
|
|
15012
|
+
"""The time recommended by a TAC for a science band."""
|
|
14678
15013
|
|
|
14679
15014
|
band: "TacRecommendedTimeGraphQLField" = TacRecommendedTimeGraphQLField("band")
|
|
14680
15015
|
"The science band for which the time is recommended."
|
|
14681
15016
|
|
|
14682
15017
|
@classmethod
|
|
14683
15018
|
def time(cls) -> "TimeSpanFields":
|
|
14684
|
-
"""The time recommended for this band."""
|
|
15019
|
+
"""The time recommended for this band, which is always positive."""
|
|
14685
15020
|
return TimeSpanFields("time")
|
|
14686
15021
|
|
|
14687
15022
|
def fields(
|