Skip to content

Commit aa25396

Browse files
authored
fix: Remove leftover comments
1 parent f2db7a1 commit aa25396

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/fastapi_cli/discover.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ def get_app_name(
145145

146146
def check_factory(fn: Callable[[], Any]) -> bool:
147147
"""Checks whether the return-type of a factory function is FastAPI"""
148-
# if not callable(fn):
149-
# return False
150148
type_hints = get_type_hints(fn)
151149
return_type = type_hints.get("return")
152150
return return_type is not None and issubclass(return_type, FastAPI)

0 commit comments

Comments
 (0)