Skip to content

Commit

Permalink
fixing type
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomdmoura committed Sep 16, 2024
1 parent e5ff036 commit 353e925
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/crewai/utilities/printer.py
Original file line number Diff line number Diff line change
@@ -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":
Expand Down

0 comments on commit 353e925

Please sign in to comment.