Skip to content

Resources

Represents the compute resources allocated to a job container.

Attributes:

  • memory (str) –

    Memory limit as a string (e.g. "256m", "1g").

  • cpu (float) –

    Number of CPU cores to allocate (e.g. 1, 0.5).