Skip to content

Commit

Permalink
hotfix: raise_complete_async bad beartype annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Diwank Singh Tomer <[email protected]>
  • Loading branch information
creatorrr committed Oct 16, 2024
1 parent 8def211 commit 5262a5b
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
import base64
from typing import Any

from beartype import beartype
from temporalio import activity

from ...autogen.openapi_model import CreateTransitionRequest
from ...common.protocol.tasks import (
StepContext,
StepOutcome,
)
from ...common.protocol.tasks import StepContext
from ...common.storage_handler import auto_blob_store
from .transition_step import original_transition_step


@activity.defn
@auto_blob_store
@beartype
async def raise_complete_async(context: StepContext, output: StepOutcome) -> None:
async def raise_complete_async(context: StepContext, output: Any) -> None:
activity_info = activity.info()

captured_token = base64.b64encode(activity_info.task_token).decode("ascii")
Expand Down

0 comments on commit 5262a5b

Please sign in to comment.