mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 15:48:29 +00:00
fixing type
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
from typing import Optional
|
||||
|
||||
|
||||
class Printer:
|
||||
def print(self, content: str, color: str = None):
|
||||
def print(self, content: str, color: Optional[str] = None):
|
||||
if color == "purple":
|
||||
self._print_purple(content)
|
||||
elif color == "red":
|
||||
|
||||
Reference in New Issue
Block a user