Skip to content

Commit

Permalink
πŸ› Remove lifespan parameter from LifespanManager (#21)
Browse files Browse the repository at this point in the history
Remove incorrect `, lifespan`
  • Loading branch information
kdcokenny authored Jul 5, 2024
1 parent 1fe8c09 commit 5da5a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ async def read_root():


async def main():
async with LifespanManager(app, lifespan) as manager:
async with LifespanManager(app) as manager:
async with AsyncClient(transport=ASGITransport(app=manager.app)) as client:
response = await client.get("/")
assert response.status_code == 200
Expand Down

0 comments on commit 5da5a89

Please sign in to comment.