Add ActionFactoryAction, Add mode flags for Falyx, Rename inject_last_result_as -> inject_into
This commit is contained in:
9
falyx/protocols.py
Normal file
9
falyx/protocols.py
Normal file
@ -0,0 +1,9 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any, Protocol
|
||||
|
||||
from falyx.action import BaseAction
|
||||
|
||||
|
||||
class ActionFactoryProtocol(Protocol):
|
||||
def __call__(self, *args: Any, **kwargs: Any) -> BaseAction: ...
|
Reference in New Issue
Block a user