fix: resolve typer/click compatibility issue with make_metavar error
Fixed TypeError: Parameter.make_metavar() missing 1 required positional argument: 'ctx' by correcting typer.Option(...) usage for optional parameters with default None values. Bump version to v0.4.2
This commit is contained in:
@@ -448,7 +448,7 @@ def get_practice_pdf(
|
|||||||
|
|
||||||
@app.command("search")
|
@app.command("search")
|
||||||
def parse_schedule(
|
def parse_schedule(
|
||||||
age_group: Annotated[AgeGroup | None, typer.Option(...)] = None,
|
age_group: Annotated[AgeGroup | None, typer.Option()] = None,
|
||||||
event_type_filter: Annotated[
|
event_type_filter: Annotated[
|
||||||
EventType | None,
|
EventType | None,
|
||||||
typer.Option("--type", help="Only display events of this type"),
|
typer.Option("--type", help="Only display events of this type"),
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "myice"
|
name = "myice"
|
||||||
version = "v0.4.1"
|
version = "v0.4.2"
|
||||||
description = "myice parsing"
|
description = "myice parsing"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Rene Luria", "email" = "<rene@luria.ch>"},
|
{ name = "Rene Luria", "email" = "<rene@luria.ch>"},
|
||||||
|
|||||||
Reference in New Issue
Block a user