linting
This commit is contained in:
parent
d5916db01d
commit
0a68509e41
1 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,11 @@
|
|||
"""
|
||||
pydantic_typer
|
||||
|
||||
"""
|
||||
import inspect
|
||||
from functools import wraps
|
||||
from typing import Callable
|
||||
|
||||
from functools import wraps
|
||||
import typer
|
||||
|
||||
__all__ = ["typer"]
|
||||
|
|
@ -97,10 +101,6 @@ def {func.__name__}({aargs}{', ' if aargs else ''}{kwargs}):
|
|||
'''{func.__doc__}'''
|
||||
return wrapper({call_args})
|
||||
"""
|
||||
|
||||
|
||||
|
||||
|
||||
exec(new_func_str, locals(), globals())
|
||||
new_func = globals()[func.__name__]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue