Skip to content

Commit

Permalink
Remove ore override usages for python backwards compat
Browse files Browse the repository at this point in the history
  • Loading branch information
mpkocher committed Jul 25, 2024
1 parent fffcc3e commit 3450eb8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pydantic_cli/examples/simple_with_custom.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import sys
import logging
from typing import Union, override
from typing import Union

from pydantic import Field

Expand All @@ -18,7 +18,6 @@ class Options(Cmd):
min_filter_score: float = Field(..., cli=("-f", "--filter-score"))
alpha: Union[int, str] = 1

@override
def run(self) -> None:
log.info(
f"pydantic_cli version={__version__} Mock example running with options {self}"
Expand Down

0 comments on commit 3450eb8

Please sign in to comment.