@@ -176,18 +176,22 @@ def remove_func(
176176 self ._data = dict ()
177177
178178 @overload
179- def get_func (self , haz_type : str , fun_id : int | str ) -> ImpactFunc : ...
179+ def get_func (
180+ self , haz_type : None = None , fun_id : None = None
181+ ) -> Dict [str , Dict [Union [int , str ], ImpactFunc ]]: ...
180182
181183 @overload
182- def get_func (self , haz_type : str , fun_id : None = None ) -> list [ImpactFunc ]: ...
184+ def get_func (
185+ self , haz_type : None = ..., fun_id : int | str = ...
186+ ) -> list [ImpactFunc ]: ...
183187
184188 @overload
185- def get_func (self , haz_type : None , fun_id : int | str ) -> list [ImpactFunc ]: ...
189+ def get_func (
190+ self , haz_type : str = ..., fun_id : None = None
191+ ) -> list [ImpactFunc ]: ...
186192
187193 @overload
188- def get_func (
189- self , haz_type : None = None , fun_id : None = None
190- ) -> Dict [str , Dict [Union [int , str ], ImpactFunc ]]: ...
194+ def get_func (self , haz_type : str = ..., fun_id : int | str = ...) -> ImpactFunc : ...
191195
192196 def get_func (
193197 self , haz_type : Optional [str ] = None , fun_id : Optional [int | str ] = None
0 commit comments