Skip to content

Commit

Permalink
Fixes type for plugin (flyteorg#2065)
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas J. Fan <[email protected]>
  • Loading branch information
thomasjpfan authored Dec 21, 2023
1 parent e45fdc2 commit 274549f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flytekit/configuration/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"""
from typing import Optional, Protocol, runtime_checkable

from click import Command
from click import Group
from importlib_metadata import entry_points

from flytekit.configuration import Config, get_config_file
Expand All @@ -36,7 +36,7 @@ def get_remote(
"""Get FlyteRemote object for CLI session."""

@staticmethod
def configure_pyflyte_cli(main: Command) -> Command:
def configure_pyflyte_cli(main: Group) -> Group:
"""Configure pyflyte's CLI."""


Expand All @@ -58,7 +58,7 @@ def get_remote(
)

@staticmethod
def configure_pyflyte_cli(main: Command) -> Command:
def configure_pyflyte_cli(main: Group) -> Group:
"""Configure pyflyte's CLI."""
return main

Expand Down

0 comments on commit 274549f

Please sign in to comment.