Skip to content

test: use asynccontextmanager for FastAPI lifespan#2597

Merged
thewhaleking merged 12 commits intostagingfrom
test/use_asynccontextmanager_for_fastapi_lifespan
Feb 18, 2025
Merged

test: use asynccontextmanager for FastAPI lifespan#2597
thewhaleking merged 12 commits intostagingfrom
test/use_asynccontextmanager_for_fastapi_lifespan

Conversation

@zyzniewski-reef
Copy link
Contributor

Bug

test_threaded_fastapi not synchronizing correctly with FastAPIThreadedServer thread.

Description of the Change

Async generator function lifespans are deprecated, use an @contextlib.asynccontextmanager function instead

@zyzniewski-reef zyzniewski-reef force-pushed the test/use_asynccontextmanager_for_fastapi_lifespan branch 2 times, most recently from 840ee2e to ddb9829 Compare January 22, 2025 17:14
basfroman
basfroman previously approved these changes Jan 22, 2025
@zyzniewski-reef zyzniewski-reef force-pushed the test/use_asynccontextmanager_for_fastapi_lifespan branch from ddb9829 to 321d359 Compare January 22, 2025 17:15
thewhaleking
thewhaleking previously approved these changes Feb 3, 2025
thewhaleking
thewhaleking previously approved these changes Feb 3, 2025
ibraheem-abe
ibraheem-abe previously approved these changes Feb 3, 2025
@thewhaleking thewhaleking dismissed stale reviews from ibraheem-abe and themself via c6d26d7 February 13, 2025 17:20
@thewhaleking thewhaleking merged commit baac41b into staging Feb 18, 2025
32 checks passed
@thewhaleking thewhaleking deleted the test/use_asynccontextmanager_for_fastapi_lifespan branch February 18, 2025 18:49
@ibraheem-abe ibraheem-abe mentioned this pull request Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants