ShapeConfig

class oci.data_flow.models.ShapeConfig(**kwargs)

Bases: object

This is used to configure the shape of the driver or executor if a flexible shape is used.

Methods:

__init__(**kwargs)

Initializes a new ShapeConfig object with values from keyword arguments.

Attributes:

memory_in_gbs

Gets the memory_in_gbs of this ShapeConfig.

ocpus

Gets the ocpus of this ShapeConfig.

__init__(**kwargs)

Initializes a new ShapeConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • ocpus (float) – The value to assign to the ocpus property of this ShapeConfig.

  • memory_in_gbs (float) – The value to assign to the memory_in_gbs property of this ShapeConfig.

property memory_in_gbs

Gets the memory_in_gbs of this ShapeConfig. The amount of memory used for the driver or executors.

Returns

The memory_in_gbs of this ShapeConfig.

Return type

float

property ocpus

Gets the ocpus of this ShapeConfig. The total number of OCPUs used for the driver or executors. See here for details.

Returns

The ocpus of this ShapeConfig.

Return type

float