mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-06 21:19:54 +02:00
Fix document360 mypy issue
This commit is contained in:
parent
60d5abae3c
commit
9211334597
@ -1,7 +1,4 @@
|
|||||||
from typing import List
|
def flatten_child_categories(category: dict) -> list[dict]:
|
||||||
|
|
||||||
|
|
||||||
def flatten_child_categories(category) -> List[dict]:
|
|
||||||
if not category["child_categories"]:
|
if not category["child_categories"]:
|
||||||
return [category]
|
return [category]
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user