The default approach involves using TestClient. However, I found that mocking the database, background tasks, etc., is overkill. Do you have any suggestions?

  • vi21@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    25 days ago

    Do you mean moving Pydantic models as arguments of other function?