From bee39cf0b773c8c1a558bf783eac20922a1dbc2d Mon Sep 17 00:00:00 2001 From: Alex Guinman Date: Thu, 18 Jul 2024 18:27:47 +1000 Subject: [PATCH] 3.11 fix typer --- nemreader/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nemreader/cli.py b/nemreader/cli.py index 2092b8d..4a0c4f5 100644 --- a/nemreader/cli.py +++ b/nemreader/cli.py @@ -1,6 +1,7 @@ import logging import os from pathlib import Path +from typing import Optional import typer @@ -85,7 +86,7 @@ def output_sqlite( nemfile: Path, outdir: Path = DEFAULT_DIR_OPTION, output_file: str = "nemdata.db", - set_interval: int | None = None, + set_interval: Optional[int] = None, # noqa: UP007 verbose: bool = False, ) -> None: """Output NEM file to SQLite DB.