Skip to content

Commit 2707706

Browse files
authored
Fix type annotations
1 parent b50b6fc commit 2707706

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sagemaker/feature_store/feature_processor/_input_offset_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@ def get_offset_datetime(self, offset: Optional[str]) -> datetime:
7272

7373
return self.now + offset_td
7474

75-
def get_offset_date_year_month_day_hour(self, offset: Optional[str]) -> Tuple[str]:
75+
def get_offset_date_year_month_day_hour(self, offset: Optional[str]) -> Tuple[str, str, str, str]:
7676
"""Get the year, month, day and hour based on offset diff.
7777
7878
Args:
7979
offset (Optional[str]): Offset that is used for target date calcluation.
8080
8181
Returns:
82-
Tuple[str]: A tuple that consists of extracted year, month, day, hour from offset date.
82+
Tuple[str, str, str, str]: A tuple that consists of extracted year, month, day, hour from offset date.
8383
"""
8484
if offset is None:
8585
return (None, None, None, None)

0 commit comments

Comments
 (0)