File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -375,26 +375,31 @@ def _parse_timedelta_internal(
375375
376376class InConverter (_BaseConverter , binding = None ):
377377
378- @abc .abstractclassmethod
378+ @classmethod
379+ @abc .abstractmethod
379380 def check_input_type_annotation (cls , pytype : type ) -> bool :
380381 pass
381382
382- @abc .abstractclassmethod
383+ @classmethod
384+ @abc .abstractmethod
383385 def decode (cls , data : Datum , * , trigger_metadata ) -> Any :
384386 raise NotImplementedError
385387
386- @abc .abstractclassmethod
388+ @classmethod
389+ @abc .abstractmethod
387390 def has_implicit_output (cls ) -> bool :
388391 return False
389392
390393
391394class OutConverter (_BaseConverter , binding = None ):
392395
393- @abc .abstractclassmethod
396+ @classmethod
397+ @abc .abstractmethod
394398 def check_output_type_annotation (cls , pytype : type ) -> bool :
395399 pass
396400
397- @abc .abstractclassmethod
401+ @classmethod
402+ @abc .abstractmethod
398403 def encode (cls , obj : Any , * ,
399404 expected_type : Optional [type ]) -> Optional [Datum ]:
400405 raise NotImplementedError
You can’t perform that action at this time.
0 commit comments