(func: F)
| 56 | """ |
| 57 | |
| 58 | def wrapper(func: F) -> F: |
| 59 | @wraps(func) |
| 60 | async def wrapped(*args, **kwargs) -> T: |
| 61 | async with in_transaction(connection_name): |
| 62 | return await func(*args, **kwargs) |
| 63 | |
| 64 | return cast(F, wrapped) |
| 65 | |
| 66 | return wrapper |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…