Fix: type violations. (#6262)
### What problem does this PR solve? #6238 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
dd81c30976
commit
49086964b8
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ def clean_markdown_block(text):
|
|||
return text.strip()
|
||||
|
||||
|
||||
def get_float(v: str | int | float | None):
|
||||
def get_float(v):
|
||||
if v is None:
|
||||
return float('-inf')
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue