ibee 0.1.0__tar.gz

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.
Files changed (87) hide show
  1. ibee-0.1.0/LICENSE +21 -0
  2. ibee-0.1.0/PKG-INFO +110 -0
  3. ibee-0.1.0/README.md +90 -0
  4. ibee-0.1.0/pyproject.toml +32 -0
  5. ibee-0.1.0/setup.cfg +4 -0
  6. ibee-0.1.0/src/ibee/__init__.py +157 -0
  7. ibee-0.1.0/src/ibee/_default_clients.py +32 -0
  8. ibee-0.1.0/src/ibee/client.py +290 -0
  9. ibee-0.1.0/src/ibee/cloud_vms/__init__.py +34 -0
  10. ibee-0.1.0/src/ibee/cloud_vms/client.py +1473 -0
  11. ibee-0.1.0/src/ibee/cloud_vms/raw_client.py +2679 -0
  12. ibee-0.1.0/src/ibee/cloud_vms/types/__init__.py +34 -0
  13. ibee-0.1.0/src/ibee/cloud_vms/types/create_cloud_vm_request_os_type.py +5 -0
  14. ibee-0.1.0/src/ibee/core/__init__.py +127 -0
  15. ibee-0.1.0/src/ibee/core/api_error.py +23 -0
  16. ibee-0.1.0/src/ibee/core/client_wrapper.py +144 -0
  17. ibee-0.1.0/src/ibee/core/datetime_utils.py +70 -0
  18. ibee-0.1.0/src/ibee/core/file.py +67 -0
  19. ibee-0.1.0/src/ibee/core/force_multipart.py +18 -0
  20. ibee-0.1.0/src/ibee/core/http_client.py +843 -0
  21. ibee-0.1.0/src/ibee/core/http_response.py +59 -0
  22. ibee-0.1.0/src/ibee/core/http_sse/__init__.py +42 -0
  23. ibee-0.1.0/src/ibee/core/http_sse/_api.py +180 -0
  24. ibee-0.1.0/src/ibee/core/http_sse/_decoders.py +61 -0
  25. ibee-0.1.0/src/ibee/core/http_sse/_exceptions.py +7 -0
  26. ibee-0.1.0/src/ibee/core/http_sse/_models.py +17 -0
  27. ibee-0.1.0/src/ibee/core/jsonable_encoder.py +120 -0
  28. ibee-0.1.0/src/ibee/core/logging.py +107 -0
  29. ibee-0.1.0/src/ibee/core/parse_error.py +36 -0
  30. ibee-0.1.0/src/ibee/core/pydantic_utilities.py +508 -0
  31. ibee-0.1.0/src/ibee/core/query_encoder.py +58 -0
  32. ibee-0.1.0/src/ibee/core/remove_none_from_dict.py +11 -0
  33. ibee-0.1.0/src/ibee/core/request_options.py +37 -0
  34. ibee-0.1.0/src/ibee/core/serialization.py +347 -0
  35. ibee-0.1.0/src/ibee/environment.py +7 -0
  36. ibee-0.1.0/src/ibee/errors/__init__.py +44 -0
  37. ibee-0.1.0/src/ibee/errors/bad_request_error.py +11 -0
  38. ibee-0.1.0/src/ibee/errors/conflict_error.py +11 -0
  39. ibee-0.1.0/src/ibee/errors/forbidden_error.py +11 -0
  40. ibee-0.1.0/src/ibee/errors/not_found_error.py +11 -0
  41. ibee-0.1.0/src/ibee/errors/unauthorized_error.py +11 -0
  42. ibee-0.1.0/src/ibee/gpu_vms/__init__.py +34 -0
  43. ibee-0.1.0/src/ibee/gpu_vms/client.py +1408 -0
  44. ibee-0.1.0/src/ibee/gpu_vms/raw_client.py +2534 -0
  45. ibee-0.1.0/src/ibee/gpu_vms/types/__init__.py +34 -0
  46. ibee-0.1.0/src/ibee/gpu_vms/types/create_gpu_vm_request_os_type.py +5 -0
  47. ibee-0.1.0/src/ibee/object_storage/__init__.py +4 -0
  48. ibee-0.1.0/src/ibee/object_storage/client.py +341 -0
  49. ibee-0.1.0/src/ibee/object_storage/raw_client.py +556 -0
  50. ibee-0.1.0/src/ibee/secret_store/__init__.py +4 -0
  51. ibee-0.1.0/src/ibee/secret_store/client.py +1143 -0
  52. ibee-0.1.0/src/ibee/secret_store/raw_client.py +2096 -0
  53. ibee-0.1.0/src/ibee/tests/conftest.py +21 -0
  54. ibee-0.1.0/src/ibee/tests/test_aiohttp_autodetect.py +113 -0
  55. ibee-0.1.0/src/ibee/types/__init__.py +116 -0
  56. ibee-0.1.0/src/ibee/types/attach_network_request.py +22 -0
  57. ibee-0.1.0/src/ibee/types/bucket.py +23 -0
  58. ibee-0.1.0/src/ibee/types/bucket_list.py +22 -0
  59. ibee-0.1.0/src/ibee/types/bucket_summary.py +21 -0
  60. ibee-0.1.0/src/ibee/types/cloud_vm.py +34 -0
  61. ibee-0.1.0/src/ibee/types/cloud_vm_status.py +7 -0
  62. ibee-0.1.0/src/ibee/types/delete_response.py +19 -0
  63. ibee-0.1.0/src/ibee/types/error.py +20 -0
  64. ibee-0.1.0/src/ibee/types/error_detail.py +5 -0
  65. ibee-0.1.0/src/ibee/types/gpu_vm.py +36 -0
  66. ibee-0.1.0/src/ibee/types/gpu_vm_status.py +7 -0
  67. ibee-0.1.0/src/ibee/types/network_interface.py +26 -0
  68. ibee-0.1.0/src/ibee/types/network_interface_status.py +5 -0
  69. ibee-0.1.0/src/ibee/types/operation_accepted.py +23 -0
  70. ibee-0.1.0/src/ibee/types/operation_status.py +30 -0
  71. ibee-0.1.0/src/ibee/types/operation_status_action.py +7 -0
  72. ibee-0.1.0/src/ibee/types/operation_status_status.py +5 -0
  73. ibee-0.1.0/src/ibee/types/power_action_request.py +22 -0
  74. ibee-0.1.0/src/ibee/types/secret.py +29 -0
  75. ibee-0.1.0/src/ibee/types/secret_list.py +23 -0
  76. ibee-0.1.0/src/ibee/types/secret_status.py +5 -0
  77. ibee-0.1.0/src/ibee/types/secret_store.py +33 -0
  78. ibee-0.1.0/src/ibee/types/secret_store_list.py +23 -0
  79. ibee-0.1.0/src/ibee/types/secret_store_status.py +5 -0
  80. ibee-0.1.0/src/ibee/types/secret_value.py +26 -0
  81. ibee-0.1.0/src/ibee/types/update_vm_request.py +27 -0
  82. ibee-0.1.0/src/ibee/types/vm_metrics.py +26 -0
  83. ibee-0.1.0/src/ibee.egg-info/PKG-INFO +110 -0
  84. ibee-0.1.0/src/ibee.egg-info/SOURCES.txt +85 -0
  85. ibee-0.1.0/src/ibee.egg-info/dependency_links.txt +1 -0
  86. ibee-0.1.0/src/ibee.egg-info/requires.txt +3 -0
  87. ibee-0.1.0/src/ibee.egg-info/top_level.txt +1 -0
