22
33from __future__ import annotations
44
5- from typing import Type , Optional , cast
5+ from typing import Type , cast
66from typing_extensions import Literal
77
88import httpx
2121 async_to_streamed_response_wrapper ,
2222)
2323from ..._wrappers import ResultWrapper
24- from ...types .radar import dataset_get_params , dataset_list_params , dataset_download_params
24+ from ...types .radar import dataset_list_params , dataset_download_params
2525from ..._base_client import (
2626 make_request_options ,
2727)
@@ -139,7 +139,6 @@ def get(
139139 self ,
140140 alias : str ,
141141 * ,
142- date : Optional [str ] | NotGiven = NOT_GIVEN ,
143142 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
144143 # The extra values given here take precedence over values defined on the client or passed to this method.
145144 extra_headers : Headers | None = None ,
@@ -156,8 +155,6 @@ def get(
156155 Args:
157156 alias: Dataset alias or id
158157
159- date: Filter dataset alias by date
160-
161158 extra_headers: Send extra headers
162159
163160 extra_query: Add additional query parameters to the request
@@ -172,11 +169,7 @@ def get(
172169 return self ._get (
173170 f"/radar/datasets/{ alias } " ,
174171 options = make_request_options (
175- extra_headers = extra_headers ,
176- extra_query = extra_query ,
177- extra_body = extra_body ,
178- timeout = timeout ,
179- query = maybe_transform ({"date" : date }, dataset_get_params .DatasetGetParams ),
172+ extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
180173 ),
181174 cast_to = str ,
182175 )
@@ -290,7 +283,6 @@ async def get(
290283 self ,
291284 alias : str ,
292285 * ,
293- date : Optional [str ] | NotGiven = NOT_GIVEN ,
294286 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
295287 # The extra values given here take precedence over values defined on the client or passed to this method.
296288 extra_headers : Headers | None = None ,
@@ -307,8 +299,6 @@ async def get(
307299 Args:
308300 alias: Dataset alias or id
309301
310- date: Filter dataset alias by date
311-
312302 extra_headers: Send extra headers
313303
314304 extra_query: Add additional query parameters to the request
@@ -323,11 +313,7 @@ async def get(
323313 return await self ._get (
324314 f"/radar/datasets/{ alias } " ,
325315 options = make_request_options (
326- extra_headers = extra_headers ,
327- extra_query = extra_query ,
328- extra_body = extra_body ,
329- timeout = timeout ,
330- query = await async_maybe_transform ({"date" : date }, dataset_get_params .DatasetGetParams ),
316+ extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
331317 ),
332318 cast_to = str ,
333319 )
0 commit comments