diff --git a/langfun/core/message.py b/langfun/core/message.py index f707967..a98a501 100644 --- a/langfun/core/message.py +++ b/langfun/core/message.py @@ -102,7 +102,7 @@ def __init__( sender: str | pg.object_utils.MissingValue = pg.MISSING_VALUE, metadata: dict[str, Any] | None = None, tags: list[str] | None = None, - source: 'Message' | None = None, + source: Optional['Message'] = None, # The rest are `pg.Object.__init__` arguments. allow_partial: bool = False, sealed: bool = False,