Skip to content

Commit d959d77

Browse files
SDK regeneration
1 parent cfcee68 commit d959d77

File tree

3 files changed

+14
-13
lines changed

3 files changed

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

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/3.0.0",
25+
"User-Agent": "anduril-lattice-sdk/3.1.0",
2626
"X-Fern-Language": "Python",
2727
"X-Fern-SDK-Name": "anduril-lattice-sdk",
28-
"X-Fern-SDK-Version": "3.0.0",
28+
"X-Fern-SDK-Version": "3.1.0",
2929
**(self.get_custom_headers() or {}),
3030
}
3131
token = self._get_token()

src/anduril/types/status.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,28 @@
33
import typing
44

55
import pydantic
6-
import typing_extensions
76
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8-
from ..core.serialization import FieldMetadata
7+
from .google_protobuf_any import GoogleProtobufAny
98

109

1110
class Status(UniversalBaseModel):
1211
"""
13-
Contains status of entities.
12+
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
1413
"""
1514

16-
platform_activity: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="platformActivity")] = (
17-
pydantic.Field(default=None)
18-
)
15+
code: typing.Optional[int] = pydantic.Field(default=None)
1916
"""
20-
A string that describes the activity that the entity is performing.
21-
Examples include "RECONNAISSANCE", "INTERDICTION", "RETURN TO BASE (RTB)", "PREPARING FOR LAUNCH".
17+
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
2218
"""
2319

24-
role: typing.Optional[str] = pydantic.Field(default=None)
20+
message: typing.Optional[str] = pydantic.Field(default=None)
2521
"""
26-
A human-readable string that describes the role the entity is currently performing. E.g. "Team Member", "Commander".
22+
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
23+
"""
24+
25+
details: typing.Optional[typing.List[GoogleProtobufAny]] = pydantic.Field(default=None)
26+
"""
27+
A list of messages that carry the error details. There is a common set of message types for APIs to use.
2728
"""
2829

2930
if IS_PYDANTIC_V2:

0 commit comments

Comments
 (0)