Skip to content

Commit 826cf78

Browse files
committed
🏷️ Fix: Added typehints
1 parent 68c87dd commit 826cf78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
from fastapi.testclient import TestClient
22
from src.paste.main import app
3+
from typing import Optional
34
import os
45

56
client: TestClient = TestClient(app)
67

7-
file: str = None
8+
file: Optional[str] = None
89

910

1011
def test_get_health_route() -> None:

0 commit comments

Comments
 (0)