2.0.0b35

PathRewrite

Package: flyte.models

Configuration for rewriting paths during input loading.

class PathRewrite(
    old_prefix: str,
    new_prefix: str,
)
Parameter Type Description
old_prefix str
new_prefix str

Methods

Method Description
from_str() Create a PathRewrite from a string pattern of the form old_prefix->new_prefix.

from_str()

def from_str(
    pattern: str,
) -> PathRewrite

Create a PathRewrite from a string pattern of the form old_prefix->new_prefix.

Parameter Type Description
pattern str