SandboxExpirationPolicyUnknown

class baseten.sandbox.SandboxExpirationPolicyUnknown(*, type, raw)

Bases: object

An expiration policy of a kind this SDK does not know.

Kept as the server sent it, and sent back unchanged when given in a lifecycle, so updating a sandbox does not lose it.

Parameters:
raw: dict[str, Any]

The policy exactly as the server sent it.

type: str | None

The policy’s type, when the server sent one as a string.