Skip to content

Commit

Permalink
Merge pull request #127 from floatplane/workaround-typer-bug
Browse files Browse the repository at this point in the history
Fix type definition that typer chokes on
  • Loading branch information
povilasb committed Aug 11, 2024
2 parents 140f3b9 + cf57117 commit ecd5aff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pydantic2zod/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import logging
from pathlib import Path
from typing import Optional

import rich
import typer
Expand All @@ -27,7 +28,7 @@

def main(
file: str,
out_to: str | None = None,
out_to: Optional[str],
silent: bool = typer.Option(
False, "-s", "--silent", help="If true, don't print the logs."
),
Expand Down

0 comments on commit ecd5aff

Please sign in to comment.