udl-sdk 0.1.0a17__py3-none-any.whl → 0.1.0a19__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.
- {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a19.dist-info}/METADATA +1 -1
- {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a19.dist-info}/RECORD +137 -130
- unifieddatalibrary/_client.py +27 -61
- unifieddatalibrary/_models.py +1 -1
- unifieddatalibrary/_version.py +1 -1
- unifieddatalibrary/resources/__init__.py +28 -84
- unifieddatalibrary/resources/air_operations/__init__.py +0 -14
- unifieddatalibrary/resources/air_operations/air_operations.py +0 -32
- unifieddatalibrary/resources/air_operations/aircraft_sorties.py +1507 -37
- unifieddatalibrary/resources/air_operations/crewpapers.py +4 -4
- unifieddatalibrary/resources/airload_plans.py +1311 -59
- unifieddatalibrary/resources/attitude_sets/attitude_sets.py +106 -0
- unifieddatalibrary/resources/conjunctions/conjunctions.py +4 -4
- unifieddatalibrary/resources/gnss_raw_if/gnss_raw_if.py +801 -0
- unifieddatalibrary/resources/iono_observations/__init__.py +33 -0
- unifieddatalibrary/resources/{iono_observation → iono_observations}/history.py +2 -2
- unifieddatalibrary/resources/{ion_oobservation.py → iono_observations/iono_observations.py} +123 -91
- unifieddatalibrary/resources/logistics_support/logistics_support.py +5 -4
- unifieddatalibrary/resources/onorbitantenna.py +5 -4
- unifieddatalibrary/resources/onorbitbattery.py +5 -4
- unifieddatalibrary/resources/onorbitsolararray.py +5 -4
- unifieddatalibrary/resources/onorbitthruster.py +5 -4
- unifieddatalibrary/resources/{report_and_activity → report_and_activities}/__init__.py +13 -13
- unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/history.py +2 -2
- unifieddatalibrary/resources/{report_and_activity/report_and_activity.py → report_and_activities/report_and_activities.py} +35 -35
- unifieddatalibrary/resources/{report_and_activity → report_and_activities}/udl_h3geo.py +1 -1
- unifieddatalibrary/resources/{report_and_activity → report_and_activities}/udl_sigact.py +1 -1
- unifieddatalibrary/resources/scs/paths.py +4 -4
- unifieddatalibrary/resources/scs/scs.py +4 -4
- unifieddatalibrary/resources/scs/v2.py +4 -4
- unifieddatalibrary/resources/status.py +5 -4
- unifieddatalibrary/resources/supporting_data/__init__.py +0 -42
- unifieddatalibrary/resources/supporting_data/dataowner.py +257 -1
- unifieddatalibrary/resources/supporting_data/supporting_data.py +0 -96
- unifieddatalibrary/resources/track_route/track_route.py +26 -23
- unifieddatalibrary/types/__init__.py +40 -30
- unifieddatalibrary/types/air_operations/__init__.py +12 -12
- unifieddatalibrary/types/air_operations/{aircraft_sortie_list_params.py → aircraft_sorty_count_params.py} +2 -2
- unifieddatalibrary/types/air_operations/aircraft_sorty_count_response.py +7 -0
- unifieddatalibrary/types/air_operations/{aircraft_sortie_create_bulk_params.py → aircraft_sorty_create_bulk_params.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_create_params.py → aircraft_sorty_create_params.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_history_aodr_params.py → aircraft_sorty_history_aodr_params.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_history_count_params.py → aircraft_sorty_history_count_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_count_response.py → air_operations/aircraft_sorty_history_count_response.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_history_query_params.py → aircraft_sorty_history_query_params.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_history_query_response.py → aircraft_sorty_history_query_response.py} +2 -2
- unifieddatalibrary/types/air_operations/{aircraft_sortie_count_params.py → aircraft_sorty_list_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_count_params.py → airload_plan_count_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_count_response.py → airload_plan_count_response.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_create_params.py → airload_plan_create_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_list_params.py → airload_plan_list_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_queryhelp_response.py → airload_plan_queryhelp_response.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_retrieve_params.py → airload_plan_retrieve_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_tuple_params.py → airload_plan_tuple_params.py} +2 -2
- unifieddatalibrary/types/{air_load_plan_tuple_response.py → airload_plan_tuple_response.py} +2 -2
- unifieddatalibrary/types/altitude_blocks_ingest_param.py +22 -0
- unifieddatalibrary/types/{attitudeset_retrieve_params.py → attitude_set_retrieve_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_count_params.py → gnss_raw_if_count_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_count_response.py → gnss_raw_if_count_response.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_file_get_params.py → gnss_raw_if_file_get_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_get_params.py → gnss_raw_if_get_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_get_response.py → gnss_raw_if_get_response.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_list_params.py → gnss_raw_if_list_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_list_response.py → gnss_raw_if_list_response.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_queryhelp_response.py → gnss_raw_if_queryhelp_response.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_tuple_params.py → gnss_raw_if_tuple_params.py} +2 -2
- unifieddatalibrary/types/{gnss_rawif_tuple_response.py → gnss_raw_if_tuple_response.py} +3 -3
- unifieddatalibrary/types/{gnss_rawif_upload_zip_params.py → gnss_raw_if_upload_zip_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_count_params.py → iono_observation_count_params.py} +2 -2
- unifieddatalibrary/types/{air_operations/aircraft_sortie_count_response.py → iono_observation_count_response.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_create_bulk_params.py → iono_observation_create_bulk_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_list_params.py → iono_observation_list_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_list_response.py → iono_observation_list_response.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_queryhelp_response.py → iono_observation_queryhelp_response.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_tuple_params.py → iono_observation_tuple_params.py} +2 -2
- unifieddatalibrary/types/{ion_oobservation_tuple_response.py → iono_observation_tuple_response.py} +82 -82
- unifieddatalibrary/types/{ion_oobservation_unvalidated_publish_params.py → iono_observation_unvalidated_publish_params.py} +2 -2
- unifieddatalibrary/types/logistics_remarks_ingest_param.py +25 -0
- unifieddatalibrary/types/logistics_support_create_bulk_params.py +4 -51
- unifieddatalibrary/types/logistics_support_create_params.py +4 -49
- unifieddatalibrary/types/logistics_support_unvalidated_publish_params.py +4 -51
- unifieddatalibrary/types/logistics_support_update_params.py +4 -49
- unifieddatalibrary/types/onorbitantenna_create_params.py +3 -38
- unifieddatalibrary/types/onorbitantenna_update_params.py +3 -38
- unifieddatalibrary/types/onorbitbattery_create_params.py +3 -38
- unifieddatalibrary/types/onorbitbattery_update_params.py +3 -38
- unifieddatalibrary/types/onorbitsolararray_create_params.py +3 -38
- unifieddatalibrary/types/onorbitsolararray_update_params.py +3 -38
- unifieddatalibrary/types/onorbitthruster_create_params.py +3 -41
- unifieddatalibrary/types/onorbitthruster_update_params.py +3 -41
- unifieddatalibrary/types/point_of_contact_ingest_param.py +41 -0
- unifieddatalibrary/types/route_points_ingest_param.py +82 -0
- unifieddatalibrary/types/shared/__init__.py +5 -0
- unifieddatalibrary/types/shared/antenna_ingest.py +62 -0
- unifieddatalibrary/types/shared/battery_ingest.py +62 -0
- unifieddatalibrary/types/shared/engine_ingest.py +65 -0
- unifieddatalibrary/types/shared/solar_array_ingest.py +62 -0
- unifieddatalibrary/types/shared/sub_status_ingest.py +74 -0
- unifieddatalibrary/types/shared_params/__init__.py +5 -0
- unifieddatalibrary/types/shared_params/antenna_ingest.py +45 -0
- unifieddatalibrary/types/shared_params/battery_ingest.py +45 -0
- unifieddatalibrary/types/shared_params/engine_ingest.py +48 -0
- unifieddatalibrary/types/shared_params/solar_array_ingest.py +45 -0
- unifieddatalibrary/types/shared_params/sub_status_ingest.py +57 -0
- unifieddatalibrary/types/status_create_params.py +3 -50
- unifieddatalibrary/types/status_update_params.py +3 -50
- unifieddatalibrary/types/supporting_data/__init__.py +13 -5
- unifieddatalibrary/types/supporting_data/{query_help_retrieve_response.py → dataowner_query_help_response.py} +2 -2
- unifieddatalibrary/types/supporting_data/{dataowner_type_list_params.py → dataowner_retrieve_data_owner_types_params.py} +2 -2
- unifieddatalibrary/types/supporting_data/dataowner_retrieve_data_owner_types_response.py +8 -0
- unifieddatalibrary/types/supporting_data/{provider_metadata_retrieve_params.py → dataowner_retrieve_provider_metadata_params.py} +2 -2
- unifieddatalibrary/types/supporting_data/{provider_metadata_retrieve_response.py → dataowner_retrieve_provider_metadata_response.py} +2 -2
- unifieddatalibrary/types/track_route_create_bulk_params.py +5 -267
- unifieddatalibrary/types/track_route_create_params.py +7 -122
- unifieddatalibrary/types/track_route_ingest_param.py +157 -0
- unifieddatalibrary/types/track_route_unvalidated_publish_params.py +7 -122
- unifieddatalibrary/types/track_route_update_params.py +7 -122
- unifieddatalibrary/resources/air_load_plans.py +0 -1341
- unifieddatalibrary/resources/air_operations/aircraft_sortie.py +0 -1557
- unifieddatalibrary/resources/attitudesets.py +0 -191
- unifieddatalibrary/resources/gnss_rawif.py +0 -871
- unifieddatalibrary/resources/iono_observation/__init__.py +0 -33
- unifieddatalibrary/resources/iono_observation/iono_observation.py +0 -102
- unifieddatalibrary/resources/supporting_data/dataowner_types.py +0 -186
- unifieddatalibrary/resources/supporting_data/provider_metadata.py +0 -179
- unifieddatalibrary/resources/supporting_data/query_help.py +0 -141
- unifieddatalibrary/types/air_operations/aircraft_sortie_history_count_response.py +0 -7
- unifieddatalibrary/types/supporting_data/dataowner_type_list_response.py +0 -7
- {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a19.dist-info}/WHEEL +0 -0
- {udl_sdk-0.1.0a17.dist-info → udl_sdk-0.1.0a19.dist-info}/licenses/LICENSE +0 -0
- /unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/__init__.py +0 -0
- /unifieddatalibrary/resources/{report_and_activity → report_and_activities}/poi/poi.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/__init__.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_aodr_params.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_count_params.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_count_response.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_list_params.py +0 -0
- /unifieddatalibrary/types/{iono_observation → iono_observations}/history_list_response.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/__init__.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/__init__.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_aodr_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_count_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_count_response.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_list_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/poi/history_list_response.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_h3geo_unvalidated_publish_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_sigact_file_get_params.py +0 -0
- /unifieddatalibrary/types/{report_and_activity → report_and_activities}/udl_sigact_unvalidated_publish_params.py +0 -0
@@ -1,33 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
-
|
3
|
-
from .history import (
|
4
|
-
HistoryResource,
|
5
|
-
AsyncHistoryResource,
|
6
|
-
HistoryResourceWithRawResponse,
|
7
|
-
AsyncHistoryResourceWithRawResponse,
|
8
|
-
HistoryResourceWithStreamingResponse,
|
9
|
-
AsyncHistoryResourceWithStreamingResponse,
|
10
|
-
)
|
11
|
-
from .iono_observation import (
|
12
|
-
IonoObservationResource,
|
13
|
-
AsyncIonoObservationResource,
|
14
|
-
IonoObservationResourceWithRawResponse,
|
15
|
-
AsyncIonoObservationResourceWithRawResponse,
|
16
|
-
IonoObservationResourceWithStreamingResponse,
|
17
|
-
AsyncIonoObservationResourceWithStreamingResponse,
|
18
|
-
)
|
19
|
-
|
20
|
-
__all__ = [
|
21
|
-
"HistoryResource",
|
22
|
-
"AsyncHistoryResource",
|
23
|
-
"HistoryResourceWithRawResponse",
|
24
|
-
"AsyncHistoryResourceWithRawResponse",
|
25
|
-
"HistoryResourceWithStreamingResponse",
|
26
|
-
"AsyncHistoryResourceWithStreamingResponse",
|
27
|
-
"IonoObservationResource",
|
28
|
-
"AsyncIonoObservationResource",
|
29
|
-
"IonoObservationResourceWithRawResponse",
|
30
|
-
"AsyncIonoObservationResourceWithRawResponse",
|
31
|
-
"IonoObservationResourceWithStreamingResponse",
|
32
|
-
"AsyncIonoObservationResourceWithStreamingResponse",
|
33
|
-
]
|
@@ -1,102 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
|
5
|
-
from .history import (
|
6
|
-
HistoryResource,
|
7
|
-
AsyncHistoryResource,
|
8
|
-
HistoryResourceWithRawResponse,
|
9
|
-
AsyncHistoryResourceWithRawResponse,
|
10
|
-
HistoryResourceWithStreamingResponse,
|
11
|
-
AsyncHistoryResourceWithStreamingResponse,
|
12
|
-
)
|
13
|
-
from ..._compat import cached_property
|
14
|
-
from ..._resource import SyncAPIResource, AsyncAPIResource
|
15
|
-
|
16
|
-
__all__ = ["IonoObservationResource", "AsyncIonoObservationResource"]
|
17
|
-
|
18
|
-
|
19
|
-
class IonoObservationResource(SyncAPIResource):
|
20
|
-
@cached_property
|
21
|
-
def history(self) -> HistoryResource:
|
22
|
-
return HistoryResource(self._client)
|
23
|
-
|
24
|
-
@cached_property
|
25
|
-
def with_raw_response(self) -> IonoObservationResourceWithRawResponse:
|
26
|
-
"""
|
27
|
-
This property can be used as a prefix for any HTTP method call to return
|
28
|
-
the raw response object instead of the parsed content.
|
29
|
-
|
30
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#accessing-raw-response-data-eg-headers
|
31
|
-
"""
|
32
|
-
return IonoObservationResourceWithRawResponse(self)
|
33
|
-
|
34
|
-
@cached_property
|
35
|
-
def with_streaming_response(self) -> IonoObservationResourceWithStreamingResponse:
|
36
|
-
"""
|
37
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
38
|
-
|
39
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#with_streaming_response
|
40
|
-
"""
|
41
|
-
return IonoObservationResourceWithStreamingResponse(self)
|
42
|
-
|
43
|
-
|
44
|
-
class AsyncIonoObservationResource(AsyncAPIResource):
|
45
|
-
@cached_property
|
46
|
-
def history(self) -> AsyncHistoryResource:
|
47
|
-
return AsyncHistoryResource(self._client)
|
48
|
-
|
49
|
-
@cached_property
|
50
|
-
def with_raw_response(self) -> AsyncIonoObservationResourceWithRawResponse:
|
51
|
-
"""
|
52
|
-
This property can be used as a prefix for any HTTP method call to return
|
53
|
-
the raw response object instead of the parsed content.
|
54
|
-
|
55
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#accessing-raw-response-data-eg-headers
|
56
|
-
"""
|
57
|
-
return AsyncIonoObservationResourceWithRawResponse(self)
|
58
|
-
|
59
|
-
@cached_property
|
60
|
-
def with_streaming_response(self) -> AsyncIonoObservationResourceWithStreamingResponse:
|
61
|
-
"""
|
62
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
63
|
-
|
64
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#with_streaming_response
|
65
|
-
"""
|
66
|
-
return AsyncIonoObservationResourceWithStreamingResponse(self)
|
67
|
-
|
68
|
-
|
69
|
-
class IonoObservationResourceWithRawResponse:
|
70
|
-
def __init__(self, iono_observation: IonoObservationResource) -> None:
|
71
|
-
self._iono_observation = iono_observation
|
72
|
-
|
73
|
-
@cached_property
|
74
|
-
def history(self) -> HistoryResourceWithRawResponse:
|
75
|
-
return HistoryResourceWithRawResponse(self._iono_observation.history)
|
76
|
-
|
77
|
-
|
78
|
-
class AsyncIonoObservationResourceWithRawResponse:
|
79
|
-
def __init__(self, iono_observation: AsyncIonoObservationResource) -> None:
|
80
|
-
self._iono_observation = iono_observation
|
81
|
-
|
82
|
-
@cached_property
|
83
|
-
def history(self) -> AsyncHistoryResourceWithRawResponse:
|
84
|
-
return AsyncHistoryResourceWithRawResponse(self._iono_observation.history)
|
85
|
-
|
86
|
-
|
87
|
-
class IonoObservationResourceWithStreamingResponse:
|
88
|
-
def __init__(self, iono_observation: IonoObservationResource) -> None:
|
89
|
-
self._iono_observation = iono_observation
|
90
|
-
|
91
|
-
@cached_property
|
92
|
-
def history(self) -> HistoryResourceWithStreamingResponse:
|
93
|
-
return HistoryResourceWithStreamingResponse(self._iono_observation.history)
|
94
|
-
|
95
|
-
|
96
|
-
class AsyncIonoObservationResourceWithStreamingResponse:
|
97
|
-
def __init__(self, iono_observation: AsyncIonoObservationResource) -> None:
|
98
|
-
self._iono_observation = iono_observation
|
99
|
-
|
100
|
-
@cached_property
|
101
|
-
def history(self) -> AsyncHistoryResourceWithStreamingResponse:
|
102
|
-
return AsyncHistoryResourceWithStreamingResponse(self._iono_observation.history)
|
@@ -1,186 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
|
5
|
-
import httpx
|
6
|
-
|
7
|
-
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
8
|
-
from ..._utils import maybe_transform
|
9
|
-
from ..._compat import cached_property
|
10
|
-
from ..._resource import SyncAPIResource, AsyncAPIResource
|
11
|
-
from ..._response import (
|
12
|
-
to_raw_response_wrapper,
|
13
|
-
to_streamed_response_wrapper,
|
14
|
-
async_to_raw_response_wrapper,
|
15
|
-
async_to_streamed_response_wrapper,
|
16
|
-
)
|
17
|
-
from ...pagination import SyncOffsetPage, AsyncOffsetPage
|
18
|
-
from ..._base_client import AsyncPaginator, make_request_options
|
19
|
-
from ...types.supporting_data import dataowner_type_list_params
|
20
|
-
from ...types.supporting_data.dataowner_type_list_response import DataownerTypeListResponse
|
21
|
-
|
22
|
-
__all__ = ["DataownerTypesResource", "AsyncDataownerTypesResource"]
|
23
|
-
|
24
|
-
|
25
|
-
class DataownerTypesResource(SyncAPIResource):
|
26
|
-
@cached_property
|
27
|
-
def with_raw_response(self) -> DataownerTypesResourceWithRawResponse:
|
28
|
-
"""
|
29
|
-
This property can be used as a prefix for any HTTP method call to return
|
30
|
-
the raw response object instead of the parsed content.
|
31
|
-
|
32
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#accessing-raw-response-data-eg-headers
|
33
|
-
"""
|
34
|
-
return DataownerTypesResourceWithRawResponse(self)
|
35
|
-
|
36
|
-
@cached_property
|
37
|
-
def with_streaming_response(self) -> DataownerTypesResourceWithStreamingResponse:
|
38
|
-
"""
|
39
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
40
|
-
|
41
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#with_streaming_response
|
42
|
-
"""
|
43
|
-
return DataownerTypesResourceWithStreamingResponse(self)
|
44
|
-
|
45
|
-
def list(
|
46
|
-
self,
|
47
|
-
*,
|
48
|
-
first_result: int | NotGiven = NOT_GIVEN,
|
49
|
-
max_results: int | NotGiven = NOT_GIVEN,
|
50
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
51
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
52
|
-
extra_headers: Headers | None = None,
|
53
|
-
extra_query: Query | None = None,
|
54
|
-
extra_body: Body | None = None,
|
55
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
56
|
-
) -> SyncOffsetPage[DataownerTypeListResponse]:
|
57
|
-
"""
|
58
|
-
Retrieves all distinct data owner types.
|
59
|
-
|
60
|
-
Args:
|
61
|
-
extra_headers: Send extra headers
|
62
|
-
|
63
|
-
extra_query: Add additional query parameters to the request
|
64
|
-
|
65
|
-
extra_body: Add additional JSON properties to the request
|
66
|
-
|
67
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
68
|
-
"""
|
69
|
-
return self._get_api_list(
|
70
|
-
"/udl/dataowner/getDataOwnerTypes",
|
71
|
-
page=SyncOffsetPage[DataownerTypeListResponse],
|
72
|
-
options=make_request_options(
|
73
|
-
extra_headers=extra_headers,
|
74
|
-
extra_query=extra_query,
|
75
|
-
extra_body=extra_body,
|
76
|
-
timeout=timeout,
|
77
|
-
query=maybe_transform(
|
78
|
-
{
|
79
|
-
"first_result": first_result,
|
80
|
-
"max_results": max_results,
|
81
|
-
},
|
82
|
-
dataowner_type_list_params.DataownerTypeListParams,
|
83
|
-
),
|
84
|
-
),
|
85
|
-
model=str,
|
86
|
-
)
|
87
|
-
|
88
|
-
|
89
|
-
class AsyncDataownerTypesResource(AsyncAPIResource):
|
90
|
-
@cached_property
|
91
|
-
def with_raw_response(self) -> AsyncDataownerTypesResourceWithRawResponse:
|
92
|
-
"""
|
93
|
-
This property can be used as a prefix for any HTTP method call to return
|
94
|
-
the raw response object instead of the parsed content.
|
95
|
-
|
96
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#accessing-raw-response-data-eg-headers
|
97
|
-
"""
|
98
|
-
return AsyncDataownerTypesResourceWithRawResponse(self)
|
99
|
-
|
100
|
-
@cached_property
|
101
|
-
def with_streaming_response(self) -> AsyncDataownerTypesResourceWithStreamingResponse:
|
102
|
-
"""
|
103
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
104
|
-
|
105
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#with_streaming_response
|
106
|
-
"""
|
107
|
-
return AsyncDataownerTypesResourceWithStreamingResponse(self)
|
108
|
-
|
109
|
-
def list(
|
110
|
-
self,
|
111
|
-
*,
|
112
|
-
first_result: int | NotGiven = NOT_GIVEN,
|
113
|
-
max_results: int | NotGiven = NOT_GIVEN,
|
114
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
115
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
116
|
-
extra_headers: Headers | None = None,
|
117
|
-
extra_query: Query | None = None,
|
118
|
-
extra_body: Body | None = None,
|
119
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
120
|
-
) -> AsyncPaginator[DataownerTypeListResponse, AsyncOffsetPage[DataownerTypeListResponse]]:
|
121
|
-
"""
|
122
|
-
Retrieves all distinct data owner types.
|
123
|
-
|
124
|
-
Args:
|
125
|
-
extra_headers: Send extra headers
|
126
|
-
|
127
|
-
extra_query: Add additional query parameters to the request
|
128
|
-
|
129
|
-
extra_body: Add additional JSON properties to the request
|
130
|
-
|
131
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
132
|
-
"""
|
133
|
-
return self._get_api_list(
|
134
|
-
"/udl/dataowner/getDataOwnerTypes",
|
135
|
-
page=AsyncOffsetPage[DataownerTypeListResponse],
|
136
|
-
options=make_request_options(
|
137
|
-
extra_headers=extra_headers,
|
138
|
-
extra_query=extra_query,
|
139
|
-
extra_body=extra_body,
|
140
|
-
timeout=timeout,
|
141
|
-
query=maybe_transform(
|
142
|
-
{
|
143
|
-
"first_result": first_result,
|
144
|
-
"max_results": max_results,
|
145
|
-
},
|
146
|
-
dataowner_type_list_params.DataownerTypeListParams,
|
147
|
-
),
|
148
|
-
),
|
149
|
-
model=str,
|
150
|
-
)
|
151
|
-
|
152
|
-
|
153
|
-
class DataownerTypesResourceWithRawResponse:
|
154
|
-
def __init__(self, dataowner_types: DataownerTypesResource) -> None:
|
155
|
-
self._dataowner_types = dataowner_types
|
156
|
-
|
157
|
-
self.list = to_raw_response_wrapper(
|
158
|
-
dataowner_types.list,
|
159
|
-
)
|
160
|
-
|
161
|
-
|
162
|
-
class AsyncDataownerTypesResourceWithRawResponse:
|
163
|
-
def __init__(self, dataowner_types: AsyncDataownerTypesResource) -> None:
|
164
|
-
self._dataowner_types = dataowner_types
|
165
|
-
|
166
|
-
self.list = async_to_raw_response_wrapper(
|
167
|
-
dataowner_types.list,
|
168
|
-
)
|
169
|
-
|
170
|
-
|
171
|
-
class DataownerTypesResourceWithStreamingResponse:
|
172
|
-
def __init__(self, dataowner_types: DataownerTypesResource) -> None:
|
173
|
-
self._dataowner_types = dataowner_types
|
174
|
-
|
175
|
-
self.list = to_streamed_response_wrapper(
|
176
|
-
dataowner_types.list,
|
177
|
-
)
|
178
|
-
|
179
|
-
|
180
|
-
class AsyncDataownerTypesResourceWithStreamingResponse:
|
181
|
-
def __init__(self, dataowner_types: AsyncDataownerTypesResource) -> None:
|
182
|
-
self._dataowner_types = dataowner_types
|
183
|
-
|
184
|
-
self.list = async_to_streamed_response_wrapper(
|
185
|
-
dataowner_types.list,
|
186
|
-
)
|
@@ -1,179 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
|
5
|
-
import httpx
|
6
|
-
|
7
|
-
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
8
|
-
from ..._utils import maybe_transform, async_maybe_transform
|
9
|
-
from ..._compat import cached_property
|
10
|
-
from ..._resource import SyncAPIResource, AsyncAPIResource
|
11
|
-
from ..._response import (
|
12
|
-
to_raw_response_wrapper,
|
13
|
-
to_streamed_response_wrapper,
|
14
|
-
async_to_raw_response_wrapper,
|
15
|
-
async_to_streamed_response_wrapper,
|
16
|
-
)
|
17
|
-
from ..._base_client import make_request_options
|
18
|
-
from ...types.supporting_data import provider_metadata_retrieve_params
|
19
|
-
from ...types.supporting_data.provider_metadata_retrieve_response import ProviderMetadataRetrieveResponse
|
20
|
-
|
21
|
-
__all__ = ["ProviderMetadataResource", "AsyncProviderMetadataResource"]
|
22
|
-
|
23
|
-
|
24
|
-
class ProviderMetadataResource(SyncAPIResource):
|
25
|
-
@cached_property
|
26
|
-
def with_raw_response(self) -> ProviderMetadataResourceWithRawResponse:
|
27
|
-
"""
|
28
|
-
This property can be used as a prefix for any HTTP method call to return
|
29
|
-
the raw response object instead of the parsed content.
|
30
|
-
|
31
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#accessing-raw-response-data-eg-headers
|
32
|
-
"""
|
33
|
-
return ProviderMetadataResourceWithRawResponse(self)
|
34
|
-
|
35
|
-
@cached_property
|
36
|
-
def with_streaming_response(self) -> ProviderMetadataResourceWithStreamingResponse:
|
37
|
-
"""
|
38
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
39
|
-
|
40
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#with_streaming_response
|
41
|
-
"""
|
42
|
-
return ProviderMetadataResourceWithStreamingResponse(self)
|
43
|
-
|
44
|
-
def retrieve(
|
45
|
-
self,
|
46
|
-
*,
|
47
|
-
first_result: int | NotGiven = NOT_GIVEN,
|
48
|
-
max_results: int | NotGiven = NOT_GIVEN,
|
49
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
50
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
51
|
-
extra_headers: Headers | None = None,
|
52
|
-
extra_query: Query | None = None,
|
53
|
-
extra_body: Body | None = None,
|
54
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
55
|
-
) -> ProviderMetadataRetrieveResponse:
|
56
|
-
"""
|
57
|
-
Args:
|
58
|
-
extra_headers: Send extra headers
|
59
|
-
|
60
|
-
extra_query: Add additional query parameters to the request
|
61
|
-
|
62
|
-
extra_body: Add additional JSON properties to the request
|
63
|
-
|
64
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
65
|
-
"""
|
66
|
-
return self._get(
|
67
|
-
"/udl/dataowner/providerMetadata",
|
68
|
-
options=make_request_options(
|
69
|
-
extra_headers=extra_headers,
|
70
|
-
extra_query=extra_query,
|
71
|
-
extra_body=extra_body,
|
72
|
-
timeout=timeout,
|
73
|
-
query=maybe_transform(
|
74
|
-
{
|
75
|
-
"first_result": first_result,
|
76
|
-
"max_results": max_results,
|
77
|
-
},
|
78
|
-
provider_metadata_retrieve_params.ProviderMetadataRetrieveParams,
|
79
|
-
),
|
80
|
-
),
|
81
|
-
cast_to=ProviderMetadataRetrieveResponse,
|
82
|
-
)
|
83
|
-
|
84
|
-
|
85
|
-
class AsyncProviderMetadataResource(AsyncAPIResource):
|
86
|
-
@cached_property
|
87
|
-
def with_raw_response(self) -> AsyncProviderMetadataResourceWithRawResponse:
|
88
|
-
"""
|
89
|
-
This property can be used as a prefix for any HTTP method call to return
|
90
|
-
the raw response object instead of the parsed content.
|
91
|
-
|
92
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#accessing-raw-response-data-eg-headers
|
93
|
-
"""
|
94
|
-
return AsyncProviderMetadataResourceWithRawResponse(self)
|
95
|
-
|
96
|
-
@cached_property
|
97
|
-
def with_streaming_response(self) -> AsyncProviderMetadataResourceWithStreamingResponse:
|
98
|
-
"""
|
99
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
100
|
-
|
101
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#with_streaming_response
|
102
|
-
"""
|
103
|
-
return AsyncProviderMetadataResourceWithStreamingResponse(self)
|
104
|
-
|
105
|
-
async def retrieve(
|
106
|
-
self,
|
107
|
-
*,
|
108
|
-
first_result: int | NotGiven = NOT_GIVEN,
|
109
|
-
max_results: int | NotGiven = NOT_GIVEN,
|
110
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
111
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
112
|
-
extra_headers: Headers | None = None,
|
113
|
-
extra_query: Query | None = None,
|
114
|
-
extra_body: Body | None = None,
|
115
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
116
|
-
) -> ProviderMetadataRetrieveResponse:
|
117
|
-
"""
|
118
|
-
Args:
|
119
|
-
extra_headers: Send extra headers
|
120
|
-
|
121
|
-
extra_query: Add additional query parameters to the request
|
122
|
-
|
123
|
-
extra_body: Add additional JSON properties to the request
|
124
|
-
|
125
|
-
timeout: Override the client-level default timeout for this request, in seconds
|
126
|
-
"""
|
127
|
-
return await self._get(
|
128
|
-
"/udl/dataowner/providerMetadata",
|
129
|
-
options=make_request_options(
|
130
|
-
extra_headers=extra_headers,
|
131
|
-
extra_query=extra_query,
|
132
|
-
extra_body=extra_body,
|
133
|
-
timeout=timeout,
|
134
|
-
query=await async_maybe_transform(
|
135
|
-
{
|
136
|
-
"first_result": first_result,
|
137
|
-
"max_results": max_results,
|
138
|
-
},
|
139
|
-
provider_metadata_retrieve_params.ProviderMetadataRetrieveParams,
|
140
|
-
),
|
141
|
-
),
|
142
|
-
cast_to=ProviderMetadataRetrieveResponse,
|
143
|
-
)
|
144
|
-
|
145
|
-
|
146
|
-
class ProviderMetadataResourceWithRawResponse:
|
147
|
-
def __init__(self, provider_metadata: ProviderMetadataResource) -> None:
|
148
|
-
self._provider_metadata = provider_metadata
|
149
|
-
|
150
|
-
self.retrieve = to_raw_response_wrapper(
|
151
|
-
provider_metadata.retrieve,
|
152
|
-
)
|
153
|
-
|
154
|
-
|
155
|
-
class AsyncProviderMetadataResourceWithRawResponse:
|
156
|
-
def __init__(self, provider_metadata: AsyncProviderMetadataResource) -> None:
|
157
|
-
self._provider_metadata = provider_metadata
|
158
|
-
|
159
|
-
self.retrieve = async_to_raw_response_wrapper(
|
160
|
-
provider_metadata.retrieve,
|
161
|
-
)
|
162
|
-
|
163
|
-
|
164
|
-
class ProviderMetadataResourceWithStreamingResponse:
|
165
|
-
def __init__(self, provider_metadata: ProviderMetadataResource) -> None:
|
166
|
-
self._provider_metadata = provider_metadata
|
167
|
-
|
168
|
-
self.retrieve = to_streamed_response_wrapper(
|
169
|
-
provider_metadata.retrieve,
|
170
|
-
)
|
171
|
-
|
172
|
-
|
173
|
-
class AsyncProviderMetadataResourceWithStreamingResponse:
|
174
|
-
def __init__(self, provider_metadata: AsyncProviderMetadataResource) -> None:
|
175
|
-
self._provider_metadata = provider_metadata
|
176
|
-
|
177
|
-
self.retrieve = async_to_streamed_response_wrapper(
|
178
|
-
provider_metadata.retrieve,
|
179
|
-
)
|
@@ -1,141 +0,0 @@
|
|
1
|
-
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
-
|
3
|
-
from __future__ import annotations
|
4
|
-
|
5
|
-
import httpx
|
6
|
-
|
7
|
-
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
8
|
-
from ..._compat import cached_property
|
9
|
-
from ..._resource import SyncAPIResource, AsyncAPIResource
|
10
|
-
from ..._response import (
|
11
|
-
to_raw_response_wrapper,
|
12
|
-
to_streamed_response_wrapper,
|
13
|
-
async_to_raw_response_wrapper,
|
14
|
-
async_to_streamed_response_wrapper,
|
15
|
-
)
|
16
|
-
from ..._base_client import make_request_options
|
17
|
-
from ...types.supporting_data.query_help_retrieve_response import QueryHelpRetrieveResponse
|
18
|
-
|
19
|
-
__all__ = ["QueryHelpResource", "AsyncQueryHelpResource"]
|
20
|
-
|
21
|
-
|
22
|
-
class QueryHelpResource(SyncAPIResource):
|
23
|
-
@cached_property
|
24
|
-
def with_raw_response(self) -> QueryHelpResourceWithRawResponse:
|
25
|
-
"""
|
26
|
-
This property can be used as a prefix for any HTTP method call to return
|
27
|
-
the raw response object instead of the parsed content.
|
28
|
-
|
29
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#accessing-raw-response-data-eg-headers
|
30
|
-
"""
|
31
|
-
return QueryHelpResourceWithRawResponse(self)
|
32
|
-
|
33
|
-
@cached_property
|
34
|
-
def with_streaming_response(self) -> QueryHelpResourceWithStreamingResponse:
|
35
|
-
"""
|
36
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
37
|
-
|
38
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#with_streaming_response
|
39
|
-
"""
|
40
|
-
return QueryHelpResourceWithStreamingResponse(self)
|
41
|
-
|
42
|
-
def retrieve(
|
43
|
-
self,
|
44
|
-
*,
|
45
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
46
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
47
|
-
extra_headers: Headers | None = None,
|
48
|
-
extra_query: Query | None = None,
|
49
|
-
extra_body: Body | None = None,
|
50
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
51
|
-
) -> QueryHelpRetrieveResponse:
|
52
|
-
"""
|
53
|
-
Service operation to provide detailed information on available dynamic query
|
54
|
-
parameters for a particular data type.
|
55
|
-
"""
|
56
|
-
return self._get(
|
57
|
-
"/udl/dataowner/queryhelp",
|
58
|
-
options=make_request_options(
|
59
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
60
|
-
),
|
61
|
-
cast_to=QueryHelpRetrieveResponse,
|
62
|
-
)
|
63
|
-
|
64
|
-
|
65
|
-
class AsyncQueryHelpResource(AsyncAPIResource):
|
66
|
-
@cached_property
|
67
|
-
def with_raw_response(self) -> AsyncQueryHelpResourceWithRawResponse:
|
68
|
-
"""
|
69
|
-
This property can be used as a prefix for any HTTP method call to return
|
70
|
-
the raw response object instead of the parsed content.
|
71
|
-
|
72
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#accessing-raw-response-data-eg-headers
|
73
|
-
"""
|
74
|
-
return AsyncQueryHelpResourceWithRawResponse(self)
|
75
|
-
|
76
|
-
@cached_property
|
77
|
-
def with_streaming_response(self) -> AsyncQueryHelpResourceWithStreamingResponse:
|
78
|
-
"""
|
79
|
-
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
|
80
|
-
|
81
|
-
For more information, see https://www.github.com/Bluestaq/udl-python-sdk#with_streaming_response
|
82
|
-
"""
|
83
|
-
return AsyncQueryHelpResourceWithStreamingResponse(self)
|
84
|
-
|
85
|
-
async def retrieve(
|
86
|
-
self,
|
87
|
-
*,
|
88
|
-
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
89
|
-
# The extra values given here take precedence over values defined on the client or passed to this method.
|
90
|
-
extra_headers: Headers | None = None,
|
91
|
-
extra_query: Query | None = None,
|
92
|
-
extra_body: Body | None = None,
|
93
|
-
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
94
|
-
) -> QueryHelpRetrieveResponse:
|
95
|
-
"""
|
96
|
-
Service operation to provide detailed information on available dynamic query
|
97
|
-
parameters for a particular data type.
|
98
|
-
"""
|
99
|
-
return await self._get(
|
100
|
-
"/udl/dataowner/queryhelp",
|
101
|
-
options=make_request_options(
|
102
|
-
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
|
103
|
-
),
|
104
|
-
cast_to=QueryHelpRetrieveResponse,
|
105
|
-
)
|
106
|
-
|
107
|
-
|
108
|
-
class QueryHelpResourceWithRawResponse:
|
109
|
-
def __init__(self, query_help: QueryHelpResource) -> None:
|
110
|
-
self._query_help = query_help
|
111
|
-
|
112
|
-
self.retrieve = to_raw_response_wrapper(
|
113
|
-
query_help.retrieve,
|
114
|
-
)
|
115
|
-
|
116
|
-
|
117
|
-
class AsyncQueryHelpResourceWithRawResponse:
|
118
|
-
def __init__(self, query_help: AsyncQueryHelpResource) -> None:
|
119
|
-
self._query_help = query_help
|
120
|
-
|
121
|
-
self.retrieve = async_to_raw_response_wrapper(
|
122
|
-
query_help.retrieve,
|
123
|
-
)
|
124
|
-
|
125
|
-
|
126
|
-
class QueryHelpResourceWithStreamingResponse:
|
127
|
-
def __init__(self, query_help: QueryHelpResource) -> None:
|
128
|
-
self._query_help = query_help
|
129
|
-
|
130
|
-
self.retrieve = to_streamed_response_wrapper(
|
131
|
-
query_help.retrieve,
|
132
|
-
)
|
133
|
-
|
134
|
-
|
135
|
-
class AsyncQueryHelpResourceWithStreamingResponse:
|
136
|
-
def __init__(self, query_help: AsyncQueryHelpResource) -> None:
|
137
|
-
self._query_help = query_help
|
138
|
-
|
139
|
-
self.retrieve = async_to_streamed_response_wrapper(
|
140
|
-
query_help.retrieve,
|
141
|
-
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|