We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b68de4 commit 38aea60Copy full SHA for 38aea60
webhooks_automata/union_models/actions.py
@@ -1,7 +1,7 @@
1
import abc
2
import asyncio
3
from typing import Literal, TYPE_CHECKING, Union
4
-from pydantic import BaseModel
+from pydantic import BaseModel, ImportString
5
6
if TYPE_CHECKING:
7
import starlette.requests
@@ -49,7 +49,7 @@ async def perform_action(self, request):
49
50
class CallableAction(ActionBase):
51
type: Literal["callable"]
52
- callable: str
+ callable: ImportString
53
54
async def perform_action(self, request):
55
pass
0 commit comments