adf_core_python.core.agent.precompute package#

Submodules#

adf_core_python.core.agent.precompute.precompute_data module#

class adf_core_python.core.agent.precompute.precompute_data.PrecomputeData(dir_path: str)#

Bases: object

is_available() bool#

Check if the precompute data is available.

Returns:

True if the precompute data is available, False otherwise.

Return type:

bool

read_json_data(module_name: str) dict#

Read the precompute data from the file.

Returns:

The precompute data.

Return type:

dict

Raises:

Exception

remove_precompute_data() None#

Remove the precompute data file.

write_json_data(data: dict, module_name: str) None#

Write the precompute data to the file.

Parameters:

data (dict) – The data to write.

Raises:

Exception

Module contents#