athena-intelligence 0.1.81__py3-none-any.whl → 0.1.83__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.
- athena/__init__.py +4 -1
- athena/base_client.py +40 -18
- athena/chain/client.py +72 -30
- athena/core/client_wrapper.py +1 -1
- athena/dataset/client.py +32 -10
- athena/errors/__init__.py +2 -1
- athena/errors/unsupported_media_type_error.py +9 -0
- athena/message/client.py +60 -24
- athena/query/client.py +28 -10
- athena/report/client.py +28 -10
- athena/search/client.py +36 -18
- athena/snippet/client.py +58 -18
- athena/tools/client.py +306 -134
- athena/types/__init__.py +2 -0
- athena/types/data_frame_unknown_format_error.py +27 -0
- athena/upload/client.py +28 -8
- athena/workflow/client.py +26 -8
- {athena_intelligence-0.1.81.dist-info → athena_intelligence-0.1.83.dist-info}/METADATA +2 -1
- {athena_intelligence-0.1.81.dist-info → athena_intelligence-0.1.83.dist-info}/RECORD +20 -18
- {athena_intelligence-0.1.81.dist-info → athena_intelligence-0.1.83.dist-info}/WHEEL +0 -0
athena/__init__.py
CHANGED
@@ -7,6 +7,7 @@ from .types import (
|
|
7
7
|
DataFrameRequestOutColumnsItem,
|
8
8
|
DataFrameRequestOutDataItemItem,
|
9
9
|
DataFrameRequestOutIndexItem,
|
10
|
+
DataFrameUnknownFormatError,
|
10
11
|
Dataset,
|
11
12
|
Document,
|
12
13
|
ExcecuteToolFirstWorkflowOut,
|
@@ -43,7 +44,7 @@ from .types import (
|
|
43
44
|
ValidationErrorLocItem,
|
44
45
|
WorkflowStatusOut,
|
45
46
|
)
|
46
|
-
from .errors import InternalServerError, NotFoundError, UnprocessableEntityError
|
47
|
+
from .errors import InternalServerError, NotFoundError, UnprocessableEntityError, UnsupportedMediaTypeError
|
47
48
|
from . import chain, dataset, message, query, report, search, snippet, tools, upload, workflow
|
48
49
|
from .environment import AthenaEnvironment
|
49
50
|
from .tools import ToolsDataFrameRequestColumnsItem
|
@@ -57,6 +58,7 @@ __all__ = [
|
|
57
58
|
"DataFrameRequestOutColumnsItem",
|
58
59
|
"DataFrameRequestOutDataItemItem",
|
59
60
|
"DataFrameRequestOutIndexItem",
|
61
|
+
"DataFrameUnknownFormatError",
|
60
62
|
"Dataset",
|
61
63
|
"Document",
|
62
64
|
"ExcecuteToolFirstWorkflowOut",
|
@@ -91,6 +93,7 @@ __all__ = [
|
|
91
93
|
"Tools",
|
92
94
|
"ToolsDataFrameRequestColumnsItem",
|
93
95
|
"UnprocessableEntityError",
|
96
|
+
"UnsupportedMediaTypeError",
|
94
97
|
"UploadDocumentsOut",
|
95
98
|
"UrlResult",
|
96
99
|
"ValidationError",
|
athena/base_client.py
CHANGED
@@ -22,21 +22,32 @@ class BaseAthena:
|
|
22
22
|
"""
|
23
23
|
Use this class to access the different functions within the SDK. You can instantiate any number of clients with different configuration that will propogate to these functions.
|
24
24
|
|
25
|
-
Parameters
|
26
|
-
|
25
|
+
Parameters
|
26
|
+
----------
|
27
|
+
base_url : typing.Optional[str]
|
28
|
+
The base url to use for requests from the client.
|
27
29
|
|
28
|
-
|
30
|
+
environment : AthenaEnvironment
|
31
|
+
The environment to use for requests from the client. from .environment import AthenaEnvironment
|
29
32
|
|
30
|
-
Defaults to AthenaEnvironment.DEFAULT
|
31
33
|
|
32
|
-
- api_key: str.
|
33
34
|
|
34
|
-
|
35
|
+
Defaults to AthenaEnvironment.DEFAULT
|
35
36
|
|
36
|
-
- follow_redirects: typing.Optional[bool]. Whether the default httpx client follows redirects or not, this is irrelevant if a custom httpx client is passed in.
|
37
37
|
|
38
|
-
|
39
|
-
|
38
|
+
|
39
|
+
api_key : str
|
40
|
+
timeout : typing.Optional[float]
|
41
|
+
The timeout to be used, in seconds, for requests by default the timeout is 60 seconds, unless a custom httpx client is used, in which case a default is not set.
|
42
|
+
|
43
|
+
follow_redirects : typing.Optional[bool]
|
44
|
+
Whether the default httpx client follows redirects or not, this is irrelevant if a custom httpx client is passed in.
|
45
|
+
|
46
|
+
httpx_client : typing.Optional[httpx.Client]
|
47
|
+
The httpx client to use for making requests, a preconfigured client is used by default, however this is useful should you want to pass in any custom httpx configuration.
|
48
|
+
|
49
|
+
Examples
|
50
|
+
--------
|
40
51
|
from athena.client import Athena
|
41
52
|
|
42
53
|
client = Athena(
|
@@ -81,21 +92,32 @@ class AsyncBaseAthena:
|
|
81
92
|
"""
|
82
93
|
Use this class to access the different functions within the SDK. You can instantiate any number of clients with different configuration that will propogate to these functions.
|
83
94
|
|
84
|
-
Parameters
|
85
|
-
|
95
|
+
Parameters
|
96
|
+
----------
|
97
|
+
base_url : typing.Optional[str]
|
98
|
+
The base url to use for requests from the client.
|
99
|
+
|
100
|
+
environment : AthenaEnvironment
|
101
|
+
The environment to use for requests from the client. from .environment import AthenaEnvironment
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
Defaults to AthenaEnvironment.DEFAULT
|
86
106
|
|
87
|
-
- environment: AthenaEnvironment. The environment to use for requests from the client. from .environment import AthenaEnvironment
|
88
107
|
|
89
|
-
Defaults to AthenaEnvironment.DEFAULT
|
90
108
|
|
91
|
-
|
109
|
+
api_key : str
|
110
|
+
timeout : typing.Optional[float]
|
111
|
+
The timeout to be used, in seconds, for requests by default the timeout is 60 seconds, unless a custom httpx client is used, in which case a default is not set.
|
92
112
|
|
93
|
-
|
113
|
+
follow_redirects : typing.Optional[bool]
|
114
|
+
Whether the default httpx client follows redirects or not, this is irrelevant if a custom httpx client is passed in.
|
94
115
|
|
95
|
-
|
116
|
+
httpx_client : typing.Optional[httpx.AsyncClient]
|
117
|
+
The httpx client to use for making requests, a preconfigured client is used by default, however this is useful should you want to pass in any custom httpx configuration.
|
96
118
|
|
97
|
-
|
98
|
-
|
119
|
+
Examples
|
120
|
+
--------
|
99
121
|
from athena.client import AsyncAthena
|
100
122
|
|
101
123
|
client = AsyncAthena(
|
athena/chain/client.py
CHANGED
@@ -34,15 +34,26 @@ class ChainClient:
|
|
34
34
|
request_options: typing.Optional[RequestOptions] = None,
|
35
35
|
) -> StructuredParseResult:
|
36
36
|
"""
|
37
|
-
Parameters
|
38
|
-
|
37
|
+
Parameters
|
38
|
+
----------
|
39
|
+
text_input : str
|
40
|
+
The text input to be parsed.
|
39
41
|
|
40
|
-
|
42
|
+
custom_type_dict : typing.Dict[str, typing.Any]
|
43
|
+
A dictionary of field names and their default values.
|
41
44
|
|
42
|
-
|
45
|
+
model : LlmModel
|
43
46
|
|
44
|
-
|
45
|
-
|
47
|
+
request_options : typing.Optional[RequestOptions]
|
48
|
+
Request-specific configuration.
|
49
|
+
|
50
|
+
Returns
|
51
|
+
-------
|
52
|
+
StructuredParseResult
|
53
|
+
Successful Response
|
54
|
+
|
55
|
+
Examples
|
56
|
+
--------
|
46
57
|
from athena import LlmModel
|
47
58
|
from athena.client import Athena
|
48
59
|
|
@@ -51,7 +62,7 @@ class ChainClient:
|
|
51
62
|
)
|
52
63
|
client.chain.structured_parse(
|
53
64
|
text_input='Athena is an AI-native analytics platform and artificial employee built to accelerate analytics workflows\n by offering enterprise teams co-pilot and auto-pilot modes. Athena learns your workflow as a co-pilot,\n allowing you to hand over controls to her for autonomous execution with confidence."\n\n Give me all of the modes Athena provides.',
|
54
|
-
custom_type_dict={
|
65
|
+
custom_type_dict={},
|
55
66
|
model=LlmModel.GPT_4_TURBO,
|
56
67
|
)
|
57
68
|
"""
|
@@ -104,19 +115,28 @@ class ChainClient:
|
|
104
115
|
request_options: typing.Optional[RequestOptions] = None,
|
105
116
|
) -> MapReduceChainOut:
|
106
117
|
"""
|
107
|
-
Parameters
|
108
|
-
|
118
|
+
Parameters
|
119
|
+
----------
|
120
|
+
documents : typing.Sequence[Document]
|
121
|
+
|
122
|
+
model : LlmModel
|
123
|
+
|
124
|
+
operator_prompt : str
|
109
125
|
|
110
|
-
|
126
|
+
reducer_prompt : str
|
111
127
|
|
112
|
-
|
128
|
+
input : str
|
113
129
|
|
114
|
-
|
130
|
+
request_options : typing.Optional[RequestOptions]
|
131
|
+
Request-specific configuration.
|
115
132
|
|
116
|
-
|
133
|
+
Returns
|
134
|
+
-------
|
135
|
+
MapReduceChainOut
|
136
|
+
Successful Response
|
117
137
|
|
118
|
-
|
119
|
-
|
138
|
+
Examples
|
139
|
+
--------
|
120
140
|
from athena import Document, LlmModel
|
121
141
|
from athena.client import Athena
|
122
142
|
|
@@ -127,6 +147,7 @@ class ChainClient:
|
|
127
147
|
documents=[
|
128
148
|
Document(
|
129
149
|
page_content="Athena is an AI-native analytics platform and artificial employee built to accelerate analytics workflows by offering enterprise teams co-pilot and auto-pilot modes. Athena learns your workflow as a co-pilot, allowing you to hand over controls to her for autonomous execution with confidence.",
|
150
|
+
metadata={"key": "value"},
|
130
151
|
)
|
131
152
|
],
|
132
153
|
model=LlmModel.MISTRAL_LARGE_0224,
|
@@ -203,15 +224,26 @@ class AsyncChainClient:
|
|
203
224
|
request_options: typing.Optional[RequestOptions] = None,
|
204
225
|
) -> StructuredParseResult:
|
205
226
|
"""
|
206
|
-
Parameters
|
207
|
-
|
227
|
+
Parameters
|
228
|
+
----------
|
229
|
+
text_input : str
|
230
|
+
The text input to be parsed.
|
208
231
|
|
209
|
-
|
232
|
+
custom_type_dict : typing.Dict[str, typing.Any]
|
233
|
+
A dictionary of field names and their default values.
|
210
234
|
|
211
|
-
|
235
|
+
model : LlmModel
|
212
236
|
|
213
|
-
|
214
|
-
|
237
|
+
request_options : typing.Optional[RequestOptions]
|
238
|
+
Request-specific configuration.
|
239
|
+
|
240
|
+
Returns
|
241
|
+
-------
|
242
|
+
StructuredParseResult
|
243
|
+
Successful Response
|
244
|
+
|
245
|
+
Examples
|
246
|
+
--------
|
215
247
|
from athena import LlmModel
|
216
248
|
from athena.client import AsyncAthena
|
217
249
|
|
@@ -220,7 +252,7 @@ class AsyncChainClient:
|
|
220
252
|
)
|
221
253
|
await client.chain.structured_parse(
|
222
254
|
text_input='Athena is an AI-native analytics platform and artificial employee built to accelerate analytics workflows\n by offering enterprise teams co-pilot and auto-pilot modes. Athena learns your workflow as a co-pilot,\n allowing you to hand over controls to her for autonomous execution with confidence."\n\n Give me all of the modes Athena provides.',
|
223
|
-
custom_type_dict={
|
255
|
+
custom_type_dict={},
|
224
256
|
model=LlmModel.GPT_4_TURBO,
|
225
257
|
)
|
226
258
|
"""
|
@@ -273,19 +305,28 @@ class AsyncChainClient:
|
|
273
305
|
request_options: typing.Optional[RequestOptions] = None,
|
274
306
|
) -> MapReduceChainOut:
|
275
307
|
"""
|
276
|
-
Parameters
|
277
|
-
|
308
|
+
Parameters
|
309
|
+
----------
|
310
|
+
documents : typing.Sequence[Document]
|
311
|
+
|
312
|
+
model : LlmModel
|
313
|
+
|
314
|
+
operator_prompt : str
|
278
315
|
|
279
|
-
|
316
|
+
reducer_prompt : str
|
280
317
|
|
281
|
-
|
318
|
+
input : str
|
282
319
|
|
283
|
-
|
320
|
+
request_options : typing.Optional[RequestOptions]
|
321
|
+
Request-specific configuration.
|
284
322
|
|
285
|
-
|
323
|
+
Returns
|
324
|
+
-------
|
325
|
+
MapReduceChainOut
|
326
|
+
Successful Response
|
286
327
|
|
287
|
-
|
288
|
-
|
328
|
+
Examples
|
329
|
+
--------
|
289
330
|
from athena import Document, LlmModel
|
290
331
|
from athena.client import AsyncAthena
|
291
332
|
|
@@ -296,6 +337,7 @@ class AsyncChainClient:
|
|
296
337
|
documents=[
|
297
338
|
Document(
|
298
339
|
page_content="Athena is an AI-native analytics platform and artificial employee built to accelerate analytics workflows by offering enterprise teams co-pilot and auto-pilot modes. Athena learns your workflow as a co-pilot, allowing you to hand over controls to her for autonomous execution with confidence.",
|
340
|
+
metadata={"key": "value"},
|
299
341
|
)
|
300
342
|
],
|
301
343
|
model=LlmModel.MISTRAL_LARGE_0224,
|
athena/core/client_wrapper.py
CHANGED
@@ -17,7 +17,7 @@ class BaseClientWrapper:
|
|
17
17
|
headers: typing.Dict[str, str] = {
|
18
18
|
"X-Fern-Language": "Python",
|
19
19
|
"X-Fern-SDK-Name": "athena-intelligence",
|
20
|
-
"X-Fern-SDK-Version": "0.1.
|
20
|
+
"X-Fern-SDK-Version": "0.1.83",
|
21
21
|
}
|
22
22
|
headers["X-API-KEY"] = self.api_key
|
23
23
|
return headers
|
athena/dataset/client.py
CHANGED
@@ -27,13 +27,24 @@ class DatasetClient:
|
|
27
27
|
request_options: typing.Optional[RequestOptions] = None,
|
28
28
|
) -> GetDatasetsResponse:
|
29
29
|
"""
|
30
|
-
Parameters
|
31
|
-
|
30
|
+
Parameters
|
31
|
+
----------
|
32
|
+
page : typing.Optional[int]
|
33
|
+
Page number starting from 1
|
32
34
|
|
33
|
-
|
35
|
+
page_size : typing.Optional[int]
|
36
|
+
Number of items per page
|
34
37
|
|
35
|
-
|
36
|
-
|
38
|
+
request_options : typing.Optional[RequestOptions]
|
39
|
+
Request-specific configuration.
|
40
|
+
|
41
|
+
Returns
|
42
|
+
-------
|
43
|
+
GetDatasetsResponse
|
44
|
+
Successful Response
|
45
|
+
|
46
|
+
Examples
|
47
|
+
--------
|
37
48
|
from athena.client import Athena
|
38
49
|
|
39
50
|
client = Athena(
|
@@ -96,13 +107,24 @@ class AsyncDatasetClient:
|
|
96
107
|
request_options: typing.Optional[RequestOptions] = None,
|
97
108
|
) -> GetDatasetsResponse:
|
98
109
|
"""
|
99
|
-
Parameters
|
100
|
-
|
110
|
+
Parameters
|
111
|
+
----------
|
112
|
+
page : typing.Optional[int]
|
113
|
+
Page number starting from 1
|
114
|
+
|
115
|
+
page_size : typing.Optional[int]
|
116
|
+
Number of items per page
|
117
|
+
|
118
|
+
request_options : typing.Optional[RequestOptions]
|
119
|
+
Request-specific configuration.
|
101
120
|
|
102
|
-
|
121
|
+
Returns
|
122
|
+
-------
|
123
|
+
GetDatasetsResponse
|
124
|
+
Successful Response
|
103
125
|
|
104
|
-
|
105
|
-
|
126
|
+
Examples
|
127
|
+
--------
|
106
128
|
from athena.client import AsyncAthena
|
107
129
|
|
108
130
|
client = AsyncAthena(
|
athena/errors/__init__.py
CHANGED
@@ -3,5 +3,6 @@
|
|
3
3
|
from .internal_server_error import InternalServerError
|
4
4
|
from .not_found_error import NotFoundError
|
5
5
|
from .unprocessable_entity_error import UnprocessableEntityError
|
6
|
+
from .unsupported_media_type_error import UnsupportedMediaTypeError
|
6
7
|
|
7
|
-
__all__ = ["InternalServerError", "NotFoundError", "UnprocessableEntityError"]
|
8
|
+
__all__ = ["InternalServerError", "NotFoundError", "UnprocessableEntityError", "UnsupportedMediaTypeError"]
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
2
|
+
|
3
|
+
from ..core.api_error import ApiError
|
4
|
+
from ..types.data_frame_unknown_format_error import DataFrameUnknownFormatError
|
5
|
+
|
6
|
+
|
7
|
+
class UnsupportedMediaTypeError(ApiError):
|
8
|
+
def __init__(self, body: DataFrameUnknownFormatError):
|
9
|
+
super().__init__(status_code=415, body=body)
|
athena/message/client.py
CHANGED
@@ -36,19 +36,28 @@ class MessageClient:
|
|
36
36
|
request_options: typing.Optional[RequestOptions] = None,
|
37
37
|
) -> MessageOut:
|
38
38
|
"""
|
39
|
-
Parameters
|
40
|
-
|
39
|
+
Parameters
|
40
|
+
----------
|
41
|
+
content : str
|
41
42
|
|
42
|
-
|
43
|
+
model : typing.Optional[Model]
|
43
44
|
|
44
|
-
|
45
|
+
tools : typing.Optional[typing.Sequence[Tools]]
|
45
46
|
|
46
|
-
|
47
|
+
conversation_id : typing.Optional[str]
|
47
48
|
|
48
|
-
|
49
|
+
conversation_name : typing.Optional[str]
|
49
50
|
|
50
|
-
|
51
|
-
|
51
|
+
request_options : typing.Optional[RequestOptions]
|
52
|
+
Request-specific configuration.
|
53
|
+
|
54
|
+
Returns
|
55
|
+
-------
|
56
|
+
MessageOut
|
57
|
+
Successful Response
|
58
|
+
|
59
|
+
Examples
|
60
|
+
--------
|
52
61
|
from athena import Model, Tools
|
53
62
|
from athena.client import Athena
|
54
63
|
|
@@ -110,11 +119,20 @@ class MessageClient:
|
|
110
119
|
|
111
120
|
def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MessageOutDto:
|
112
121
|
"""
|
113
|
-
Parameters
|
114
|
-
|
122
|
+
Parameters
|
123
|
+
----------
|
124
|
+
id : str
|
125
|
+
|
126
|
+
request_options : typing.Optional[RequestOptions]
|
127
|
+
Request-specific configuration.
|
128
|
+
|
129
|
+
Returns
|
130
|
+
-------
|
131
|
+
MessageOutDto
|
132
|
+
Successful Response
|
115
133
|
|
116
|
-
|
117
|
-
|
134
|
+
Examples
|
135
|
+
--------
|
118
136
|
from athena.client import Athena
|
119
137
|
|
120
138
|
client = Athena(
|
@@ -174,19 +192,28 @@ class AsyncMessageClient:
|
|
174
192
|
request_options: typing.Optional[RequestOptions] = None,
|
175
193
|
) -> MessageOut:
|
176
194
|
"""
|
177
|
-
Parameters
|
178
|
-
|
195
|
+
Parameters
|
196
|
+
----------
|
197
|
+
content : str
|
179
198
|
|
180
|
-
|
199
|
+
model : typing.Optional[Model]
|
181
200
|
|
182
|
-
|
201
|
+
tools : typing.Optional[typing.Sequence[Tools]]
|
183
202
|
|
184
|
-
|
203
|
+
conversation_id : typing.Optional[str]
|
185
204
|
|
186
|
-
|
205
|
+
conversation_name : typing.Optional[str]
|
187
206
|
|
188
|
-
|
189
|
-
|
207
|
+
request_options : typing.Optional[RequestOptions]
|
208
|
+
Request-specific configuration.
|
209
|
+
|
210
|
+
Returns
|
211
|
+
-------
|
212
|
+
MessageOut
|
213
|
+
Successful Response
|
214
|
+
|
215
|
+
Examples
|
216
|
+
--------
|
190
217
|
from athena import Model, Tools
|
191
218
|
from athena.client import AsyncAthena
|
192
219
|
|
@@ -248,11 +275,20 @@ class AsyncMessageClient:
|
|
248
275
|
|
249
276
|
async def get(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> MessageOutDto:
|
250
277
|
"""
|
251
|
-
Parameters
|
252
|
-
|
278
|
+
Parameters
|
279
|
+
----------
|
280
|
+
id : str
|
281
|
+
|
282
|
+
request_options : typing.Optional[RequestOptions]
|
283
|
+
Request-specific configuration.
|
284
|
+
|
285
|
+
Returns
|
286
|
+
-------
|
287
|
+
MessageOutDto
|
288
|
+
Successful Response
|
253
289
|
|
254
|
-
|
255
|
-
|
290
|
+
Examples
|
291
|
+
--------
|
256
292
|
from athena.client import AsyncAthena
|
257
293
|
|
258
294
|
client = AsyncAthena(
|
athena/query/client.py
CHANGED
@@ -26,13 +26,22 @@ class QueryClient:
|
|
26
26
|
self, *, sql_command: str, database_id: int, request_options: typing.Optional[RequestOptions] = None
|
27
27
|
) -> SqlResults:
|
28
28
|
"""
|
29
|
-
Parameters
|
30
|
-
|
29
|
+
Parameters
|
30
|
+
----------
|
31
|
+
sql_command : str
|
31
32
|
|
32
|
-
|
33
|
+
database_id : int
|
33
34
|
|
34
|
-
|
35
|
-
|
35
|
+
request_options : typing.Optional[RequestOptions]
|
36
|
+
Request-specific configuration.
|
37
|
+
|
38
|
+
Returns
|
39
|
+
-------
|
40
|
+
SqlResults
|
41
|
+
Successful Response
|
42
|
+
|
43
|
+
Examples
|
44
|
+
--------
|
36
45
|
from athena.client import Athena
|
37
46
|
|
38
47
|
client = Athena(
|
@@ -90,13 +99,22 @@ class AsyncQueryClient:
|
|
90
99
|
self, *, sql_command: str, database_id: int, request_options: typing.Optional[RequestOptions] = None
|
91
100
|
) -> SqlResults:
|
92
101
|
"""
|
93
|
-
Parameters
|
94
|
-
|
102
|
+
Parameters
|
103
|
+
----------
|
104
|
+
sql_command : str
|
105
|
+
|
106
|
+
database_id : int
|
107
|
+
|
108
|
+
request_options : typing.Optional[RequestOptions]
|
109
|
+
Request-specific configuration.
|
95
110
|
|
96
|
-
|
111
|
+
Returns
|
112
|
+
-------
|
113
|
+
SqlResults
|
114
|
+
Successful Response
|
97
115
|
|
98
|
-
|
99
|
-
|
116
|
+
Examples
|
117
|
+
--------
|
100
118
|
from athena.client import AsyncAthena
|
101
119
|
|
102
120
|
client = AsyncAthena(
|
athena/report/client.py
CHANGED
@@ -30,13 +30,22 @@ class ReportClient:
|
|
30
30
|
request_options: typing.Optional[RequestOptions] = None,
|
31
31
|
) -> Report:
|
32
32
|
"""
|
33
|
-
Parameters
|
34
|
-
|
33
|
+
Parameters
|
34
|
+
----------
|
35
|
+
name : typing.Optional[str]
|
35
36
|
|
36
|
-
|
37
|
+
workspace_access : typing.Optional[bool]
|
37
38
|
|
38
|
-
|
39
|
-
|
39
|
+
request_options : typing.Optional[RequestOptions]
|
40
|
+
Request-specific configuration.
|
41
|
+
|
42
|
+
Returns
|
43
|
+
-------
|
44
|
+
Report
|
45
|
+
Successful Response
|
46
|
+
|
47
|
+
Examples
|
48
|
+
--------
|
40
49
|
from athena.client import Athena
|
41
50
|
|
42
51
|
client = Athena(
|
@@ -100,13 +109,22 @@ class AsyncReportClient:
|
|
100
109
|
request_options: typing.Optional[RequestOptions] = None,
|
101
110
|
) -> Report:
|
102
111
|
"""
|
103
|
-
Parameters
|
104
|
-
|
112
|
+
Parameters
|
113
|
+
----------
|
114
|
+
name : typing.Optional[str]
|
115
|
+
|
116
|
+
workspace_access : typing.Optional[bool]
|
117
|
+
|
118
|
+
request_options : typing.Optional[RequestOptions]
|
119
|
+
Request-specific configuration.
|
105
120
|
|
106
|
-
|
121
|
+
Returns
|
122
|
+
-------
|
123
|
+
Report
|
124
|
+
Successful Response
|
107
125
|
|
108
|
-
|
109
|
-
|
126
|
+
Examples
|
127
|
+
--------
|
110
128
|
from athena.client import AsyncAthena
|
111
129
|
|
112
130
|
client = AsyncAthena(
|