Skip to content

Commit 8ad1462

Browse files
committed
✨ [Refactor] Use setattr for metadata assignment in app_module_setup
1 parent 66c0d53 commit 8ad1462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def app_module_setup(
260260
) -> Callable:
261261
"""Decorator marking a function as a module setup for an application.
262262
263-
Ensures one-time execution and tracks setup completion. For addons, setup can be
263+
Ensures one-time execution (idempotent) and tracks setup completion. For addons, setup can be
264264
toggled via config [deprecated] or settings.
265265
266266
:param settings_name: Field name in app settings for this module

0 commit comments

Comments
 (0)