We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10ffafe commit a84964fCopy full SHA for a84964f
1 file changed
src/trackr/cli.py
@@ -261,7 +261,7 @@ def list_cmd(
261
typer.echo("No items found.")
262
return
263
264
- VALID_FIELDS = {# module top-level
+ valid_fields = {# module top-level
265
"id",
266
"title",
267
"description",
@@ -275,7 +275,7 @@ def list_cmd(
275
selected_fields = [f.strip() for f in fields.split(",")]
276
277
for f in selected_fields:
278
- if f not in VALID_FIELDS:
+ if f not in valid_fields:
279
raise typer.BadParameter(f"Invalid field: {f}")
280
281
for row in rows:
0 commit comments