11"""Calibrator definitions"""
22
3+ from __future__ import annotations
4+
35from abc import ABCMeta , abstractmethod
46from collections import namedtuple
57
@@ -23,7 +25,7 @@ def from_xml(
2325 parameter_lookup : dict [str , any ] | None = None ,
2426 parameter_type_lookup : dict [str , any ] | None = None ,
2527 container_lookup : dict [str , any ] | None = None ,
26- ) -> " Calibrator" :
28+ ) -> Calibrator :
2729 """Abstract classmethod to create a default_calibrator object from an XML element.
2830
2931 Parameters
@@ -100,7 +102,7 @@ def from_xml(
100102 parameter_lookup : dict [str , any ] | None = None ,
101103 parameter_type_lookup : dict [str , any ] | None = None ,
102104 container_lookup : dict [str , any ] | None = None ,
103- ) -> " SplineCalibrator" :
105+ ) -> SplineCalibrator :
104106 """Create a spline default_calibrator object from an <xtce:SplineCalibrator> XML element.
105107
106108 Parameters
@@ -270,7 +272,7 @@ def from_xml(
270272 parameter_lookup : dict [str , any ] | None = None ,
271273 parameter_type_lookup : dict [str , any ] | None = None ,
272274 container_lookup : dict [str , any ] | None = None ,
273- ) -> " PolynomialCalibrator" :
275+ ) -> PolynomialCalibrator :
274276 """Create a polynomial default_calibrator object from an <xtce:PolynomialCalibrator> XML element.
275277
276278 Parameters
@@ -352,7 +354,7 @@ def from_xml(
352354 parameter_lookup : dict [str , any ] | None = None ,
353355 parameter_type_lookup : dict [str , any ] | None = None ,
354356 container_lookup : dict [str , any ] | None = None ,
355- ) -> " MathOperationCalibrator" :
357+ ) -> MathOperationCalibrator :
356358 """Create a math operation default_calibrator from an <xtce:MathOperationCalibrator> XML element.
357359
358360 Parameters
@@ -456,7 +458,7 @@ def from_xml(
456458 parameter_lookup : dict [str , any ] | None = None ,
457459 parameter_type_lookup : dict [str , any ] | None = None ,
458460 container_lookup : dict [str , any ] | None = None ,
459- ) -> " ContextCalibrator" :
461+ ) -> ContextCalibrator :
460462 """Create a ContextCalibrator object from an <xtce:ContextCalibrator> XML element
461463
462464 Parameters
0 commit comments