improve none type

This commit is contained in:
Brandon Hancock
2025-01-12 10:10:54 -05:00
parent 1b6245d711
commit 3a432917cb

View File

@@ -510,9 +510,8 @@ class Crew(BaseModel):
def kickoff(
self,
inputs: Optional[Dict[str, Any]] = None,
inputs: Dict[str, Any] = {},
) -> CrewOutput:
inputs = inputs or {}
for before_callback in self.before_kickoff_callbacks:
inputs = before_callback(inputs)