ibee-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 IBEE Solutions
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
ibee-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,110 @@
1
+ Metadata-Version: 2.4
2
+ Name: ibee
3
+ Version: 0.1.0
4
+ Summary: Official Python SDK for the IBEE Solutions API
5
+ Author-email: IBEE Solutions <support@ibee.ai>
6
+ License: MIT
7
+ Project-URL: Homepage, https://ibee.ai
8
+ Project-URL: Documentation, https://ibee.ai/docs/api-reference
9
+ Project-URL: Repository, https://github.com/devs-ibee/ibee-python
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: License :: OSI Approved :: MIT License
12
+ Classifier: Operating System :: OS Independent
13
+ Requires-Python: >=3.8
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+ Requires-Dist: httpx>=0.21.2
17
+ Requires-Dist: pydantic>=1.9.2
18
+ Requires-Dist: typing_extensions>=4.0.0
19
+ Dynamic: license-file
20
+
21
+ # IBEE Solutions Python SDK
22
+
23
+ Official Python SDK for the IBEE Solutions API. Manage cloud VMs, GPU VMs, object storage, and secrets programmatically.
24
+
25
+ ## Installation
26
+
27
+ ```bash
28
+ pip install ibee
29
+ ```
30
+
31
+ ## Usage
32
+
33
+ ```python
34
+ from ibee import Ibee
35
+
36
+ client = Ibee(token="ibee_live_xxxxxxxxxxxx")
37
+
38
+ # List cloud VMs
39
+ vms = client.cloud_vms.list_cloud_vms(workspace_id="907479")
40
+
41
+ # Create a cloud VM
42
+ vm = client.cloud_vms.create_cloud_vm(
43
+ workspace_id="907479",
44
+ idempotency_key="create-web-server-01",
45
+ name="web-server",
46
+ os_distro="ubuntu",
47
+ os_type="linux",
48
+ cpu=2,
49
+ ram_mb=4096,
50
+ )
51
+
52
+ # List GPU VMs
53
+ gpu_vms = client.gpu_vms.list_gpu_vms(workspace_id="907479")
54
+
55
+ # Manage secrets
56
+ stores = client.secret_store.list_secret_stores(workspace_id="907479")
57
+
58
+ # List object storage buckets
59
+ buckets = client.object_storage.list_buckets(workspace_id="907479")
60
+ ```
61
+
62
+ To create a VM from portal-style choices, pass the selected IDs:
63
+
64
+ ```python
65
+ vm = client.cloud_vms.create_cloud_vm(
66
+ workspace_id="907479",
67
+ idempotency_key="create-web-server-01",
68
+ name="web-server-01",
69
+ os_distro="ubuntu",
70
+ os_type="linux",
71
+ template_id="tmpl_ubuntu_2204",
72
+ plan_id="plan_standard_2c_4g",
73
+ cpu=2,
74
+ ram_mb=4096,
75
+ disk_gb=80,
76
+ ssh_key_ids=["ssh_key_123"],
77
+ tags=["prod", "web"],
78
+ )
79
+ ```
80
+
81
+ `plan_id` is the selected instance plan. `template_id` is the selected OS
82
+ template or image. `ssh_key_ids` are the SSH keys to inject at first boot.
83
+ In the current SDK, `cpu` and `ram_mb` are still required fallback fields even
84
+ when `plan_id` is provided.
85
+
86
+ ## Async usage
87
+
88
+ ```python
89
+ import asyncio
90
+ from ibee import AsyncIbee
91
+
92
+ async def main():
93
+ client = AsyncIbee(token="ibee_live_xxxxxxxxxxxx")
94
+ vms = await client.cloud_vms.list_cloud_vms(workspace_id="907479")
95
+ print(vms)
96
+
97
+ asyncio.run(main())
98
+ ```
99
+
100
+ ## Authentication
101
+
102
+ Generate a platform API token from the IBEE portal under Settings > Platform API Tokens. Use the token with the `token` parameter when creating the client.
103
+
104
+ ## Documentation
105
+
106
+ Full API reference: [https://docs.ibee.co.in/docs/api-reference](https://docs.ibee.co.in/docs/api-reference)
107
+
108
+ ## License
109
+
110
+ MIT
ibee-0.1.0/README.md ADDED
@@ -0,0 +1,90 @@
1
+ # IBEE Solutions Python SDK
2
+
3
+ Official Python SDK for the IBEE Solutions API. Manage cloud VMs, GPU VMs, object storage, and secrets programmatically.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install ibee
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```python
14
+ from ibee import Ibee
15
+
16
+ client = Ibee(token="ibee_live_xxxxxxxxxxxx")
17
+
18
+ # List cloud VMs
19
+ vms = client.cloud_vms.list_cloud_vms(workspace_id="907479")
20
+
21
+ # Create a cloud VM
22
+ vm = client.cloud_vms.create_cloud_vm(
23
+ workspace_id="907479",
24
+ idempotency_key="create-web-server-01",
25
+ name="web-server",
26
+ os_distro="ubuntu",
27
+ os_type="linux",
28
+ cpu=2,
29
+ ram_mb=4096,
30
+ )
31
+
32
+ # List GPU VMs
33
+ gpu_vms = client.gpu_vms.list_gpu_vms(workspace_id="907479")
34
+
35
+ # Manage secrets
36
+ stores = client.secret_store.list_secret_stores(workspace_id="907479")
37
+
38
+ # List object storage buckets
39
+ buckets = client.object_storage.list_buckets(workspace_id="907479")
40
+ ```
41
+
42
+ To create a VM from portal-style choices, pass the selected IDs:
43
+
44
+ ```python
45
+ vm = client.cloud_vms.create_cloud_vm(
46
+ workspace_id="907479",
47
+ idempotency_key="create-web-server-01",
48
+ name="web-server-01",
49
+ os_distro="ubuntu",
50
+ os_type="linux",
51
+ template_id="tmpl_ubuntu_2204",
52
+ plan_id="plan_standard_2c_4g",
53
+ cpu=2,
54
+ ram_mb=4096,
55
+ disk_gb=80,
56
+ ssh_key_ids=["ssh_key_123"],
57
+ tags=["prod", "web"],
58
+ )
59
+ ```
60
+
61
+ `plan_id` is the selected instance plan. `template_id` is the selected OS
62
+ template or image. `ssh_key_ids` are the SSH keys to inject at first boot.
63
+ In the current SDK, `cpu` and `ram_mb` are still required fallback fields even
64
+ when `plan_id` is provided.
65
+
66
+ ## Async usage
67
+
68
+ ```python
69
+ import asyncio
70
+ from ibee import AsyncIbee
71
+
72
+ async def main():
73
+ client = AsyncIbee(token="ibee_live_xxxxxxxxxxxx")
74
+ vms = await client.cloud_vms.list_cloud_vms(workspace_id="907479")
75
+ print(vms)
76
+
77
+ asyncio.run(main())
78
+ ```
79
+
80
+ ## Authentication
81
+
82
+ Generate a platform API token from the IBEE portal under Settings > Platform API Tokens. Use the token with the `token` parameter when creating the client.
83
+
84
+ ## Documentation
85
+
86
+ Full API reference: [https://docs.ibee.co.in/docs/api-reference](https://docs.ibee.co.in/docs/api-reference)
87
+
88
+ ## License
89
+
90
+ MIT
@@ -0,0 +1,32 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "ibee"
7
+ version = "0.1.0"
8
+ description = "Official Python SDK for the IBEE Solutions API"
9
+ readme = "README.md"
10
+ license = {text = "MIT"}
11
+ requires-python = ">=3.8"
12
+ authors = [
13
+ {name = "IBEE Solutions", email = "support@ibee.ai"},
14
+ ]
15
+ classifiers = [
16
+ "Programming Language :: Python :: 3",
17
+ "License :: OSI Approved :: MIT License",
18
+ "Operating System :: OS Independent",
19
+ ]
20
+ dependencies = [
21
+ "httpx>=0.21.2",
22
+ "pydantic>=1.9.2",
23
+ "typing_extensions>=4.0.0",
24
+ ]
25
+
26
+ [project.urls]
27
+ Homepage = "https://ibee.ai"
28
+ Documentation = "https://ibee.ai/docs/api-reference"
29
+ Repository = "https://github.com/devs-ibee/ibee-python"
30
+
31
+ [tool.setuptools.packages.find]
32
+ where = ["src"]
ibee-0.1.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,157 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ # isort: skip_file
4
+
5
+ import typing
6
+ from importlib import import_module
7
+
8
+ if typing.TYPE_CHECKING:
9
+ from .types import (
10
+ AttachNetworkRequest,
11
+ Bucket,
12
+ BucketList,
13
+ BucketSummary,
14
+ CloudVm,
15
+ CloudVmStatus,
16
+ DeleteResponse,
17
+ Error,
18
+ ErrorDetail,
19
+ GpuVm,
20
+ GpuVmStatus,
21
+ NetworkInterface,
22
+ NetworkInterfaceStatus,
23
+ OperationAccepted,
24
+ OperationStatus,
25
+ OperationStatusAction,
26
+ OperationStatusStatus,
27
+ PowerActionRequest,
28
+ Secret,
29
+ SecretList,
30
+ SecretStatus,
31
+ SecretStore,
32
+ SecretStoreList,
33
+ SecretStoreStatus,
34
+ SecretValue,
35
+ UpdateVmRequest,
36
+ VmMetrics,
37
+ )
38
+ from .errors import BadRequestError, ConflictError, ForbiddenError, NotFoundError, UnauthorizedError
39
+ from . import cloud_vms, gpu_vms, object_storage, secret_store
40
+ from ._default_clients import DefaultAioHttpClient, DefaultAsyncHttpxClient
41
+ from .client import AsyncIbee, Ibee
42
+ from .cloud_vms import CreateCloudVmRequestOsType
43
+ from .environment import IbeeEnvironment
44
+ from .gpu_vms import CreateGpuVmRequestOsType
45
+ _dynamic_imports: typing.Dict[str, str] = {
46
+ "AsyncIbee": ".client",
47
+ "AttachNetworkRequest": ".types",
48
+ "BadRequestError": ".errors",
49
+ "Bucket": ".types",
50
+ "BucketList": ".types",
51
+ "BucketSummary": ".types",
52
+ "CloudVm": ".types",
53
+ "CloudVmStatus": ".types",
54
+ "ConflictError": ".errors",
55
+ "CreateCloudVmRequestOsType": ".cloud_vms",
56
+ "CreateGpuVmRequestOsType": ".gpu_vms",
57
+ "DefaultAioHttpClient": "._default_clients",
58
+ "DefaultAsyncHttpxClient": "._default_clients",
59
+ "DeleteResponse": ".types",
60
+ "Error": ".types",
61
+ "ErrorDetail": ".types",
62
+ "ForbiddenError": ".errors",
63
+ "GpuVm": ".types",
64
+ "GpuVmStatus": ".types",
65
+ "Ibee": ".client",
66
+ "IbeeEnvironment": ".environment",
67
+ "NetworkInterface": ".types",
68
+ "NetworkInterfaceStatus": ".types",
69
+ "NotFoundError": ".errors",
70
+ "OperationAccepted": ".types",
71
+ "OperationStatus": ".types",
72
+ "OperationStatusAction": ".types",
73
+ "OperationStatusStatus": ".types",
74
+ "PowerActionRequest": ".types",
75
+ "Secret": ".types",
76
+ "SecretList": ".types",
77
+ "SecretStatus": ".types",
78
+ "SecretStore": ".types",
79
+ "SecretStoreList": ".types",
80
+ "SecretStoreStatus": ".types",
81
+ "SecretValue": ".types",
82
+ "UnauthorizedError": ".errors",
83
+ "UpdateVmRequest": ".types",
84
+ "VmMetrics": ".types",
85
+ "cloud_vms": ".cloud_vms",
86
+ "gpu_vms": ".gpu_vms",
87
+ "object_storage": ".object_storage",
88
+ "secret_store": ".secret_store",
89
+ }
90
+
91
+
92
+ def __getattr__(attr_name: str) -> typing.Any:
93
+ module_name = _dynamic_imports.get(attr_name)
94
+ if module_name is None:
95
+ raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
96
+ try:
97
+ module = import_module(module_name, __package__)
98
+ if module_name == f".{attr_name}":
99
+ return module
100
+ else:
101
+ return getattr(module, attr_name)
102
+ except ImportError as e:
103
+ raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
104
+ except AttributeError as e:
105
+ raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
106
+
107
+
108
+ def __dir__():
109
+ lazy_attrs = list(_dynamic_imports.keys())
110
+ return sorted(lazy_attrs)
111
+
112
+
113
+ __all__ = [
114
+ "AsyncIbee",
115
+ "AttachNetworkRequest",
116
+ "BadRequestError",
117
+ "Bucket",
118
+ "BucketList",
119
+ "BucketSummary",
120
+ "CloudVm",
121
+ "CloudVmStatus",
122
+ "ConflictError",
123
+ "CreateCloudVmRequestOsType",
124
+ "CreateGpuVmRequestOsType",
125
+ "DefaultAioHttpClient",
126
+ "DefaultAsyncHttpxClient",
127
+ "DeleteResponse",
128
+ "Error",
129
+ "ErrorDetail",
130
+ "ForbiddenError",
131
+ "GpuVm",
132
+ "GpuVmStatus",
133
+ "Ibee",
134
+ "IbeeEnvironment",
135
+ "NetworkInterface",
136
+ "NetworkInterfaceStatus",
137
+ "NotFoundError",
138
+ "OperationAccepted",
139
+ "OperationStatus",
140
+ "OperationStatusAction",
141
+ "OperationStatusStatus",
142
+ "PowerActionRequest",
143
+ "Secret",
144
+ "SecretList",
145
+ "SecretStatus",
146
+ "SecretStore",
147
+ "SecretStoreList",
148
+ "SecretStoreStatus",
149
+ "SecretValue",
150
+ "UnauthorizedError",
151
+ "UpdateVmRequest",
152
+ "VmMetrics",
153
+ "cloud_vms",
154
+ "gpu_vms",
155
+ "object_storage",
156
+ "secret_store",
157
+ ]
@@ -0,0 +1,32 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import httpx
6
+
7
+ SDK_DEFAULT_TIMEOUT = 60
8
+
9
+ try:
10
+ import httpx_aiohttp # type: ignore[import-not-found]
11
+ except ImportError:
12
+
13
+ class DefaultAioHttpClient(httpx.AsyncClient): # type: ignore
14
+ def __init__(self, **kwargs: typing.Any) -> None:
15
+ raise RuntimeError(
16
+ "To use the aiohttp client, install the aiohttp extra: pip install ibee[aiohttp]"
17
+ )
18
+
19
+ else:
20
+
21
+ class DefaultAioHttpClient(httpx_aiohttp.HttpxAiohttpClient): # type: ignore
22
+ def __init__(self, **kwargs: typing.Any) -> None:
23
+ kwargs.setdefault("timeout", SDK_DEFAULT_TIMEOUT)
24
+ kwargs.setdefault("follow_redirects", True)
25
+ super().__init__(**kwargs)
26
+
27
+
28
+ class DefaultAsyncHttpxClient(httpx.AsyncClient):
29
+ def __init__(self, **kwargs: typing.Any) -> None:
30
+ kwargs.setdefault("timeout", SDK_DEFAULT_TIMEOUT)
31
+ kwargs.setdefault("follow_redirects", True)
32
+ super().__init__(**kwargs)