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
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
2
2
3
3
importrequestsasrequests_http
4
-
from . importutils
5
4
from .accountsimportAccounts
6
5
from .companiesimportCompanies
7
6
from .peopleimportPeople
7
+
from .sdkconfigurationimportSDKConfiguration
8
8
from .userimportUser
9
+
fromsdkimportutils
9
10
fromsdk.modelsimportshared
10
11
11
-
SERVERS= [
12
-
"https://www.structure.ac/api/v1",
13
-
]
14
-
"""Contains the list of servers available to the SDK"""
15
-
16
12
classSDK:
17
13
r"""Structure provides company and people data. Use our dataset of 700 million people and 24 million companies to build products, enrich person profiles, power predictive modeling/ai, analysis, and more."""
18
14
accounts: Accounts
@@ -24,15 +20,11 @@ class SDK:
24
20
user: User
25
21
r"""User"""
26
22
27
-
_client: requests_http.Session
28
-
_security_client: requests_http.Session
29
-
_server_url: str=SERVERS[0]
30
-
_language: str="python"
31
-
_sdk_version: str="0.15.0"
32
-
_gen_version: str="2.34.7"
23
+
sdk_configuration: SDKConfiguration
33
24
34
25
def__init__(self,
35
26
security: shared.Security=None,
27
+
server_idx: int=None,
36
28
server_url: str=None,
37
29
url_params: dict[str, str] =None,
38
30
client: requests_http.Session=None
@@ -41,65 +33,31 @@ def __init__(self,
41
33
42
34
:param security: The security details required for authentication
43
35
:type security: shared.Security
36
+
:param server_idx: The index of the server to use for all operations
37
+
:type server_idx: int
44
38
:param server_url: The server URL to use for all operations
45
39
:type server_url: str
46
40
:param url_params: Parameters to optionally template the server URL with
47
41
:type url_params: dict[str, str]
48
42
:param client: The requests.Session HTTP client to use for all operations
0 commit comments