mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-02 15:52:34 +00:00
add generic name
This commit is contained in:
@@ -152,6 +152,7 @@ class Flow(Generic[T], metaclass=FlowMeta):
|
|||||||
class _FlowGeneric(cls):
|
class _FlowGeneric(cls):
|
||||||
_initial_state_T: Type[T] = item
|
_initial_state_T: Type[T] = item
|
||||||
|
|
||||||
|
_FlowGeneric.__name__ = f"{cls.__name__}[{item.__name__}]"
|
||||||
return _FlowGeneric
|
return _FlowGeneric
|
||||||
|
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user