Skip to content

Commit 0748da3

Browse files
🌿 Fern Regeneration -- August 18, 2025 (#108)
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: dogun-anduril <[email protected]>
1 parent 3e4d1e3 commit 0748da3

File tree

6 files changed

+58
-3
lines changed

6 files changed

+58
-3
lines changed

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.1.0"
6+
version = "2.2.0"
77
description = "HTTP clients for the Anduril Lattice SDK"
88
readme = "README.md"
99
authors = [

reference.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,19 @@ Future time that expires an entity and updates the is_live flag.
116116
<dl>
117117
<dd>
118118

119+
**no_expiry:** `typing.Optional[bool]`
120+
121+
Use noExpiry only when the entity contains information that should be available to other
122+
tasks or integrations beyond its immediate operational context. For example, use noExpiry
123+
for long-living geographical entities that maintain persistent relevance across multiple
124+
operations or tasks.
125+
126+
</dd>
127+
</dl>
128+
129+
<dl>
130+
<dd>
131+
119132
**status:** `typing.Optional[Status]` — Human-readable descriptions of what the entity is currently doing.
120133

121134
</dd>

src/anduril/core/client_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ def __init__(
2222

2323
def get_headers(self) -> typing.Dict[str, str]:
2424
headers: typing.Dict[str, str] = {
25-
"User-Agent": "anduril-lattice-sdk/2.1.0",
25+
"User-Agent": "anduril-lattice-sdk/2.2.0",
2626
"X-Fern-Language": "Python",
2727
"X-Fern-SDK-Name": "anduril-lattice-sdk",
28-
"X-Fern-SDK-Version": "2.1.0",
28+
"X-Fern-SDK-Version": "2.2.0",
2929
**(self.get_custom_headers() or {}),
3030
}
3131
token = self._get_token()

src/anduril/entities/client.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def publish_entity(
6868
is_live: typing.Optional[bool] = OMIT,
6969
created_time: typing.Optional[dt.datetime] = OMIT,
7070
expiry_time: typing.Optional[dt.datetime] = OMIT,
71+
no_expiry: typing.Optional[bool] = OMIT,
7172
status: typing.Optional[Status] = OMIT,
7273
location: typing.Optional[Location] = OMIT,
7374
location_uncertainty: typing.Optional[LocationUncertainty] = OMIT,
@@ -139,6 +140,12 @@ def publish_entity(
139140
This field is required when publishing a prepopulated entity.
140141
The expiry time must be in the future, but less than 30 days from the current time.
141142
143+
no_expiry : typing.Optional[bool]
144+
Use noExpiry only when the entity contains information that should be available to other
145+
tasks or integrations beyond its immediate operational context. For example, use noExpiry
146+
for long-living geographical entities that maintain persistent relevance across multiple
147+
operations or tasks.
148+
142149
status : typing.Optional[Status]
143150
Human-readable descriptions of what the entity is currently doing.
144151
@@ -258,6 +265,7 @@ def publish_entity(
258265
is_live=is_live,
259266
created_time=created_time,
260267
expiry_time=expiry_time,
268+
no_expiry=no_expiry,
261269
status=status,
262270
location=location,
263271
location_uncertainty=location_uncertainty,
@@ -540,6 +548,7 @@ async def publish_entity(
540548
is_live: typing.Optional[bool] = OMIT,
541549
created_time: typing.Optional[dt.datetime] = OMIT,
542550
expiry_time: typing.Optional[dt.datetime] = OMIT,
551+
no_expiry: typing.Optional[bool] = OMIT,
543552
status: typing.Optional[Status] = OMIT,
544553
location: typing.Optional[Location] = OMIT,
545554
location_uncertainty: typing.Optional[LocationUncertainty] = OMIT,
@@ -611,6 +620,12 @@ async def publish_entity(
611620
This field is required when publishing a prepopulated entity.
612621
The expiry time must be in the future, but less than 30 days from the current time.
613622
623+
no_expiry : typing.Optional[bool]
624+
Use noExpiry only when the entity contains information that should be available to other
625+
tasks or integrations beyond its immediate operational context. For example, use noExpiry
626+
for long-living geographical entities that maintain persistent relevance across multiple
627+
operations or tasks.
628+
614629
status : typing.Optional[Status]
615630
Human-readable descriptions of what the entity is currently doing.
616631
@@ -738,6 +753,7 @@ async def main() -> None:
738753
is_live=is_live,
739754
created_time=created_time,
740755
expiry_time=expiry_time,
756+
no_expiry=no_expiry,
741757
status=status,
742758
location=location,
743759
location_uncertainty=location_uncertainty,

src/anduril/entities/raw_client.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def publish_entity(
7070
is_live: typing.Optional[bool] = OMIT,
7171
created_time: typing.Optional[dt.datetime] = OMIT,
7272
expiry_time: typing.Optional[dt.datetime] = OMIT,
73+
no_expiry: typing.Optional[bool] = OMIT,
7374
status: typing.Optional[Status] = OMIT,
7475
location: typing.Optional[Location] = OMIT,
7576
location_uncertainty: typing.Optional[LocationUncertainty] = OMIT,
@@ -141,6 +142,12 @@ def publish_entity(
141142
This field is required when publishing a prepopulated entity.
142143
The expiry time must be in the future, but less than 30 days from the current time.
143144
145+
no_expiry : typing.Optional[bool]
146+
Use noExpiry only when the entity contains information that should be available to other
147+
tasks or integrations beyond its immediate operational context. For example, use noExpiry
148+
for long-living geographical entities that maintain persistent relevance across multiple
149+
operations or tasks.
150+
144151
status : typing.Optional[Status]
145152
Human-readable descriptions of what the entity is currently doing.
146153
@@ -254,6 +261,7 @@ def publish_entity(
254261
"isLive": is_live,
255262
"createdTime": created_time,
256263
"expiryTime": expiry_time,
264+
"noExpiry": no_expiry,
257265
"status": convert_and_respect_annotation_metadata(object_=status, annotation=Status, direction="write"),
258266
"location": convert_and_respect_annotation_metadata(
259267
object_=location, annotation=Location, direction="write"
@@ -860,6 +868,7 @@ async def publish_entity(
860868
is_live: typing.Optional[bool] = OMIT,
861869
created_time: typing.Optional[dt.datetime] = OMIT,
862870
expiry_time: typing.Optional[dt.datetime] = OMIT,
871+
no_expiry: typing.Optional[bool] = OMIT,
863872
status: typing.Optional[Status] = OMIT,
864873
location: typing.Optional[Location] = OMIT,
865874
location_uncertainty: typing.Optional[LocationUncertainty] = OMIT,
@@ -931,6 +940,12 @@ async def publish_entity(
931940
This field is required when publishing a prepopulated entity.
932941
The expiry time must be in the future, but less than 30 days from the current time.
933942
943+
no_expiry : typing.Optional[bool]
944+
Use noExpiry only when the entity contains information that should be available to other
945+
tasks or integrations beyond its immediate operational context. For example, use noExpiry
946+
for long-living geographical entities that maintain persistent relevance across multiple
947+
operations or tasks.
948+
934949
status : typing.Optional[Status]
935950
Human-readable descriptions of what the entity is currently doing.
936951
@@ -1044,6 +1059,7 @@ async def publish_entity(
10441059
"isLive": is_live,
10451060
"createdTime": created_time,
10461061
"expiryTime": expiry_time,
1062+
"noExpiry": no_expiry,
10471063
"status": convert_and_respect_annotation_metadata(object_=status, annotation=Status, direction="write"),
10481064
"location": convert_and_respect_annotation_metadata(
10491065
object_=location, annotation=Location, direction="write"

src/anduril/types/entity.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,16 @@ class Entity(UniversalBaseModel):
9292
The expiry time must be in the future, but less than 30 days from the current time.
9393
"""
9494

95+
no_expiry: typing_extensions.Annotated[typing.Optional[bool], FieldMetadata(alias="noExpiry")] = pydantic.Field(
96+
default=None
97+
)
98+
"""
99+
Use noExpiry only when the entity contains information that should be available to other
100+
tasks or integrations beyond its immediate operational context. For example, use noExpiry
101+
for long-living geographical entities that maintain persistent relevance across multiple
102+
operations or tasks.
103+
"""
104+
95105
status: typing.Optional[Status] = pydantic.Field(default=None)
96106
"""
97107
Human-readable descriptions of what the entity is currently doing.

0 commit comments

Comments
 (0)