Skip to content

Module omnipy.config.engine

Overview

View Source
from dataclasses import dataclass

@dataclass

class EngineConfig:

    ...

@dataclass

class LocalRunnerConfig(EngineConfig):

    ...

@dataclass

class PrefectEngineConfig(EngineConfig):

    use_cached_results: int = False

Classes

EngineConfig

class EngineConfig(

)

EngineConfig()

View Source
@dataclass

class EngineConfig:

    ...

Methods

eq
def __eq__(
    self,
    other
)

Return self==value.

Parameters:

Name Type Description Default
other

LocalRunnerConfig

class LocalRunnerConfig(

)

LocalRunnerConfig()

View Source
@dataclass

class LocalRunnerConfig(EngineConfig):

    ...

Methods

eq
def __eq__(
    self,
    other
)

Return self==value.

Parameters:

Name Type Description Default
other

PrefectEngineConfig

class PrefectEngineConfig(
    use_cached_results: int = False
)

PrefectEngineConfig(use_cached_results: int = False)

View Source
@dataclass

class PrefectEngineConfig(EngineConfig):

    use_cached_results: int = False

Class variables

use_cached_results

Methods

eq
def __eq__(
    self,
    other
)

Return self==value.

Parameters:

Name Type Description Default
other