Preview Flyte 2 for productionHosted on Union.ai
OmegaConf

OmegaConf

flytekitplugins-omegaconf

FlytekitDeveloper Toolsomegaconfconfighydra

Flytekit python natively supports serialization of many data types for exchanging information between tasks.

Install
pip install flytekitplugins-omegaconf

Quick Start(example, may need adjustment)

pip install flytekitplugins-omegaconf

from flytekit import task, workflow
from flytekitplugins.omegaconf import OmegaConfTransformerMode, DictConfigTransformer, ListConfigTransformer

config = OmegaConfTransformerMode(...)

@task
def my_task() -> None:
    ...

@workflow
def my_workflow() -> None:
    my_task()

Available Imports (3)

enumOmegaConfTransformerMode

Operation Mode indicating whether a (potentially unannotated) DictConfig object or a structured config using the underlying dataclass is returned.

extends Enum — enumeration of predefined options

from flytekitplugins.omegaconf import OmegaConfTransformerMode

transformerDictConfigTransformer

Configuration type for OmegaConf.

extends TypeTransformer — converts python types to/from flyte-native types

from flytekitplugins.omegaconf import DictConfigTransformer

transformerListConfigTransformer

Configuration type for OmegaConf.

extends TypeTransformer — converts python types to/from flyte-native types

from flytekitplugins.omegaconf import ListConfigTransformer

Dependencies

flatten-dictomegaconf

Related Plugins

Package Info

Min Flytekit1.10.0
Modules3

Downloads

Last day264
Last week1,175
Last month3,658