Add ActionFactoryAction, Add mode flags for Falyx, Rename inject_last_result_as -> inject_into

This commit is contained in:
2025-05-09 23:43:36 -04:00
parent ad803e01be
commit 76e542cfce
10 changed files with 179 additions and 46 deletions

9
falyx/protocols.py Normal file
View 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: ...