Skip to content

Commit 8d15a61

Browse files
author
Tim Huff
committed
fixing a linter issue
1 parent dd3399a commit 8d15a61

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/groundlight/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from enum import Enum
77
from functools import wraps
88
from importlib.metadata import version as importlib_version
9-
from typing import Any, Union
9+
from typing import Any, Optional, Union
1010
from uuid import UUID
1111

1212
import typer
@@ -251,7 +251,7 @@ def _is_cli_eligible(name: str, method, skip: set) -> bool:
251251
return callable(method) and not name.startswith("_") and name not in skip and name not in _CLI_EXCLUDED_METHODS
252252

253253

254-
def _register_commands(source_cls: type, app: typer.Typer, *, skip: set = None) -> set:
254+
def _register_commands(source_cls: type, app: typer.Typer, *, skip: Optional[set] = None) -> set:
255255
"""Register all eligible public methods from source_cls as commands on the given Typer app.
256256
257257
Returns the set of registered method names.

0 commit comments

Comments
 (0)