Skip to content

RuntimeResourceLimits

Maximum runtime memory allocation.

Shared

class RuntimeResourceLimits:
RuntimeResourceLimits(memory_mib: int)
NameType or valueDescription
memory_mibintMaximum runtime memory in MiB.

Serialize these runtime resource limits for an API request.

def to_json() -> dict[str, Any]
  • dict[str, Any]

Create runtime resource limits from an API response payload.

def from_json(data: dict[str, Any]) -> 'RuntimeResourceLimits'
NameTypeDefaultDescription
datadict[str, Any]API response payload.
  • 'RuntimeResourceLimits'