From 5840bd0d3ab14024db232a80d5fa8fe17adffef2 Mon Sep 17 00:00:00 2001 From: Abhimanyu Susobhanan Date: Fri, 24 May 2024 13:46:58 +0200 Subject: [PATCH] -- --- src/pint/toa.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pint/toa.py b/src/pint/toa.py index c942f7091..f6bcc5390 100644 --- a/src/pint/toa.py +++ b/src/pint/toa.py @@ -1728,7 +1728,10 @@ def get_flags(self) -> table.Column: return self.table["flags"] def get_flag_value( - self, flag: str, fill_value=None, as_type=None + self, + flag: str, + fill_value: Optional[str] = None, + as_type: Optional[type] = None, ) -> Tuple[List[str], List[int]]: """Get the requested TOA flag values.