Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Anduril Lattice SDK Library
# Lattice SDK Python Library

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

[![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)
[![pypi](https://img.shields.io/pypi/v/anduril-lattice-sdk)](https://pypi.python.org/pypi/anduril-lattice-sdk)

The Lattice SDK Python library provides convenient access to the Anduril Lattice SDK from Python.
The Lattice SDK Python library provides convenient access to the Lattice SDK APIs from Python.

## Documentation

Expand Down Expand Up @@ -198,8 +199,9 @@ from anduril import Lattice
client = Lattice(
...,
httpx_client=httpx.Client(
proxies="http://my.test.proxy.example.com",
proxy="http://my.test.proxy.example.com",
transport=httpx.HTTPTransport(local_address="0.0.0.0"),
),
)
```

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "anduril-lattice-sdk"

[tool.poetry]
name = "anduril-lattice-sdk"
version = "2.2.0"
version = "2.3.0"
description = "HTTP clients for the Anduril Lattice SDK"
readme = "README.md"
authors = [
Expand Down
86 changes: 86 additions & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1361,6 +1361,92 @@ for page in response.iter_pages():
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.objects.<a href="src/anduril/objects/client.py">get_object</a>(...)</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Fetches an object from your environment using the objectPath path parameter.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from anduril import Lattice

client = Lattice(
token="YOUR_TOKEN",
)
client.objects.get_object(
object_path="objectPath",
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**object_path:** `str` — The path of the object to fetch.

</dd>
</dl>

<dl>
<dd>

**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.

</dd>
</dl>

<dl>
<dd>

**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.

</dd>
</dl>

<dl>
<dd>

**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.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down
Loading