aiinbx 0.118.0__tar.gz → 0.138.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 (102) hide show
  1. aiinbx-0.138.0/.release-please-manifest.json +3 -0
  2. {aiinbx-0.118.0 → aiinbx-0.138.0}/CHANGELOG.md +173 -0
  3. {aiinbx-0.118.0 → aiinbx-0.138.0}/PKG-INFO +1 -1
  4. {aiinbx-0.118.0 → aiinbx-0.138.0}/pyproject.toml +2 -2
  5. {aiinbx-0.118.0 → aiinbx-0.138.0}/requirements-dev.lock +3 -1
  6. {aiinbx-0.118.0 → aiinbx-0.138.0}/requirements.lock +4 -4
  7. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_streaming.py +12 -10
  8. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_version.py +1 -1
  9. aiinbx-0.118.0/.release-please-manifest.json +0 -3
  10. {aiinbx-0.118.0 → aiinbx-0.138.0}/.gitignore +0 -0
  11. {aiinbx-0.118.0 → aiinbx-0.138.0}/CONTRIBUTING.md +0 -0
  12. {aiinbx-0.118.0 → aiinbx-0.138.0}/LICENSE +0 -0
  13. {aiinbx-0.118.0 → aiinbx-0.138.0}/README.md +0 -0
  14. {aiinbx-0.118.0 → aiinbx-0.138.0}/SECURITY.md +0 -0
  15. {aiinbx-0.118.0 → aiinbx-0.138.0}/api.md +0 -0
  16. {aiinbx-0.118.0 → aiinbx-0.138.0}/bin/check-release-environment +0 -0
  17. {aiinbx-0.118.0 → aiinbx-0.138.0}/bin/publish-pypi +0 -0
  18. {aiinbx-0.118.0 → aiinbx-0.138.0}/examples/.keep +0 -0
  19. {aiinbx-0.118.0 → aiinbx-0.138.0}/noxfile.py +0 -0
  20. {aiinbx-0.118.0 → aiinbx-0.138.0}/release-please-config.json +0 -0
  21. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/ai_inbx/lib/.keep +0 -0
  22. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/__init__.py +0 -0
  23. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_base_client.py +0 -0
  24. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_client.py +0 -0
  25. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_compat.py +0 -0
  26. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_constants.py +0 -0
  27. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_exceptions.py +0 -0
  28. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_files.py +0 -0
  29. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_models.py +0 -0
  30. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_qs.py +0 -0
  31. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_resource.py +0 -0
  32. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_response.py +0 -0
  33. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_types.py +0 -0
  34. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_utils/__init__.py +0 -0
  35. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_utils/_compat.py +0 -0
  36. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_utils/_datetime_parse.py +0 -0
  37. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_utils/_logs.py +0 -0
  38. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_utils/_proxy.py +0 -0
  39. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_utils/_reflection.py +0 -0
  40. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_utils/_resources_proxy.py +0 -0
  41. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_utils/_streams.py +0 -0
  42. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_utils/_sync.py +0 -0
  43. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_utils/_transform.py +0 -0
  44. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_utils/_typing.py +0 -0
  45. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/_utils/_utils.py +0 -0
  46. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/lib/.keep +0 -0
  47. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/py.typed +0 -0
  48. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/resources/__init__.py +0 -0
  49. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/resources/domains.py +0 -0
  50. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/resources/emails.py +0 -0
  51. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/resources/meta.py +0 -0
  52. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/resources/threads.py +0 -0
  53. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/resources/webhooks.py +0 -0
  54. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/__init__.py +0 -0
  55. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/domain_create_params.py +0 -0
  56. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/domain_create_response.py +0 -0
  57. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/domain_delete_response.py +0 -0
  58. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/domain_list_response.py +0 -0
  59. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/domain_retrieve_response.py +0 -0
  60. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/domain_verify_response.py +0 -0
  61. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/email_reply_params.py +0 -0
  62. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/email_reply_response.py +0 -0
  63. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/email_retrieve_response.py +0 -0
  64. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/email_send_params.py +0 -0
  65. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/email_send_response.py +0 -0
  66. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/inbound_email_received_webhook_event.py +0 -0
  67. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/meta_webhooks_schema_response.py +0 -0
  68. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/outbound_email_bounced_webhook_event.py +0 -0
  69. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/outbound_email_clicked_webhook_event.py +0 -0
  70. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/outbound_email_complained_webhook_event.py +0 -0
  71. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/outbound_email_delivered_webhook_event.py +0 -0
  72. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/outbound_email_opened_webhook_event.py +0 -0
  73. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/outbound_email_rejected_webhook_event.py +0 -0
  74. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/thread_forward_params.py +0 -0
  75. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/thread_forward_response.py +0 -0
  76. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/thread_retrieve_response.py +0 -0
  77. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/thread_search_params.py +0 -0
  78. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/thread_search_response.py +0 -0
  79. {aiinbx-0.118.0 → aiinbx-0.138.0}/src/aiinbx/types/unwrap_webhook_event.py +0 -0
  80. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/__init__.py +0 -0
  81. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/api_resources/__init__.py +0 -0
  82. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/api_resources/test_domains.py +0 -0
  83. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/api_resources/test_emails.py +0 -0
  84. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/api_resources/test_meta.py +0 -0
  85. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/api_resources/test_threads.py +0 -0
  86. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/api_resources/test_webhooks.py +0 -0
  87. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/conftest.py +0 -0
  88. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/sample_file.txt +0 -0
  89. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/test_client.py +0 -0
  90. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/test_deepcopy.py +0 -0
  91. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/test_extract_files.py +0 -0
  92. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/test_files.py +0 -0
  93. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/test_models.py +0 -0
  94. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/test_qs.py +0 -0
  95. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/test_required_args.py +0 -0
  96. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/test_response.py +0 -0
  97. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/test_streaming.py +0 -0
  98. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/test_transform.py +0 -0
  99. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/test_utils/test_datetime_parse.py +0 -0
  100. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/test_utils/test_proxy.py +0 -0
  101. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/test_utils/test_typing.py +0 -0
  102. {aiinbx-0.118.0 → aiinbx-0.138.0}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "0.138.0"
