Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaskom committed Dec 16, 2024
1 parent a1f7e00 commit 57df19c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/synchronicity/async_wrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def wrapper(*args, **kwargs):


def is_coroutine_function_follow_wrapped(func: typing.Callable) -> bool:
"""Determine if a function returns a coroutine, unwrapping decorators, but not the async synchronicity interace."""
"""Determine if func returns a coroutine, unwrapping decorators, but not the async synchronicity interace."""
from .synchronizer import TARGET_INTERFACE_ATTR # Avoid circular import

if hasattr(func, "__wrapped__") and getattr(func, TARGET_INTERFACE_ATTR, None) != Interface.BLOCKING:
Expand All @@ -48,7 +48,7 @@ def is_coroutine_function_follow_wrapped(func: typing.Callable) -> bool:


def is_async_gen_function_follow_wrapped(func: typing.Callable) -> bool:
"""Determine if a function returns an async generator, unwrapping decorators, but not the async synchronicity interace."""
"""Determine if func returns an async generator, unwrapping decorators, but not the async synchronicity interace."""
from .synchronizer import TARGET_INTERFACE_ATTR # Avoid circular import

if hasattr(func, "__wrapped__") and getattr(func, TARGET_INTERFACE_ATTR, None) != Interface.BLOCKING:
Expand Down

0 comments on commit 57df19c

Please sign in to comment.