across-server-openapi-python 1.4.0__py3-none-any.whl → 2.0.0__py3-none-any.whl

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.
Files changed (148) hide show
  1. across/sdk/v1/__init__.py +48 -19
  2. across/sdk/v1/api/__init__.py +1 -1
  3. across/sdk/v1/api/auth_api.py +17 -286
  4. across/sdk/v1/api/broker_alert_api.py +36 -36
  5. across/sdk/v1/api/broker_event_api.py +20 -20
  6. across/sdk/v1/api/filter_api.py +20 -20
  7. across/sdk/v1/api/group_api.py +25 -275
  8. across/sdk/v1/api/group_invite_api.py +65 -66
  9. across/sdk/v1/api/group_role_api.py +111 -112
  10. across/sdk/v1/api/instrument_api.py +20 -20
  11. across/sdk/v1/api/internal_api.py +19 -20
  12. across/sdk/v1/api/observation_api.py +106 -109
  13. across/sdk/v1/api/observation_request_api.py +2108 -0
  14. across/sdk/v1/api/observatory_api.py +24 -25
  15. across/sdk/v1/api/permission_api.py +5 -6
  16. across/sdk/v1/api/schedule_api.py +84 -86
  17. across/sdk/v1/api/service_account_api.py +121 -122
  18. across/sdk/v1/api/telescope_api.py +26 -26
  19. across/sdk/v1/api/tle_api.py +7 -8
  20. across/sdk/v1/api/tools_api.py +55 -55
  21. across/sdk/v1/api/user_api.py +100 -349
  22. across/sdk/v1/api_client.py +111 -47
  23. across/sdk/v1/configuration.py +106 -33
  24. across/sdk/v1/exceptions.py +8 -6
  25. across/sdk/v1/models/__init__.py +24 -10
  26. across/sdk/v1/models/access_token_response.py +5 -4
  27. across/sdk/v1/models/across_server_routes_v1_group_invite_schemas_group_invite.py +106 -0
  28. across/sdk/v1/models/across_server_routes_v1_group_role_schemas_group.py +7 -5
  29. across/sdk/v1/models/across_server_routes_v1_group_role_schemas_group_role.py +20 -15
  30. across/sdk/v1/models/across_server_routes_v1_group_role_schemas_service_account.py +107 -0
  31. across/sdk/v1/models/across_server_routes_v1_group_role_schemas_user.py +7 -5
  32. across/sdk/v1/models/across_server_routes_v1_group_schemas_group.py +12 -12
  33. across/sdk/v1/models/across_server_routes_v1_group_schemas_user.py +8 -7
  34. across/sdk/v1/models/across_server_routes_v1_user_schemas_group.py +11 -10
  35. across/sdk/v1/models/across_server_routes_v1_user_schemas_group_invite.py +8 -6
  36. across/sdk/v1/models/across_server_routes_v1_user_schemas_group_role.py +8 -7
  37. across/sdk/v1/models/across_server_routes_v1_user_schemas_user.py +14 -16
  38. across/sdk/v1/models/across_server_routes_v1_user_service_account_schemas_service_account.py +8 -7
  39. across/sdk/v1/models/bandpass.py +1 -1
  40. across/sdk/v1/models/bandpass_type.py +1 -1
  41. across/sdk/v1/models/broker_alert.py +8 -6
  42. across/sdk/v1/models/broker_alert_create.py +6 -6
  43. across/sdk/v1/models/broker_alert_data_source.py +1 -1
  44. across/sdk/v1/models/broker_alert_status.py +1 -1
  45. across/sdk/v1/models/broker_event.py +9 -9
  46. across/sdk/v1/models/broker_event_type.py +1 -1
  47. across/sdk/v1/models/constrained_date.py +8 -6
  48. across/sdk/v1/models/constraint_reason.py +5 -4
  49. across/sdk/v1/models/constraint_type.py +1 -1
  50. across/sdk/v1/models/coordinate.py +5 -4
  51. across/sdk/v1/models/date_range.py +5 -4
  52. across/sdk/v1/models/date_range_create.py +96 -0
  53. across/sdk/v1/models/depth_unit.py +1 -1
  54. across/sdk/v1/models/energy_bandpass.py +5 -4
  55. across/sdk/v1/models/energy_unit.py +1 -1
  56. across/sdk/v1/models/ephemeris_type.py +1 -1
  57. across/sdk/v1/models/filter.py +8 -6
  58. across/sdk/v1/models/frequency_bandpass.py +5 -4
  59. across/sdk/v1/models/frequency_unit.py +1 -1
  60. across/sdk/v1/models/grant_type.py +1 -1
  61. across/sdk/v1/models/ground_parameters.py +5 -4
  62. across/sdk/v1/models/group_base.py +7 -5
  63. across/sdk/v1/models/group_invite_create.py +5 -4
  64. across/sdk/v1/models/group_invite_group_details.py +7 -5
  65. across/sdk/v1/models/group_read.py +7 -5
  66. across/sdk/v1/models/group_role_create.py +7 -5
  67. across/sdk/v1/models/group_role_read.py +8 -7
  68. across/sdk/v1/models/http_validation_error.py +6 -6
  69. across/sdk/v1/models/id_name_schema.py +7 -5
  70. across/sdk/v1/models/instrument.py +31 -15
  71. across/sdk/v1/models/ivoa_obs_category.py +1 -1
  72. across/sdk/v1/models/ivoa_obs_tracking_type.py +1 -1
  73. across/sdk/v1/models/joint_visibility_result.py +23 -23
  74. across/sdk/v1/models/jpl_parameters.py +5 -4
  75. across/sdk/v1/models/localization.py +11 -10
  76. across/sdk/v1/models/localization_contour_base.py +6 -6
  77. across/sdk/v1/models/localization_create.py +6 -6
  78. across/sdk/v1/models/location_inner.py +1 -1
  79. across/sdk/v1/models/name_resolver.py +5 -4
  80. across/sdk/v1/models/nullable_date_range.py +5 -4
  81. across/sdk/v1/models/nullable_end_date_range.py +96 -0
  82. across/sdk/v1/models/observation.py +11 -10
  83. across/sdk/v1/models/observation_create.py +9 -8
  84. across/sdk/v1/models/observation_footprint.py +10 -9
  85. across/sdk/v1/models/observation_footprint_create.py +6 -6
  86. across/sdk/v1/models/observation_request.py +202 -0
  87. across/sdk/v1/models/observation_request_create.py +148 -0
  88. across/sdk/v1/models/observation_request_create_many.py +95 -0
  89. across/sdk/v1/models/observation_request_status.py +40 -0
  90. across/sdk/v1/models/observation_request_update.py +213 -0
  91. across/sdk/v1/models/observation_request_version.py +99 -0
  92. across/sdk/v1/models/observation_status.py +1 -1
  93. across/sdk/v1/models/observation_strategy.py +1 -1
  94. across/sdk/v1/models/observation_type.py +1 -1
  95. across/sdk/v1/models/observation_window.py +134 -0
  96. across/sdk/v1/models/observation_window1.py +140 -0
  97. across/sdk/v1/models/observatory.py +9 -9
  98. across/sdk/v1/models/observatory_ephemeris_type.py +5 -4
  99. across/sdk/v1/models/observatory_type.py +1 -1
  100. across/sdk/v1/models/observing_proposal.py +93 -0
  101. across/sdk/v1/models/observing_proposal_create.py +98 -0
  102. across/sdk/v1/models/page_broker_alert.py +6 -6
  103. across/sdk/v1/models/page_broker_event.py +6 -6
  104. across/sdk/v1/models/page_observation.py +6 -6
  105. across/sdk/v1/models/page_observation_request.py +116 -0
  106. across/sdk/v1/models/page_schedule.py +6 -6
  107. across/sdk/v1/models/parameters.py +1 -1
  108. across/sdk/v1/models/permission.py +7 -5
  109. across/sdk/v1/models/point.py +5 -4
  110. across/sdk/v1/models/proper_motion.py +93 -0
  111. across/sdk/v1/models/role_base.py +7 -5
  112. across/sdk/v1/models/schedule.py +10 -9
  113. across/sdk/v1/models/schedule_cadence.py +8 -6
  114. across/sdk/v1/models/schedule_create.py +8 -7
  115. across/sdk/v1/models/schedule_create_many.py +9 -8
  116. across/sdk/v1/models/schedule_fidelity.py +1 -1
  117. across/sdk/v1/models/schedule_status.py +1 -1
  118. across/sdk/v1/models/service_account_create.py +5 -4
  119. across/sdk/v1/models/service_account_secret.py +7 -5
  120. across/sdk/v1/models/service_account_update.py +5 -4
  121. across/sdk/v1/models/setting.py +100 -0
  122. across/sdk/v1/models/setting_type.py +39 -0
  123. across/sdk/v1/models/spice_parameters.py +5 -4
  124. across/sdk/v1/models/system_service_account.py +9 -9
  125. across/sdk/v1/models/telescope.py +9 -9
  126. across/sdk/v1/models/telescope_instrument.py +31 -15
  127. across/sdk/v1/models/tle.py +5 -4
  128. across/sdk/v1/models/tle_create.py +5 -4
  129. across/sdk/v1/models/tle_parameters.py +5 -4
  130. across/sdk/v1/models/unit_value.py +5 -4
  131. across/sdk/v1/models/user_create.py +5 -4
  132. across/sdk/v1/models/user_info.py +7 -5
  133. across/sdk/v1/models/user_update.py +5 -4
  134. across/sdk/v1/models/validation_error.py +21 -12
  135. across/sdk/v1/models/validation_error_loc_inner.py +1 -1
  136. across/sdk/v1/models/visibility_result.py +14 -11
  137. across/sdk/v1/models/visibility_type.py +1 -1
  138. across/sdk/v1/models/visibility_window.py +5 -4
  139. across/sdk/v1/models/wavelength_bandpass.py +5 -4
  140. across/sdk/v1/models/wavelength_unit.py +1 -1
  141. across/sdk/v1/models/window.py +5 -4
  142. across/sdk/v1/rest.py +88 -12
  143. {across_server_openapi_python-1.4.0.dist-info → across_server_openapi_python-2.0.0.dist-info}/METADATA +103 -45
  144. across_server_openapi_python-2.0.0.dist-info/RECORD +162 -0
  145. {across_server_openapi_python-1.4.0.dist-info → across_server_openapi_python-2.0.0.dist-info}/WHEEL +1 -1
  146. across_server_openapi_python-1.4.0.dist-info/RECORD +0 -143
  147. {across_server_openapi_python-1.4.0.dist-info → across_server_openapi_python-2.0.0.dist-info}/licenses/LICENSE +0 -0
  148. {across_server_openapi_python-1.4.0.dist-info → across_server_openapi_python-2.0.0.dist-info}/top_level.txt +0 -0
