cpdbench.control.CPDResult

 1from abc import ABC, abstractmethod
 2
 3
 4class CPDResult(ABC):
 5    """Abstract class for result containers for bench runs"""
 6
 7    @abstractmethod
 8    def get_result_as_dict(self) -> dict:
 9        """Returns the result of the bench run as python dict"""
10        pass
class CPDResult(abc.ABC):
 5class CPDResult(ABC):
 6    """Abstract class for result containers for bench runs"""
 7
 8    @abstractmethod
 9    def get_result_as_dict(self) -> dict:
10        """Returns the result of the bench run as python dict"""
11        pass

Abstract class for result containers for bench runs

@abstractmethod
def get_result_as_dict(self) -> dict:
 8    @abstractmethod
 9    def get_result_as_dict(self) -> dict:
10        """Returns the result of the bench run as python dict"""
11        pass

Returns the result of the bench run as python dict