diff --git a/piperider_cli/cli.py b/piperider_cli/cli.py index 3372a86e3..8af7d9ba0 100644 --- a/piperider_cli/cli.py +++ b/piperider_cli/cli.py @@ -74,19 +74,8 @@ def _add_options(func): class RunDataPath(click.Path): - def __init__(self): - super().__init__( - exists=True, - file_okay=True, - dir_okay=False, - writable=False, - readable=True, - resolve_path=True, - allow_dash=False, - path_type=None, - executable=False - ) + super().__init__(exists=True, dir_okay=False, resolve_path=True) def convert( self, value: t.Any, param: t.Optional["Parameter"], ctx: t.Optional["Context"]