SessionMemory

class graphdatascience.session.session_sizes.SessionMemory

Enumeration representing session main memory configurations.

classmethod all_values() → list[SessionMemoryValue]

All supported memory configurations.

Returns:

A list of strings representing all supported memory configurations for sessions.

Return type:

list[SessionMemoryValue]

m_128GB = SessionMemoryValue(value='128GB')
m_16GB = SessionMemoryValue(value='16GB')
m_192GB = SessionMemoryValue(value='192GB')
m_24GB = SessionMemoryValue(value='24GB')
m_256GB = SessionMemoryValue(value='256GB')
m_2GB = SessionMemoryValue(value='2GB')
m_32GB = SessionMemoryValue(value='32GB')
m_384GB = SessionMemoryValue(value='384GB')
m_48GB = SessionMemoryValue(value='48GB')
m_4GB = SessionMemoryValue(value='4GB')
m_512GB = SessionMemoryValue(value='512GB')
m_64GB = SessionMemoryValue(value='64GB')
m_8GB = SessionMemoryValue(value='8GB')
m_96GB = SessionMemoryValue(value='96GB')
static of(memory: str | SessionMemoryValue) → SessionMemory
Parameters:

memory (str | SessionMemoryValue)

Return type:

SessionMemory

class graphdatascience.session.session_sizes.SessionMemoryValue

SessionMemoryValue(value: ‘str’)

__init__(value: str) → None
Parameters:

value (str)

Return type:

None

static fromApiResponse(value: str) → SessionMemoryValue

Converts the string value from an API response to a SessionMemory enumeration value.

Parameters:

value (str) – The string value from the API response.

Returns:

The SessionMemory enumeration value.

Return type:

SessionMemoryValue