Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions api/library/python/iterm2/iterm2/screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def url(self) -> str:
return self._url.url

@property
def identifier(self) -> str:
def identifier(self) -> typing.Optional[str]:
"""
Returns the optional identifier associated with the URL, if present.

Expand Down Expand Up @@ -172,7 +172,7 @@ def repeats(self) -> int:
return self._proto.repeats

@property
def fg_color(self) -> 'CellStyle.Color':
def fg_color(self) -> typing.Optional['CellStyle.Color']:
"""
Returns the foreground color as a CellStyle.Color object.

Expand All @@ -188,7 +188,7 @@ def fg_color(self) -> 'CellStyle.Color':
return CellStyle.Color(placement=self._proto.fgAlternatePlacementX)

@property
def bg_color(self) -> 'CellStyle.Color':
def bg_color(self) -> typing.Optional['CellStyle.Color']:
"""
Returns the background color as a CellStyle.Color object.

Expand Down