@@ -1,16 +1,15 @@
1
- # coding: utf-8
2
-
3
1
  """
4
2
  ACROSS Server
5
3
 
6
4
  Server providing tools and utilities for various NASA missions to aid in coordination of large observation efforts.
7
5
 
8
- The version of the OpenAPI document: 1.6.0
6
+ The version of the OpenAPI document: 2.0.2
9
7
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
8
 
11
9
  Do not edit the class manually.
12
10
  """ # noqa: E501
13
11
 
12
+
14
13
  import warnings
15
14
  from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
16
15
  from typing import Any, Dict, List, Optional, Tuple, Union
@@ -20,6 +19,7 @@ from datetime import datetime
20
19
  from pydantic import Field, StrictBool, StrictInt, StrictStr
21
20
  from typing import List, Optional, Union
22
21
  from typing_extensions import Annotated
22
+ from uuid import UUID
23
23
  from across.sdk.v1.models.joint_visibility_result import JointVisibilityResult
24
24
  from across.sdk.v1.models.name_resolver import NameResolver
25
25
  from across.sdk.v1.models.visibility_result import VisibilityResult
@@ -49,7 +49,7 @@ class ToolsApi:
49
49
  dec: Union[Annotated[float, Field(le=90.0, strict=True, ge=-90.0)], Annotated[int, Field(le=90, strict=True, ge=-90)]],
