Skip to content

Commit df29ee6

Browse files
author
BryanSchroeder
committed
adjustments for formatting
1 parent b2e8884 commit df29ee6

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

tests/integration/renderer/test_request_hooks.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,11 @@ def test_rdrh003_refresh_jwt(expiry_code, dash_duo):
245245
]
246246
)
247247

248-
@app.callback(Output("output-1", "children"), [Input("input", "value")
249-
],prevent_initial_call=True)
248+
@app.callback(
249+
Output("output-1", "children"),
250+
[Input("input", "value")],
251+
prevent_initial_call=True,
252+
)
250253
def update_output(value):
251254
jwt_token.value = len(value) + 1
252255
return value
@@ -272,7 +275,10 @@ def wrap(*args, **kwargs):
272275
return e
273276
if asyncio.iscoroutinefunction(func):
274277
if test_async():
275-
from asgiref.sync import async_to_sync # pylint: disable=unused-import, # noqa: F401
278+
from asgiref.sync import (
279+
async_to_sync,
280+
) # pylint: disable=unused-import, # noqa: F401
281+
276282
return async_to_sync(func)(*args, **kwargs)
277283
return func(*args, **kwargs)
278284

0 commit comments

Comments
 (0)