Skip to content

Commit 797f8a8

Browse files
author
matthias_schaub
committed
Change arguement type to string due to unresolved error when using click.Path type: AssertionError: Attempted to use an uninstantiated parameter type
1 parent 00b1e72 commit 797f8a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapswipe_workers/mapswipe_workers/mapswipe_workers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def run_user_management(email, manager) -> None:
151151
"--input-file",
152152
help=(f"A JSON file of the tutorial."),
153153
required=True,
154-
type=click.Path,
154+
type=str,
155155
)
156156
def run_create_tutorial(input_file) -> None:
157157
"""Create a tutorial project from provided JSON file."""

0 commit comments

Comments
 (0)