ruff fix
This commit is contained in:
parent
22b7eaf593
commit
d5916db01d
3 changed files with 5 additions and 21 deletions
|
|
@ -1,6 +1,7 @@
|
|||
from pydantic import BaseModel, Field
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
class Alpha(BaseModel):
|
||||
a: int
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ from pydantic_typer import expand_pydantic_args
|
|||
|
||||
@expand_pydantic_args()
|
||||
def get_person(person: Person, thing: str = None) -> Person:
|
||||
"""mydocstring"""
|
||||
"""Mydocstring."""
|
||||
from rich import print
|
||||
|
||||
print(str(thing))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue