• GitHub

    GitHub

    9 months ago
    message has been deleted
    GitHub
    1 replies
    Copy to Clipboard
  • t

    Thomas Vetterli

    9 months ago
    hey everyone! any recommendation on how to get the docker image associated with a flyte run id / workflow version?
    t
    y
    9 replies
    Copy to Clipboard
  • j

    jeev

    9 months ago
    @Eduardo Apolinario (eapolinario) @Yee: seeing this:
    Traceback (most recent call last):
      File "/fn/bin/pyflyte", line 5, in <module>
        from flytekit.clis.sdk_in_container.pyflyte import main
      File "/fn/lib/python3.9/site-packages/flytekit/__init__.py", line 164, in <module>
        from flytekit.core.base_sql_task import SQLTask
      File "/fn/lib/python3.9/site-packages/flytekit/core/base_sql_task.py", line 4, in <module>
        from flytekit.core.base_task import PythonTask, TaskMetadata
      File "/fn/lib/python3.9/site-packages/flytekit/core/base_task.py", line 26, in <module>
        from flytekit.common.tasks.sdk_runnable import ExecutionParameters
      File "/fn/lib/python3.9/site-packages/flytekit/common/tasks/sdk_runnable.py", line 16, in <module>
        from flytekit.common import interface as _interface
      File "/fn/lib/python3.9/site-packages/flytekit/common/interface.py", line 3, in <module>
        from flytekit.common import promise as _promise
      File "/fn/lib/python3.9/site-packages/flytekit/common/promise.py", line 4, in <module>
        from flytekit.common.types import helpers as _type_helpers
      File "/fn/lib/python3.9/site-packages/flytekit/common/types/helpers.py", line 8, in <module>
        from flytekit.models import literals as _literal_models
      File "/fn/lib/python3.9/site-packages/flytekit/models/literals.py", line 9, in <module>
        from flytekit.models.core import types as _core_types
      File "/fn/lib/python3.9/site-packages/flytekit/models/core/types.py", line 8, in <module>
        class EnumType(_common.FlyteIdlEntity):
      File "/fn/lib/python3.9/site-packages/flytekit/models/core/types.py", line 20, in EnumType
        def to_flyte_idl(self) -> _types_pb2.EnumType:
    AttributeError: module 'flyteidl.core.types_pb2' has no attribute 'EnumType'
    with flytekit 0.25
    j
    Eduardo Apolinario (eapolinario)
    23 replies
    Copy to Clipboard
  • Konstantin Slisenko

    Konstantin Slisenko

    9 months ago
    Hi, I’m going to upgrade from old to the new flytekit. I have a lot of workflows written on the old style flytekit. Is it possible to keep an old workflows working and have a flexibility to create new workflows? When I’m trying to create old style workflow I’m getting no launch plan at Flyte
    @inputs(input=Types.String)
    @outputs(out=Types.String)
    @python_task
    def sample_legacy_task(workflow_parameters, input, out):
        # TODO some logic
        out.set("success")
    
    
    @workflow_class
    class SimpleLegacyWorkflow:
        input = Input(
            Types.String,
            help='Test input'
        )
        result = sample_legacy_task(input=input)
        output = Output(result.outputs.out, sdk_type=Types.String)
    
    
    SimpleLegacyWorkflowLaunchWithCredentials = SimpleLegacyWorkflow.create_launch_plan(
        labels=get_launch_plan_labels(), annotations=get_launch_plan_annotations()
    )
    Konstantin Slisenko
    George Snelling
    2 replies
    Copy to Clipboard
  • Jake Neyer

    Jake Neyer

    9 months ago
    Is there any capability/documentation on how to register a workflow to a remote using flytekit natively? Use Case: I would like to be able to dynamically construct a workflow and register it using only python/flytekit (if possible)
    Jake Neyer
    Ketan (kumare3)
    2 replies
    Copy to Clipboard
  • GitHub

    GitHub

    9 months ago
    message has been deleted
    GitHub
    Yee
    +1
    4 replies
    Copy to Clipboard
  • Pradithya Aria Pura

    Pradithya Aria Pura

    9 months ago
    Is there a way to enforce sequential run for dynamic workflow?
    Pradithya Aria Pura
    1 replies
    Copy to Clipboard
  • b

    Babis Kiosidis

    9 months ago
    Hey I was looking to extend flytekit-java remote execution functionality to add an SdkRemoteWorkflow that works similarly to the SdkRemoteTask. But I realised that remote workflows are not supported in flytekit(python) https://github.com/flyteorg/flytekit/blob/673e076a6a5cd33be281d962e3da8204d7dca6cd/flytekit/common/translator.py#L144-L147 ? So the only way to execute remote workflows is through LaunchPlans? Is this expected to stay this way?
    b
    Yee
    +1
    65 replies
    Copy to Clipboard
  • GitHub

    GitHub

    8 months ago
    message has been deleted
    GitHub
    Yee
    +1
    6 replies
    Copy to Clipboard
  • Kelsey Messer

    Kelsey Messer

    8 months ago
    hello 👋 I noticed today that the flyte UI is displaying the incorrect node path name for one of my sub-workflows. in my screenshot you can see the top red box and bottom red box have the same path name. the top one is mislabeled but the bottom one is correct. we're using
    flytekit==0.24.0
    Kelsey Messer
    Yee
    +5
    41 replies
    Copy to Clipboard