1

When reading source code of fastapi, this line make me fuzzy:

from starlette.testclient import TestClient as TestClient

Why not just: from starlette.testclient import TestClient?

Waket Zheng
  • 3,548
  • 1
  • 14
  • 26

0 Answers0