50
50
  date_range_begin: datetime,
51
51
  date_range_end: datetime,
52
- instrument_ids: List[Optional[StrictStr]],
52
+ instrument_ids: List[Optional[UUID]],
53
53
  hi_res: Optional[StrictBool] = None,
54
54
  min_visibility_duration: Optional[StrictInt] = None,
55
55
  _request_timeout: Union[
@@ -67,7 +67,7 @@ class ToolsApi:
67
67
  ) -> JointVisibilityResult:
68
68
  """Calculated Joint Visibility Windows
69
69
 
70
- Calculate joint visibility windows between instruments for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
70
+ Calculate joint visibility windows between instruments for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments **NOTICE**: These visibility windows are calculated based on publicly available ephemerides and observatory constraints. As a result, they are rough estimates and will not perfectly reflect the target visibility for each observatory. For detailed visibility windows, we recommend visiting the observatory website or requesting information from the individual science teams. WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
71
71
 
72
72
  :param ra: (required)
73
73
  :type ra: float
@@ -78,7 +78,7 @@ class ToolsApi:
78
78
  :param date_range_end: (required)
79
79
  :type date_range_end: datetime
80
80
  :param instrument_ids: (required)
81
- :type instrument_ids: List[Optional[str]]
81
+ :type instrument_ids: List[Optional[UUID]]
82
82
  :param hi_res:
83
83
  :type hi_res: bool
84
84
  :param min_visibility_duration:
@@ -142,7 +142,7 @@ class ToolsApi:
142
142
  dec: Union[Annotated[float, Field(le=90.0, strict=True, ge=-90.0)], Annotated[int, Field(le=90, strict=True, ge=-90)]],
143
143
  date_range_begin: datetime,
144
144
  date_range_end: datetime,
145
- instrument_ids: List[Optional[StrictStr]],
145
+ instrument_ids: List[Optional[UUID]],
146
146
  hi_res: Optional[StrictBool] = None,
147
147
  min_visibility_duration: Optional[StrictInt] = None,
148
148
  _request_timeout: Union[
@@ -160,7 +160,7 @@ class ToolsApi:
160
160
  ) -> ApiResponse[JointVisibilityResult]:
161
161
  """Calculated Joint Visibility Windows
