Skip to content

Commit 409c348

Browse files
🌿 Fern Regeneration -- September 25, 2025 (#154)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
1 parent 0748da3 commit 409c348

33 files changed

+1639
-449
lines changed

README.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# Anduril Lattice SDK Library
1+
# Lattice SDK Python Library
22

33
![](https://www.anduril.com/lattice-sdk/)
44

5+
[![fern shield](https://img.shields.io/badge/%F0%9F%8C%BF-Built%20with%20Fern-brightgreen)](https://buildwithfern.com?utm_source=github&utm_medium=github&utm_campaign=readme&utm_source=https%3A%2F%2Fgithub.com%2Fanduril%2Flattice-sdk-python)
56
[![pypi](https://img.shields.io/pypi/v/anduril-lattice-sdk)](https://pypi.python.org/pypi/anduril-lattice-sdk)
67

7-
The Lattice SDK Python library provides convenient access to the Anduril Lattice SDK from Python.
8+
The Lattice SDK Python library provides convenient access to the Lattice SDK APIs from Python.
89

910
## Documentation
1011

@@ -47,7 +48,7 @@ client.entities.long_poll_entity_events(
4748

4849
## Async Client
4950

50-
The SDK also exports an `async` client so that you can make non-blocking calls to our API.
51+
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).
5152

5253
```python
5354
import asyncio
@@ -103,12 +104,21 @@ for chunk in response.data:
103104
Paginated requests will return a `SyncPager` or `AsyncPager`, which can be used as generators for the underlying object.
104105

105106
```python
107+
import datetime
108+
106109
from anduril import Lattice
107110

108111
client = Lattice(
109112
token="YOUR_TOKEN",
110113
)
111-
response = client.objects.list_objects()
114+
response = client.objects.list_objects(
115+
prefix="prefix",
116+
since_timestamp=datetime.datetime.fromisoformat(
117+
"2024-01-15 09:30:00+00:00",
118+
),
119+
page_token="pageToken",
120+
all_objects_in_mesh=True,
121+
)
112122
for item in response:
113123
yield item
114124
# alternatively, you can paginate page-by-page
@@ -198,8 +208,9 @@ from anduril import Lattice
198208
client = Lattice(
199209
...,
200210
httpx_client=httpx.Client(
201-
proxies="http://my.test.proxy.example.com",
211+
proxy="http://my.test.proxy.example.com",
202212
transport=httpx.HTTPTransport(local_address="0.0.0.0"),
203213
),
204214
)
205215
```
216+

pyproject.toml

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

44
[tool.poetry]
55
name = "anduril-lattice-sdk"
6-
version = "2.2.0"
6+
version = "2.3.0"
77
description = "HTTP clients for the Anduril Lattice SDK"
88
readme = "README.md"
99
authors = [

reference.md

Lines changed: 104 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,14 @@ Describes an entity's security classification levels at an overall classificatio
384384
<dl>
385385
<dd>
386386

387+
**symbology:** `typing.Optional[Symbology]` — Symbology/iconography for the entity respecting an existing standard.
388+
389+
</dd>
390+
</dl>
391+
392+
<dl>
393+
<dd>
394+
387395
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
388396

389397
</dd>
@@ -1295,12 +1303,21 @@ Lists objects in your environment. You can define a prefix to list a subset of y
12951303
<dd>
12961304

12971305
```python
1306+
import datetime
1307+
12981308
from anduril import Lattice
12991309

13001310
client = Lattice(
13011311
token="YOUR_TOKEN",
13021312
)
1303-
response = client.objects.list_objects()
1313+
response = client.objects.list_objects(
1314+
prefix="prefix",
1315+
since_timestamp=datetime.datetime.fromisoformat(
1316+
"2024-01-15 09:30:00+00:00",
1317+
),
1318+
page_token="pageToken",
1319+
all_objects_in_mesh=True,
1320+
)
13041321
for item in response:
13051322
yield item
13061323
# alternatively, you can paginate page-by-page
@@ -1361,6 +1378,92 @@ for page in response.iter_pages():
13611378
</dl>
13621379

13631380

1381+
</dd>
1382+
</dl>
1383+
</details>
1384+
1385+
<details><summary><code>client.objects.<a href="src/anduril/objects/client.py">get_object</a>(...)</code></summary>
1386+
<dl>
1387+
<dd>
1388+
1389+
#### 📝 Description
1390+
1391+
<dl>
1392+
<dd>
1393+
1394+
<dl>
1395+
<dd>
1396+
1397+
Fetches an object from your environment using the objectPath path parameter.
1398+
</dd>
1399+
</dl>
1400+
</dd>
1401+
</dl>
1402+
1403+
#### 🔌 Usage
1404+
1405+
<dl>
1406+
<dd>
1407+
1408+
<dl>
1409+
<dd>
1410+
1411+
```python
1412+
from anduril import Lattice
1413+
1414+
client = Lattice(
1415+
token="YOUR_TOKEN",
1416+
)
1417+
client.objects.get_object(
1418+
object_path="objectPath",
1419+
)
1420+
1421+
```
1422+
</dd>
1423+
</dl>
1424+
</dd>
1425+
</dl>
1426+
1427+
#### ⚙️ Parameters
1428+
1429+
<dl>
1430+
<dd>
1431+
1432+
<dl>
1433+
<dd>
1434+
1435+
**object_path:** `str` — The path of the object to fetch.
1436+
1437+
</dd>
1438+
</dl>
1439+
1440+
<dl>
1441+
<dd>
1442+
1443+
**accept_encoding:** `typing.Optional[GetObjectRequestAcceptEncoding]` — If set, Lattice will compress the response using the specified compression method. If the header is not defined, or the compression method is set to `identity`, no compression will be applied to the response.
1444+
1445+
</dd>
1446+
</dl>
1447+
1448+
<dl>
1449+
<dd>
1450+
1451+
**priority:** `typing.Optional[str]` — Indicates a client's preference for the priority of the response. The value is a structured header as defined in RFC 9218. If you do not set the header, Lattice uses the default priority set for the environment. Incremental delivery directives are not supported and will be ignored.
1452+
1453+
</dd>
1454+
</dl>
1455+
1456+
<dl>
1457+
<dd>
1458+
1459+
**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.
1460+
1461+
</dd>
1462+
</dl>
1463+
</dd>
1464+
</dl>
1465+
1466+
13641467
</dd>
13651468
</dl>
13661469
</details>

0 commit comments

Comments
 (0)