You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/axiomatic/client.py
+36-10Lines changed: 36 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# This file was auto-generated by Fern from our API Definition.
2
2
3
3
importtyping
4
+
from .environmentimportAxiomaticEnvironment
4
5
importhttpx
5
6
from .core.client_wrapperimportSyncClientWrapper
6
7
from .pic.clientimportPicClient
@@ -24,9 +25,18 @@ class Axiomatic:
24
25
25
26
Parameters
26
27
----------
27
-
base_url : str
28
+
base_url : typing.Optional[str]
28
29
The base url to use for requests from the client.
29
30
31
+
environment : AxiomaticEnvironment
32
+
The environment to use for requests from the client. from .environment import AxiomaticEnvironment
33
+
34
+
35
+
36
+
Defaults to AxiomaticEnvironment.DEFAULT
37
+
38
+
39
+
30
40
api_key : str
31
41
timeout : typing.Optional[float]
32
42
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 this default is not enforced.
The environment to use for requests from the client. from .environment import AxiomaticEnvironment
139
+
140
+
141
+
142
+
Defaults to AxiomaticEnvironment.DEFAULT
143
+
144
+
145
+
128
146
api_key : str
129
147
timeout : typing.Optional[float]
130
148
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 this default is not enforced.
0 commit comments