162
162
 
163
- Calculate joint visibility windows between instruments for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
163
+ Calculate joint visibility windows between instruments for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments **NOTICE**: These visibility windows are calculated based on publicly available ephemerides and observatory constraints. As a result, they are rough estimates and will not perfectly reflect the target visibility for each observatory. For detailed visibility windows, we recommend visiting the observatory website or requesting information from the individual science teams. WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
164
164
 
165
165
  :param ra: (required)
166
166
  :type ra: float
@@ -171,7 +171,7 @@ class ToolsApi:
171
171
  :param date_range_end: (required)
172
172
  :type date_range_end: datetime
173
173
  :param instrument_ids: (required)
174
- :type instrument_ids: List[Optional[str]]
174
+ :type instrument_ids: List[Optional[UUID]]
175
175
  :param hi_res:
176
176
  :type hi_res: bool
177
177
  :param min_visibility_duration:
@@ -235,7 +235,7 @@ class ToolsApi:
235
235
  dec: Union[Annotated[float, Field(le=90.0, strict=True, ge=-90.0)], Annotated[int, Field(le=90, strict=True, ge=-90)]],
236
236
  date_range_begin: datetime,
237
237
  date_range_end: datetime,
238
- instrument_ids: List[Optional[StrictStr]],
238
+ instrument_ids: List[Optional[UUID]],
239
239
  hi_res: Optional[StrictBool] = None,
240
240
  min_visibility_duration: Optional[StrictInt] = None,
241
241
  _request_timeout: Union[
@@ -253,7 +253,7 @@ class ToolsApi:
253
253
  ) -> RESTResponseType:
254
254
  """Calculated Joint Visibility Windows
255
255
 
256
- Calculate joint visibility windows between instruments for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
256
+ Calculate joint visibility windows between instruments for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments **NOTICE**: These visibility windows are calculated based on publicly available ephemerides and observatory constraints. As a result, they are rough estimates and will not perfectly reflect the target visibility for each observatory. For detailed visibility windows, we recommend visiting the observatory website or requesting information from the individual science teams. WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
257
257
 
258
258
  :param ra: (required)
259
259
  :type ra: float
@@ -264,7 +264,7 @@ class ToolsApi:
264
264
  :param date_range_end: (required)
265
265
  :type date_range_end: datetime
266
266
  :param instrument_ids: (required)
267
- :type instrument_ids: List[Optional[str]]
267
+ :type instrument_ids: List[Optional[UUID]]
268
268
  :param hi_res:
269
269
  :type hi_res: bool
270
270
  :param min_visibility_duration:
@@ -340,7 +340,7 @@ class ToolsApi:
340
340
 
341
341
  _path_params: Dict[str, str] = {}
342
342
  _query_params: List[Tuple[str, str]] = []
343
- _header_params: Dict[str, Optional[str]] = _headers or {}
343
+ _header_params: Dict[str, Any] = self.api_client._merge_headers(_headers)
344
344
  _form_params: List[Tuple[str, str]] = []
345
345
  _files: Dict[
346
346
  str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
@@ -401,7 +401,7 @@ class ToolsApi:
401
401
 
402
402
 
403
403
  # set the HTTP header `Accept`
404
- if 'Accept' not in _header_params:
404
+ if not any(key.lower() == 'accept' for key in _header_params):
405
405
  _header_params['Accept'] = self.api_client.select_header_accept(
406
406
  [
407
407
  'application/json'
@@ -415,7 +415,7 @@ class ToolsApi:
415
415
 
416
416
  return self.api_client.param_serialize(
417
417
  method='GET',
418
- resource_path='/tools/visibility-calculator/windows/',
418
+ resource_path='/tools/visibility-calculator/windows',
419
419
  path_params=_path_params,
420
420
  query_params=_query_params,
421
421
  header_params=_header_params,
@@ -438,7 +438,7 @@ class ToolsApi:
438
438
  dec: Union[Annotated[float, Field(le=90.0, strict=True, ge=-90.0)], Annotated[int, Field(le=90, strict=True, ge=-90)]],
439
439
  date_range_begin: datetime,
440
440
  date_range_end: datetime,
441
- instrument_ids: List[Optional[StrictStr]],
441
+ instrument_ids: List[Optional[UUID]],
442
442
  hi_res: Optional[StrictBool] = None,
443
443
  min_visibility_duration: Optional[StrictInt] = None,
444
444
  _request_timeout: Union[
@@ -456,7 +456,7 @@ class ToolsApi:
456
456
  ) -> JointVisibilityResult:
457
457
  """Calculated Joint Visibility Windows
458
458
 
