Source code for gempy.core.data.gempy_engine_config

from dataclasses import dataclass
from typing import Optional

from gempy_engine import config
from gempy_engine.config import AvailableBackends


[docs] @dataclass class GemPyEngineConfig: backend: AvailableBackends = config.DEFAULT_BACKEND # ? This can be grabbed from gempy.config file? use_gpu: bool = False dtype: Optional[str] = None #: The data type used in the engine. If None, the default data type of the backend is used.