Skip to content

Commit

Permalink
chore: attempt to fix pep257
Browse files Browse the repository at this point in the history
Signed-off-by: Kenzo Lobos-Tsunekawa <[email protected]>
  • Loading branch information
knzo25 committed Apr 2, 2024
1 parent e3e7d98 commit f462c28
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ def getProjectCalibrators(cls, project_name) -> List:

@classmethod
def register_calibrator(cls, project_name: str, calibrator_name: str) -> Callable:
"""Class method to register implementations of the CalibratorBase class into the internal registry.
"""
Class method to register implementations of the CalibratorBase class into the internal registry.
Args:
project_name (str): The name of the calibration project.
calibrator_name (str): The name of the calibrator.
Returns:
The Executor class itself. TODO: write correct
wrapper
"""

def inner_wrapper(wrapped_class: CalibratorBase) -> CalibratorBase:
Expand All @@ -61,7 +62,8 @@ def inner_wrapper(wrapped_class: CalibratorBase) -> CalibratorBase:

@classmethod
def create_calibrator(cls, project_name: str, calibrator_name: str, **kwargs) -> CalibratorBase:
"""Create the executor using a factory pattern.
"""
Create the executor using a factory pattern.
This method gets the appropriate Executor class from the registry
and creates an instance of it, while passing in the parameters
Expand Down

0 comments on commit f462c28

Please sign in to comment.