459
- Calculate joint visibility windows between instruments for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
459
+ Calculate joint visibility windows between instruments for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments **NOTICE**: These visibility windows are calculated based on publicly available ephemerides and observatory constraints. As a result, they are rough estimates and will not perfectly reflect the target visibility for each observatory. For detailed visibility windows, we recommend visiting the observatory website or requesting information from the individual science teams. WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
460
460
 
461
461
  :param ra: (required)
462
462
  :type ra: float
@@ -467,7 +467,7 @@ class ToolsApi:
467
467
  :param date_range_end: (required)
468
468
  :type date_range_end: datetime
469
469
  :param instrument_ids: (required)
470
- :type instrument_ids: List[Optional[str]]
470
+ :type instrument_ids: List[Optional[UUID]]
471
471
  :param hi_res:
472
472
  :type hi_res: bool
473
473
  :param min_visibility_duration:
@@ -531,7 +531,7 @@ class ToolsApi:
531
531
  dec: Union[Annotated[float, Field(le=90.0, strict=True, ge=-90.0)], Annotated[int, Field(le=90, strict=True, ge=-90)]],
532
532
  date_range_begin: datetime,
533
533
  date_range_end: datetime,
534
- instrument_ids: List[Optional[StrictStr]],
534
+ instrument_ids: List[Optional[UUID]],
535
535
  hi_res: Optional[StrictBool] = None,
536
536
  min_visibility_duration: Optional[StrictInt] = None,
537
537
  _request_timeout: Union[
@@ -549,7 +549,7 @@ class ToolsApi:
549
549
  ) -> ApiResponse[JointVisibilityResult]:
550
550
  """Calculated Joint Visibility Windows
551
551
 
552
- Calculate joint visibility windows between instruments for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
552
+ Calculate joint visibility windows between instruments for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments **NOTICE**: These visibility windows are calculated based on publicly available ephemerides and observatory constraints. As a result, they are rough estimates and will not perfectly reflect the target visibility for each observatory. For detailed visibility windows, we recommend visiting the observatory website or requesting information from the individual science teams. WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
553
553
 
554
554
  :param ra: (required)
555
555
  :type ra: float
@@ -560,7 +560,7 @@ class ToolsApi:
560
560
  :param date_range_end: (required)
561
561
  :type date_range_end: datetime
562
562
  :param instrument_ids: (required)
563
- :type instrument_ids: List[Optional[str]]
563
+ :type instrument_ids: List[Optional[UUID]]
564
564
  :param hi_res:
565
565
  :type hi_res: bool
566
566
  :param min_visibility_duration:
@@ -624,7 +624,7 @@ class ToolsApi:
624
624
  dec: Union[Annotated[float, Field(le=90.0, strict=True, ge=-90.0)], Annotated[int, Field(le=90, strict=True, ge=-90)]],
625
625
  date_range_begin: datetime,
626
626
  date_range_end: datetime,
627
- instrument_ids: List[Optional[StrictStr]],
627
+ instrument_ids: List[Optional[UUID]],
628
628
  hi_res: Optional[StrictBool] = None,
629
629
  min_visibility_duration: Optional[StrictInt] = None,
630
630
  _request_timeout: Union[
@@ -642,7 +642,7 @@ class ToolsApi:
642
642
  ) -> RESTResponseType:
643
643
  """Calculated Joint Visibility Windows
644
644
 
645
- Calculate joint visibility windows between instruments for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
645
+ Calculate joint visibility windows between instruments for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments **NOTICE**: These visibility windows are calculated based on publicly available ephemerides and observatory constraints. As a result, they are rough estimates and will not perfectly reflect the target visibility for each observatory. For detailed visibility windows, we recommend visiting the observatory website or requesting information from the individual science teams. WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
646
646
 
647
647
  :param ra: (required)
648
648
  :type ra: float
@@ -653,7 +653,7 @@ class ToolsApi:
653
653
  :param date_range_end: (required)
654
654
  :type date_range_end: datetime
655
655
  :param instrument_ids: (required)
656
- :type instrument_ids: List[Optional[str]]
656
+ :type instrument_ids: List[Optional[UUID]]
657
657
  :param hi_res:
658
658
  :type hi_res: bool
659
659
  :param min_visibility_duration:
@@ -729,7 +729,7 @@ class ToolsApi:
729
729
 
730
730
  _path_params: Dict[str, str] = {}
731
731
  _query_params: List[Tuple[str, str]] = []
732
- _header_params: Dict[str, Optional[str]] = _headers or {}
732
+ _header_params: Dict[str, Any] = self.api_client._merge_headers(_headers)
733
733
  _form_params: List[Tuple[str, str]] = []
