Skip to content

Commit 57121f9

Browse files
committed
Release 0.0.60
1 parent 5518cf5 commit 57121f9

40 files changed

+2264
-498
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ client.inboxes.create()
3030

3131
## Async Client
3232

33-
The SDK also exports an `async` client so that you can make non-blocking calls to our API.
33+
The SDK also exports an `async` client so that you can make non-blocking calls to our API. Note that if you are constructing an Async httpx client class to pass into this client, use `httpx.AsyncClient()` instead of `httpx.Client()` (e.g. for the `httpx_client` parameter of this client).
3434

3535
```python
3636
import asyncio
@@ -134,7 +134,7 @@ from agentmail import AgentMail
134134
client = AgentMail(
135135
...,
136136
httpx_client=httpx.Client(
137-
proxies="http://my.test.proxy.example.com",
137+
proxy="http://my.test.proxy.example.com",
138138
transport=httpx.HTTPTransport(local_address="0.0.0.0"),
139139
),
140140
)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "agentmail"
33

44
[tool.poetry]
55
name = "agentmail"
6-
version = "0.0.59"
6+
version = "0.0.60"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 278 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,6 +1516,145 @@ client.inboxes.messages.get(
15161516
</dl>
15171517

15181518

1519+
</dd>
1520+
</dl>
1521+
</details>
1522+
1523+
<details><summary><code>client.inboxes.messages.<a href="src/agentmail/inboxes/messages/client.py">get_attachment</a>(...)</code></summary>
1524+
<dl>
1525+
<dd>
1526+
1527+
#### 🔌 Usage
1528+
1529+
<dl>
1530+
<dd>
1531+
1532+
<dl>
1533+
<dd>
1534+
1535+
```python
1536+
from agentmail import AgentMail
1537+
1538+
client = AgentMail(
1539+
api_key="YOUR_API_KEY",
1540+
)
1541+
client.inboxes.messages.get_attachment(
1542+
inbox_id="inbox_id",
1543+
message_id="message_id",
1544+
attachment_id="attachment_id",
1545+
)
1546+
1547+
```
1548+
</dd>
1549+
</dl>
1550+
</dd>
1551+
</dl>
1552+
1553+
#### ⚙️ Parameters
1554+
1555+
<dl>
1556+
<dd>
1557+
1558+
<dl>
1559+
<dd>
1560+
1561+
**inbox_id:** `InboxId`
1562+
1563+
</dd>
1564+
</dl>
1565+
1566+
<dl>
1567+
<dd>
1568+
1569+
**message_id:** `MessageId`
1570+
1571+
</dd>
1572+
</dl>
1573+
1574+
<dl>
1575+
<dd>
1576+
1577+
**attachment_id:** `AttachmentId`
1578+
1579+
</dd>
1580+
</dl>
1581+
1582+
<dl>
1583+
<dd>
1584+
1585+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
1586+
1587+
</dd>
1588+
</dl>
1589+
</dd>
1590+
</dl>
1591+
1592+
1593+
</dd>
1594+
</dl>
1595+
</details>
1596+
1597+
<details><summary><code>client.inboxes.messages.<a href="src/agentmail/inboxes/messages/client.py">get_raw</a>(...)</code></summary>
1598+
<dl>
1599+
<dd>
1600+
1601+
#### 🔌 Usage
1602+
1603+
<dl>
1604+
<dd>
1605+
1606+
<dl>
1607+
<dd>
1608+
1609+
```python
1610+
from agentmail import AgentMail
1611+
1612+
client = AgentMail(
1613+
api_key="YOUR_API_KEY",
1614+
)
1615+
client.inboxes.messages.get_raw(
1616+
inbox_id="inbox_id",
1617+
message_id="message_id",
1618+
)
1619+
1620+
```
1621+
</dd>
1622+
</dl>
1623+
</dd>
1624+
</dl>
1625+
1626+
#### ⚙️ Parameters
1627+
1628+
<dl>
1629+
<dd>
1630+
1631+
<dl>
1632+
<dd>
1633+
1634+
**inbox_id:** `InboxId`
1635+
1636+
</dd>
1637+
</dl>
1638+
1639+
<dl>
1640+
<dd>
1641+
1642+
**message_id:** `MessageId`
1643+
1644+
</dd>
1645+
</dl>
1646+
1647+
<dl>
1648+
<dd>
1649+
1650+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
1651+
1652+
</dd>
1653+
</dl>
1654+
</dd>
1655+
</dl>
1656+
1657+
15191658
</dd>
15201659
</dl>
15211660
</details>
@@ -2113,6 +2252,80 @@ client.inboxes.threads.get(
21132252
</dl>
21142253

21152254

2255+
</dd>
2256+
</dl>
2257+
</details>
2258+
2259+
<details><summary><code>client.inboxes.threads.<a href="src/agentmail/inboxes/threads/client.py">get_attachment</a>(...)</code></summary>
2260+
<dl>
2261+
<dd>
2262+
2263+
#### 🔌 Usage
2264+
2265+
<dl>
2266+
<dd>
2267+
2268+
<dl>
2269+
<dd>
2270+
2271+
```python
2272+
from agentmail import AgentMail
2273+
2274+
client = AgentMail(
2275+
api_key="YOUR_API_KEY",
2276+
)
2277+
client.inboxes.threads.get_attachment(
2278+
inbox_id="inbox_id",
2279+
thread_id="thread_id",
2280+
attachment_id="attachment_id",
2281+
)
2282+
2283+
```
2284+
</dd>
2285+
</dl>
2286+
</dd>
2287+
</dl>
2288+
2289+
#### ⚙️ Parameters
2290+
2291+
<dl>
2292+
<dd>
2293+
2294+
<dl>
2295+
<dd>
2296+
2297+
**inbox_id:** `InboxId`
2298+
2299+
</dd>
2300+
</dl>
2301+
2302+
<dl>
2303+
<dd>
2304+
2305+
**thread_id:** `ThreadId`
2306+
2307+
</dd>
2308+
</dl>
2309+
2310+
<dl>
2311+
<dd>
2312+
2313+
**attachment_id:** `AttachmentId`
2314+
2315+
</dd>
2316+
</dl>
2317+
2318+
<dl>
2319+
<dd>
2320+
2321+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
2322+
2323+
</dd>
2324+
</dl>
2325+
</dd>
2326+
</dl>
2327+
2328+
21162329
</dd>
21172330
</dl>
21182331
</details>
@@ -2409,6 +2622,71 @@ client.threads.get(
24092622
</dl>
24102623

24112624

2625+
</dd>
2626+
</dl>
2627+
</details>
2628+
2629+
<details><summary><code>client.threads.<a href="src/agentmail/threads/client.py">get_attachment</a>(...)</code></summary>
2630+
<dl>
2631+
<dd>
2632+
2633+
#### 🔌 Usage
2634+
2635+
<dl>
2636+
<dd>
2637+
2638+
<dl>
2639+
<dd>
2640+
2641+
```python
2642+
from agentmail import AgentMail
2643+
2644+
client = AgentMail(
2645+
api_key="YOUR_API_KEY",
2646+
)
2647+
client.threads.get_attachment(
2648+
thread_id="thread_id",
2649+
attachment_id="attachment_id",
2650+
)
2651+
2652+
```
2653+
</dd>
2654+
</dl>
2655+
</dd>
2656+
</dl>
2657+
2658+
#### ⚙️ Parameters
2659+
2660+
<dl>
2661+
<dd>
2662+
2663+
<dl>
2664+
<dd>
2665+
2666+
**thread_id:** `ThreadId`
2667+
2668+
</dd>
2669+
</dl>
2670+
2671+
<dl>
2672+
<dd>
2673+
2674+
**attachment_id:** `AttachmentId`
2675+
2676+
</dd>
2677+
</dl>
2678+
2679+
<dl>
2680+
<dd>
2681+
2682+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration. You can pass in configuration such as `chunk_size`, and more to customize the request and response.
2683+
2684+
</dd>
2685+
</dl>
2686+
</dd>
2687+
</dl>
2688+
2689+
24122690
</dd>
24132691
</dl>
24142692
</details>

0 commit comments

Comments
 (0)