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
* docs: Add docstrings to Seam class
* Document inherited routes
* Update docstring format
* Only lts_version should be a class instance, client and defaults are instance vars
* Document only invalid options and token errors on the seam class
The API endpoint to which the request should be sent.
41
-
wait_for_action_attempt : bool or dict, optional
42
-
Controls whether to wait for an action attempt to complete, either as a boolean or as a dictionary specifying `timeout` and `poll_interval`. Defaults to `False`.
43
-
retries : urllib3.util.Retry, optional
44
-
Configuration for retry behavior on failed requests.
45
+
"""Initialize a Seam client instance.
46
+
47
+
This method sets up the Seam client with the provided authentication credentials and configuration options.
48
+
It supports two authentication methods: API key or personal access token.
49
+
50
+
:param api_key: The API key for authenticating with Seam. Mutually
51
+
exclusive with personal_access_token
52
+
:type api_key: Optional[str]
53
+
:param personal_access_token: A personal access token for
54
+
authenticating with Seam. Mutually exclusive with api_key
55
+
:type personal_access_token: Optional[str]
56
+
:param workspace_id: The ID of the workspace to interact with.
57
+
Required when using a personal access token
58
+
:type workspace_id: Optional[str]
59
+
:param endpoint: The custom API endpoint URL. If not provided, the
60
+
default Seam API endpoint will be used
61
+
:type endpoint: Optional[str]
62
+
:param wait_for_action_attempt: Controls whether to wait for an
63
+
action attempt to complete. Can be a boolean or a dictionary with
0 commit comments