Skip to content

Commit

Permalink
fixup revert
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansick committed Feb 26, 2024
1 parent a091b9d commit 7031a09
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/unfurlbot/dependencies/consumercontext.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,9 @@ class ConsumerContextDependency:
def __init__(self) -> None:
self._process_context: ProcessContext | None = None

async def __call__(
self,
*args: Any,
**kwargs: Any,
) -> ConsumerContext:
async def __call__(self) -> ConsumerContext:
"""Create a per-request context and return it."""
logger = get_logger(__name__) # eventually use a logger dependency
logger.info("Creating consumer context", args=args, kwargs=kwargs)
return ConsumerContext(
logger=logger,
factory=Factory(
Expand Down

0 comments on commit 7031a09

Please sign in to comment.