sonar/testbench.py
def asdict(self):
        """
        Converts the object to a dictionary

        Returns:
            dict: Dictionary representing the object
        """

        threads = []
        for thread in self.threads:
            threads.append(thread.asdict())
        return threads

        Converts the object to a dictionary

        Returns:
            dict: Dictionary representing the object
        
Converts the object to a dictionary
Converts the object to a dictionary
def asdict(self):
        threads = []
        for thread in self.threads:
            threads.append(thread.asdict())
        return threads
def asdict ( self ) : threads = [ ] for thread in self . threads : threads . append ( thread . asdict ( ) ) return threads
Converts the object to a dictionary
Converts the object to a dictionary
"""
        Converts the object to a dictionary

        Returns:
            dict: Dictionary representing the object
        """
Dictionary representing the object
Dictionary representing the object
dict
self