Skip to content

Commit 6466494

Browse files
committed
assert app
1 parent bd81753 commit 6466494

File tree

1 file changed

+1
-0
lines changed
  • packages/service-library/src/servicelib/aiohttp

1 file changed

+1
-0
lines changed

packages/service-library/src/servicelib/aiohttp/tracing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ def get_tracing_lifespan(
180180
_startup(app=app, tracing_settings=tracing_settings, service_name=service_name)
181181

182182
async def tracing_lifespan(app: web.Application):
183+
assert app # nosec
183184
yield
184185
_shutdown()
185186

0 commit comments

Comments
 (0)