734
734
  _files: Dict[
735
735
  str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
@@ -790,7 +790,7 @@ class ToolsApi:
790
790
 
791
791
 
792
792
  # set the HTTP header `Accept`
793
- if 'Accept' not in _header_params:
793
+ if not any(key.lower() == 'accept' for key in _header_params):
794
794
  _header_params['Accept'] = self.api_client.select_header_accept(
795
795
  [
796
796
  'application/json'
@@ -804,7 +804,7 @@ class ToolsApi:
804
804
 
805
805
  return self.api_client.param_serialize(
806
806
  method='GET',
807
- resource_path='/tools/visibility-calculator/windows/',
807
+ resource_path='/tools/visibility-calculator/windows',
808
808
  path_params=_path_params,
809
809
  query_params=_query_params,
810
810
  header_params=_header_params,
@@ -823,7 +823,7 @@ class ToolsApi:
823
823
  @validate_call
824
824
  def calculate_windows_tools_visibility_calculator_windows_instrument_id_get(
825
825
  self,
826
- instrument_id: StrictStr,
826
+ instrument_id: UUID,
827
827
  ra: Union[Annotated[float, Field(le=360.0, strict=True, ge=0.0)], Annotated[int, Field(le=360, strict=True, ge=0)]],
828
828
  dec: Union[Annotated[float, Field(le=90.0, strict=True, ge=-90.0)], Annotated[int, Field(le=90, strict=True, ge=-90)]],
829
829
  date_range_begin: datetime,
@@ -845,10 +845,10 @@ class ToolsApi:
845
845
  ) -> VisibilityResult:
846
846
  """Calculated Visibility Windows
847
847
 
848
- Calculate visibility windows of an instrument for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
848
+ Calculate visibility windows of an instrument for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments **NOTICE**: These visibility windows are calculated based on publicly available ephemerides and observatory constraints. As a result, they are rough estimates and will not perfectly reflect the target visibility for each observatory. For detailed visibility windows, we recommend visiting the observatory website or requesting information from the individual science teams. WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
849
849
 
850
850
  :param instrument_id: (required)
851
- :type instrument_id: str
851
+ :type instrument_id: UUID
852
852
  :param ra: (required)
853
853
  :type ra: float
854
854
  :param dec: (required)
@@ -916,7 +916,7 @@ class ToolsApi:
916
916
  @validate_call
917
917
  def calculate_windows_tools_visibility_calculator_windows_instrument_id_get_with_http_info(
918
918
  self,
919
- instrument_id: StrictStr,
919
+ instrument_id: UUID,
920
920
  ra: Union[Annotated[float, Field(le=360.0, strict=True, ge=0.0)], Annotated[int, Field(le=360, strict=True, ge=0)]],
921
921
  dec: Union[Annotated[float, Field(le=90.0, strict=True, ge=-90.0)], Annotated[int, Field(le=90, strict=True, ge=-90)]],
922
922
  date_range_begin: datetime,
@@ -938,10 +938,10 @@ class ToolsApi:
938
938
  ) -> ApiResponse[VisibilityResult]:
939
939
  """Calculated Visibility Windows
940
940
 
941
- Calculate visibility windows of an instrument for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
941
+ Calculate visibility windows of an instrument for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments **NOTICE**: These visibility windows are calculated based on publicly available ephemerides and observatory constraints. As a result, they are rough estimates and will not perfectly reflect the target visibility for each observatory. For detailed visibility windows, we recommend visiting the observatory website or requesting information from the individual science teams. WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
942
942
 
943
943
  :param instrument_id: (required)
944
- :type instrument_id: str
944
+ :type instrument_id: UUID
945
945
  :param ra: (required)
946
946
  :type ra: float
947
947
  :param dec: (required)
@@ -1009,7 +1009,7 @@ class ToolsApi:
1009
1009
  @validate_call
1010
1010
  def calculate_windows_tools_visibility_calculator_windows_instrument_id_get_without_preload_content(
1011
1011
  self,
1012
- instrument_id: StrictStr,
1012
+ instrument_id: UUID,
1013
1013
  ra: Union[Annotated[float, Field(le=360.0, strict=True, ge=0.0)], Annotated[int, Field(le=360, strict=True, ge=0)]],
1014
1014
  dec: Union[Annotated[float, Field(le=90.0, strict=True, ge=-90.0)], Annotated[int, Field(le=90, strict=True, ge=-90)]],
1015
1015
  date_range_begin: datetime,
@@ -1031,10 +1031,10 @@ class ToolsApi:
1031
1031
  ) -> RESTResponseType:
1032
1032
  """Calculated Visibility Windows
1033
1033
 
1034
- Calculate visibility windows of an instrument for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
1034
+ Calculate visibility windows of an instrument for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments **NOTICE**: These visibility windows are calculated based on publicly available ephemerides and observatory constraints. As a result, they are rough estimates and will not perfectly reflect the target visibility for each observatory. For detailed visibility windows, we recommend visiting the observatory website or requesting information from the individual science teams. WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
1035
1035
 
1036
1036
  :param instrument_id: (required)
1037
- :type instrument_id: str
1037
+ :type instrument_id: UUID
1038
1038
  :param ra: (required)
1039
1039
  :type ra: float
1040
1040
  :param dec: (required)
@@ -1117,7 +1117,7 @@ class ToolsApi:
1117
1117
 
1118
1118
  _path_params: Dict[str, str] = {}
1119
1119
  _query_params: List[Tuple[str, str]] = []
1120
- _header_params: Dict[str, Optional[str]] = _headers or {}
1120
+ _header_params: Dict[str, Any] = self.api_client._merge_headers(_headers)
1121
1121
  _form_params: List[Tuple[str, str]] = []
1122
1122
  _files: Dict[
1123
1123
  str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
@@ -1176,7 +1176,7 @@ class ToolsApi:
1176
1176
 
1177
1177
 
1178
1178
  # set the HTTP header `Accept`
1179
- if 'Accept' not in _header_params:
1179
+ if not any(key.lower() == 'accept' for key in _header_params):
1180
1180
  _header_params['Accept'] = self.api_client.select_header_accept(
1181
1181
  [
1182
1182
  'application/json'
@@ -1209,7 +1209,7 @@ class ToolsApi:
1209
1209
  @validate_call
1210
1210
  def calculate_windows_tools_visibility_calculator_windows_instrument_id_get_0(
1211
1211
  self,
1212
- instrument_id: StrictStr,
1212
+ instrument_id: UUID,
1213
1213
  ra: Union[Annotated[float, Field(le=360.0, strict=True, ge=0.0)], Annotated[int, Field(le=360, strict=True, ge=0)]],
1214
1214
  dec: Union[Annotated[float, Field(le=90.0, strict=True, ge=-90.0)], Annotated[int, Field(le=90, strict=True, ge=-90)]],
1215
1215
  date_range_begin: datetime,
@@ -1231,10 +1231,10 @@ class ToolsApi:
1231
1231
  ) -> VisibilityResult:
1232
1232
  """Calculated Visibility Windows
1233
1233
 
1234
- Calculate visibility windows of an instrument for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
1234
+ Calculate visibility windows of an instrument for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments **NOTICE**: These visibility windows are calculated based on publicly available ephemerides and observatory constraints. As a result, they are rough estimates and will not perfectly reflect the target visibility for each observatory. For detailed visibility windows, we recommend visiting the observatory website or requesting information from the individual science teams. WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
1235
1235
 
1236
1236
  :param instrument_id: (required)
1237
- :type instrument_id: str
1237
+ :type instrument_id: UUID
1238
1238
  :param ra: (required)
1239
1239
  :type ra: float
1240
1240
  :param dec: (required)
@@ -1302,7 +1302,7 @@ class ToolsApi:
1302
1302
  @validate_call
1303
1303
  def calculate_windows_tools_visibility_calculator_windows_instrument_id_get_0_with_http_info(
1304
1304
  self,
1305
- instrument_id: StrictStr,
1305
+ instrument_id: UUID,
1306
1306
  ra: Union[Annotated[float, Field(le=360.0, strict=True, ge=0.0)], Annotated[int, Field(le=360, strict=True, ge=0)]],
1307
1307
  dec: Union[Annotated[float, Field(le=90.0, strict=True, ge=-90.0)], Annotated[int, Field(le=90, strict=True, ge=-90)]],
1308
1308
  date_range_begin: datetime,
@@ -1324,10 +1324,10 @@ class ToolsApi:
1324
1324
  ) -> ApiResponse[VisibilityResult]:
1325
1325
  """Calculated Visibility Windows
1326
1326
 
1327
- Calculate visibility windows of an instrument for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
1327
+ Calculate visibility windows of an instrument for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments **NOTICE**: These visibility windows are calculated based on publicly available ephemerides and observatory constraints. As a result, they are rough estimates and will not perfectly reflect the target visibility for each observatory. For detailed visibility windows, we recommend visiting the observatory website or requesting information from the individual science teams. WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
1328
1328
 
1329
1329
  :param instrument_id: (required)
1330
- :type instrument_id: str
1330
+ :type instrument_id: UUID
1331
1331
  :param ra: (required)
1332
1332
  :type ra: float
1333
1333
  :param dec: (required)
@@ -1395,7 +1395,7 @@ class ToolsApi:
1395
1395
  @validate_call
1396
1396
  def calculate_windows_tools_visibility_calculator_windows_instrument_id_get_0_without_preload_content(
1397
1397
  self,
1398
- instrument_id: StrictStr,
1398
+ instrument_id: UUID,
1399
1399
  ra: Union[Annotated[float, Field(le=360.0, strict=True, ge=0.0)], Annotated[int, Field(le=360, strict=True, ge=0)]],
1400
1400
  dec: Union[Annotated[float, Field(le=90.0, strict=True, ge=-90.0)], Annotated[int, Field(le=90, strict=True, ge=-90)]],
1401
1401
  date_range_begin: datetime,
@@ -1417,10 +1417,10 @@ class ToolsApi:
1417
1417
  ) -> RESTResponseType:
1418
1418
  """Calculated Visibility Windows
1419
1419
 
1420
- Calculate visibility windows of an instrument for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
1420
+ Calculate visibility windows of an instrument for a given observation coordinate Use GET /telescope/ to retrieve a list of telescopes and their associated instruments **NOTICE**: These visibility windows are calculated based on publicly available ephemerides and observatory constraints. As a result, they are rough estimates and will not perfectly reflect the target visibility for each observatory. For detailed visibility windows, we recommend visiting the observatory website or requesting information from the individual science teams. WARNING: This is a long running process and is liable to timeout after a strict 60 second execution limit If you experience issues retrieving results, please scope your date range to be a smaller window or set `hi_res` to `false`
1421
1421
 
1422
1422
  :param instrument_id: (required)
1423
- :type instrument_id: str
1423
+ :type instrument_id: UUID
1424
1424
  :param ra: (required)
1425
1425
  :type ra: float
1426
1426
  :param dec: (required)
@@ -1503,7 +1503,7 @@ class ToolsApi:
1503
1503
 
1504
1504
  _path_params: Dict[str, str] = {}
1505
1505
  _query_params: List[Tuple[str, str]] = []
1506
- _header_params: Dict[str, Optional[str]] = _headers or {}
1506
+ _header_params: Dict[str, Any] = self.api_client._merge_headers(_headers)
1507
1507
  _form_params: List[Tuple[str, str]] = []
1508
1508
  _files: Dict[
1509
1509
  str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
@@ -1562,7 +1562,7 @@ class ToolsApi:
1562
1562
 
1563
1563
 
1564
1564
  # set the HTTP header `Accept`
1565
- if 'Accept' not in _header_params:
1565
+ if not any(key.lower() == 'accept' for key in _header_params):
1566
1566
  _header_params['Accept'] = self.api_client.select_header_accept(
1567
1567
  [
1568
1568
  'application/json'
@@ -1811,7 +1811,7 @@ class ToolsApi:
1811
1811
 
1812
1812
  _path_params: Dict[str, str] = {}
1813
1813
  _query_params: List[Tuple[str, str]] = []
1814
- _header_params: Dict[str, Optional[str]] = _headers or {}
1814
+ _header_params: Dict[str, Any] = self.api_client._merge_headers(_headers)
1815
1815
  _form_params: List[Tuple[str, str]] = []
1816
1816
  _files: Dict[
1817
1817
  str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
@@ -1830,7 +1830,7 @@ class ToolsApi:
1830
1830
 
1831
1831
 
1832
1832
  # set the HTTP header `Accept`
1833
- if 'Accept' not in _header_params:
1833
+ if not any(key.lower() == 'accept' for key in _header_params):
1834
1834
  _header_params['Accept'] = self.api_client.select_header_accept(
1835
1835
  [
1836
1836
  'application/json'
@@ -1844,7 +1844,7 @@ class ToolsApi:
1844
1844
 
1845
1845
  return self.api_client.param_serialize(
1846
1846
  method='GET',
1847
- resource_path='/tools/resolve-object/',
1847
+ resource_path='/tools/resolve-object',
1848
1848
  path_params=_path_params,
1849
1849
  query_params=_query_params,
1850
1850
  header_params=_header_params,
@@ -2079,7 +2079,7 @@ class ToolsApi:
2079
2079
 
2080
2080
  _path_params: Dict[str, str] = {}
2081
2081
  _query_params: List[Tuple[str, str]] = []
2082
- _header_params: Dict[str, Optional[str]] = _headers or {}
2082
+ _header_params: Dict[str, Any] = self.api_client._merge_headers(_headers)
2083
2083
  _form_params: List[Tuple[str, str]] = []
2084
2084
  _files: Dict[
2085
2085
  str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
@@ -2098,7 +2098,7 @@ class ToolsApi:
2098
2098
 
2099
2099
 
2100
2100
  # set the HTTP header `Accept`
2101
- if 'Accept' not in _header_params:
2101
+ if not any(key.lower() == 'accept' for key in _header_params):
2102
2102
  _header_params['Accept'] = self.api_client.select_header_accept(
2103
2103
  [
2104
2104
  'application/json'
@@ -2112,7 +2112,7 @@ class ToolsApi:
2112
2112
 
2113
2113
  return self.api_client.param_serialize(
2114
2114
  method='GET',
2115
- resource_path='/tools/resolve-object/',
2115
+ resource_path='/tools/resolve-object',
2116
2116
  path_params=_path_params,
2117
2117
  query_params=_query_params,
2118
2118
  header_params=_header_params,