3
+ }
@@ -1,5 +1,178 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.138.0 (2025-11-28)
4
+
5
+ Full Changelog: [v0.137.0...v0.138.0](https://github.com/aiinbx/aiinbx-py/compare/v0.137.0...v0.138.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([09c3046](https://github.com/aiinbx/aiinbx-py/commit/09c304687aff9b0c077e2fc6d4adf82fb372f15c))
10
+
11
+ ## 0.137.0 (2025-11-28)
12
+
13
+ Full Changelog: [v0.136.1...v0.137.0](https://github.com/aiinbx/aiinbx-py/compare/v0.136.1...v0.137.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([9e3f137](https://github.com/aiinbx/aiinbx-py/commit/9e3f1371f8e85a0cc852ecf1f4fab5b90dc4fb86))
18
+
19
+
20
+ ### Chores
21
+
22
+ * **deps:** mypy 1.18.1 has a regression, pin to 1.17 ([58a443e](https://github.com/aiinbx/aiinbx-py/commit/58a443ebe51ac4353efdd467ca54711874274f90))
23
+
24
+ ## 0.136.1 (2025-11-28)
25
+
26
+ Full Changelog: [v0.136.0...v0.136.1](https://github.com/aiinbx/aiinbx-py/compare/v0.136.0...v0.136.1)
27
+
28
+ ### Bug Fixes
29
+
30
+ * ensure streams are always closed ([88c6253](https://github.com/aiinbx/aiinbx-py/commit/88c62534172f141a2e010f7f839d7f41c5d76421))
31
+
32
+ ## 0.136.0 (2025-11-28)
33
+
34
+ Full Changelog: [v0.135.0...v0.136.0](https://github.com/aiinbx/aiinbx-py/compare/v0.135.0...v0.136.0)
35
+
36
+ ### Features
37
+
38
+ * **api:** api update ([cc6c0e5](https://github.com/aiinbx/aiinbx-py/commit/cc6c0e5bf7fb1948cc25d5b005ad7ace696a3d6a))
39
+
40
+ ## 0.135.0 (2025-11-28)
41
+
42
+ Full Changelog: [v0.134.0...v0.135.0](https://github.com/aiinbx/aiinbx-py/compare/v0.134.0...v0.135.0)
43
+
44
+ ### Features
45
+
46
+ * **api:** api update ([c1c9d42](https://github.com/aiinbx/aiinbx-py/commit/c1c9d42e0a6cdc01f07887ad4421cda7b27d5b68))
47
+
48
+ ## 0.134.0 (2025-11-28)
49
+
50
+ Full Changelog: [v0.133.0...v0.134.0](https://github.com/aiinbx/aiinbx-py/compare/v0.133.0...v0.134.0)
51
+
52
+ ### Features
53
+
54
+ * **api:** api update ([cdcc0a1](https://github.com/aiinbx/aiinbx-py/commit/cdcc0a1d1fe270f881718204e53ca2bdbc46d2af))
55
+
56
+ ## 0.133.0 (2025-11-27)
57
+
58
+ Full Changelog: [v0.132.0...v0.133.0](https://github.com/aiinbx/aiinbx-py/compare/v0.132.0...v0.133.0)
59
+
60
+ ### Features
61
+
62
+ * **api:** api update ([8757ad9](https://github.com/aiinbx/aiinbx-py/commit/8757ad9c38aa02b44eb8f2e621d46284db003d41))
63
+
64
+ ## 0.132.0 (2025-11-27)
65
+
66
+ Full Changelog: [v0.131.0...v0.132.0](https://github.com/aiinbx/aiinbx-py/compare/v0.131.0...v0.132.0)
67
+
68
+ ### Features
69
+
70
+ * **api:** api update ([846674f](https://github.com/aiinbx/aiinbx-py/commit/846674f1b868319d45604f64646c4cf33e7167c0))
71
+
72
+ ## 0.131.0 (2025-11-27)
73
+
74
+ Full Changelog: [v0.130.0...v0.131.0](https://github.com/aiinbx/aiinbx-py/compare/v0.130.0...v0.131.0)
75
+
76
+ ### Features
77
+
78
+ * **api:** api update ([321051f](https://github.com/aiinbx/aiinbx-py/commit/321051f80554aef2b8b1eafc1e02ea3b816fba65))
79
+
80
+ ## 0.130.0 (2025-11-27)
81
+
82
+ Full Changelog: [v0.129.0...v0.130.0](https://github.com/aiinbx/aiinbx-py/compare/v0.129.0...v0.130.0)
83
+
84
+ ### Features
85
+
86
+ * **api:** api update ([43181c8](https://github.com/aiinbx/aiinbx-py/commit/43181c833258ac26b24e10408daa683d8e04b890))
87
+
88
+ ## 0.129.0 (2025-11-27)
89
+
90
+ Full Changelog: [v0.128.0...v0.129.0](https://github.com/aiinbx/aiinbx-py/compare/v0.128.0...v0.129.0)
91
+
92
+ ### Features
93
+
94
+ * **api:** api update ([8f6ecda](https://github.com/aiinbx/aiinbx-py/commit/8f6ecda13bf2429a19d2a55e54e69b5bea0900d1))
95
+
96
+ ## 0.128.0 (2025-11-27)
97
+
98
+ Full Changelog: [v0.127.0...v0.128.0](https://github.com/aiinbx/aiinbx-py/compare/v0.127.0...v0.128.0)
99
+
100
+ ### Features
101
+
102
+ * **api:** api update ([a20b075](https://github.com/aiinbx/aiinbx-py/commit/a20b07507df2445d16ddfc51444e74b21f8d7de6))
103
+
104
+ ## 0.127.0 (2025-11-27)
105
+
106
+ Full Changelog: [v0.126.0...v0.127.0](https://github.com/aiinbx/aiinbx-py/compare/v0.126.0...v0.127.0)
107
+
108
+ ### Features
109
+
110
+ * **api:** api update ([0b84926](https://github.com/aiinbx/aiinbx-py/commit/0b84926b5cf96395625bdc63000f46b9e8a8350e))
111
+
112
+ ## 0.126.0 (2025-11-27)
113
+
114
+ Full Changelog: [v0.125.0...v0.126.0](https://github.com/aiinbx/aiinbx-py/compare/v0.125.0...v0.126.0)
115
+
116
+ ### Features
117
+
118
+ * **api:** api update ([81a5def](https://github.com/aiinbx/aiinbx-py/commit/81a5def407f2c6754f03f7bf0ec0a5f63b10beb9))
119
+
120
+ ## 0.125.0 (2025-11-27)
121
+
122
+ Full Changelog: [v0.124.0...v0.125.0](https://github.com/aiinbx/aiinbx-py/compare/v0.124.0...v0.125.0)
123
+
124
+ ### Features
125
+
126
+ * **api:** api update ([193fff3](https://github.com/aiinbx/aiinbx-py/commit/193fff355124c4506dc2b183406b20da726eabbd))
127
+
128
+ ## 0.124.0 (2025-11-27)
129
+
130
+ Full Changelog: [v0.123.0...v0.124.0](https://github.com/aiinbx/aiinbx-py/compare/v0.123.0...v0.124.0)
131
+
132
+ ### Features
133
+
134
+ * **api:** api update ([e7736f1](https://github.com/aiinbx/aiinbx-py/commit/e7736f160122248339a3d5dd8ff391923bbb5a19))
135
+
136
+ ## 0.123.0 (2025-11-27)
137
+
138
+ Full Changelog: [v0.122.0...v0.123.0](https://github.com/aiinbx/aiinbx-py/compare/v0.122.0...v0.123.0)
139
+
140
+ ### Features
141
+
142
+ * **api:** api update ([1fccae6](https://github.com/aiinbx/aiinbx-py/commit/1fccae6162f505a74e0a3e5c02418a8ef95cd236))
143
+
144
+ ## 0.122.0 (2025-11-26)
145
+
146
+ Full Changelog: [v0.121.0...v0.122.0](https://github.com/aiinbx/aiinbx-py/compare/v0.121.0...v0.122.0)
147
+
148
+ ### Features
149
+
150
+ * **api:** api update ([30d6f68](https://github.com/aiinbx/aiinbx-py/commit/30d6f68cb3eb6b28ee4c3e5e0f0e34e6835c2259))
151
+
152
+ ## 0.121.0 (2025-11-26)
153
+
154
+ Full Changelog: [v0.120.0...v0.121.0](https://github.com/aiinbx/aiinbx-py/compare/v0.120.0...v0.121.0)
155
+
156
+ ### Features
157
+
158
+ * **api:** api update ([e004638](https://github.com/aiinbx/aiinbx-py/commit/e004638a8e6a91fe7c65bcd2259533902cceb515))
159
+
160
+ ## 0.120.0 (2025-11-26)
161
+
162
+ Full Changelog: [v0.119.0...v0.120.0](https://github.com/aiinbx/aiinbx-py/compare/v0.119.0...v0.120.0)
163
+
164
+ ### Features
165
+
166
+ * **api:** api update ([3d1c487](https://github.com/aiinbx/aiinbx-py/commit/3d1c4875fb7ec53eedf38c4d1815a4f49567a641))
167
+
168
+ ## 0.119.0 (2025-11-26)
169
+
170
+ Full Changelog: [v0.118.0...v0.119.0](https://github.com/aiinbx/aiinbx-py/compare/v0.118.0...v0.119.0)
171
+
172
+ ### Features
173
+
174
+ * **api:** api update ([5be4d48](https://github.com/aiinbx/aiinbx-py/commit/5be4d48d60bddd84137cbbad403e679eef6eade1))
175
+
3
176
  ## 0.118.0 (2025-11-26)
4
177
 
5
178
  Full Changelog: [v0.117.0...v0.118.0](https://github.com/aiinbx/aiinbx-py/compare/v0.117.0...v0.118.0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: aiinbx
3
- Version: 0.118.0
3
+ Version: 0.138.0
4
4
  Summary: The official Python library for the AIInbx API
5
5
  Project-URL: Homepage, https://github.com/aiinbx/aiinbx-py
6
6
  Project-URL: Repository, https://github.com/aiinbx/aiinbx-py
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "aiinbx"
3
- version = "0.118.0"
3
+ version = "0.138.0"
4
4
  description = "The official Python library for the AIInbx API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -46,7 +46,7 @@ managed = true
46
46
  # version pins are in requirements-dev.lock
47
47
  dev-dependencies = [
48
48
  "pyright==1.1.399",
49
- "mypy",
49
+ "mypy==1.17",
50
50
  "respx",
51
51
  "pytest",
52
52
  "pytest-asyncio",
@@ -72,7 +72,7 @@ mdurl==0.1.2
72
72
  multidict==6.4.4
73
73
  # via aiohttp
74
74
  # via yarl
75
- mypy==1.14.1
75
+ mypy==1.17.0
76
76
  mypy-extensions==1.0.0
77
77
  # via mypy
78
78
  nodeenv==1.8.0
@@ -81,6 +81,8 @@ nox==2023.4.22
81
81
  packaging==23.2
82
82
  # via nox
83
83
  # via pytest
84
+ pathspec==0.12.1
85
+ # via mypy
84
86
  platformdirs==3.11.0
85
87
  # via virtualenv
86
88
  pluggy==1.5.0
@@ -55,21 +55,21 @@ multidict==6.4.4
55
55
  propcache==0.3.1
56
56
  # via aiohttp
57
57
  # via yarl
58
- pydantic==2.11.9
58
+ pydantic==2.12.5
59
59
  # via aiinbx
60
- pydantic-core==2.33.2
60
+ pydantic-core==2.41.5
61
61
  # via pydantic
62
62
  sniffio==1.3.0
63
63
  # via aiinbx
64
64
  # via anyio
65
- typing-extensions==4.12.2
65
+ typing-extensions==4.15.0
66
66
  # via aiinbx
67
67
  # via anyio
68
68
  # via multidict
69
69
  # via pydantic
70
70
  # via pydantic-core
71
71
  # via typing-inspection
72
- typing-inspection==0.4.1
72
+ typing-inspection==0.4.2
73
73
  # via pydantic
74
74
  yarl==1.20.0
75
75
  # via aiohttp
@@ -54,11 +54,12 @@ class Stream(Generic[_T]):
54
54
  process_data = self._client._process_response_data
55
55
  iterator = self._iter_events()
56
56
 
57
- for sse in iterator:
58
- yield process_data(data=sse.json(), cast_to=cast_to, response=response)
59
-
60
- # As we might not fully consume the response stream, we need to close it explicitly
61
- response.close()
57
+ try:
58
+ for sse in iterator:
59
+ yield process_data(data=sse.json(), cast_to=cast_to, response=response)
60
+ finally:
61
+ # Ensure the response is closed even if the consumer doesn't read all data
62
+ response.close()
62
63
 
63
64
  def __enter__(self) -> Self:
64
65
  return self
@@ -117,11 +118,12 @@ class AsyncStream(Generic[_T]):
117
118
  process_data = self._client._process_response_data
118
119
  iterator = self._iter_events()
119
120
 
120
- async for sse in iterator:
121
- yield process_data(data=sse.json(), cast_to=cast_to, response=response)
122
-
123
- # As we might not fully consume the response stream, we need to close it explicitly
124
- await response.aclose()
121
+ try:
122
+ async for sse in iterator:
123
+ yield process_data(data=sse.json(), cast_to=cast_to, response=response)
124
+ finally:
125
+ # Ensure the response is closed even if the consumer doesn't read all data
126
+ await response.aclose()
125
127
 
126
128
  async def __aenter__(self) -> Self:
127
129
  return self
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "aiinbx"
4
- __version__ = "0.118.0" # x-release-please-version
4
+ __version__ = "0.138.0" # x-release-please-version
@@ -1,3 +0,0 @@
1
- {
2
- ".": "0.118.0"
3
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes