Skip to content

Commit 16059fb

Browse files
committed
Remove extra check for FastAPI
1 parent 24c98e5 commit 16059fb

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/a2a/server/apps/jsonrpc/fastapi_app.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,6 @@ def __init__(
5858
context_builder=context_builder,
5959
)
6060

61-
self._check_fastapi_dependency()
62-
63-
def _check_fastapi_dependency(self) -> None:
64-
"""Checks if the FastAPI package is installed.
65-
66-
If instead of the actual FastAPI class, a dummy implementation from
67-
./fastapi_import_helpers.py is imported, initializing FastAPI() would
68-
raise ImportError.
69-
"""
70-
_app = FastAPI()
71-
7261
def add_routes_to_app(
7362
self,
7463
app: FastAPI,

0 commit comments

Comments
 (0)