def start_time(self):
        """Retrieves the start time of the incident/incidents from the output
        response

        Returns:
            start_time(namedtuple): List of named tuples of start time of the
            incident/incidents
        """
        resource_list = self.traffic_incident()
        start_time = namedtuple('start_time', 'start_time')
        if len(resource_list) == 1 and resource_list[0] is None:
            return None
        else:
            try:
                return [start_time(resource['start'])
                        for resource in resource_list]
            except (KeyError, TypeError):
                return [start_time(resource['StartTimeUTC'])
                        for resource in resource_list]
def start_time ( self ) : resource_list = self . traffic_incident ( ) start_time = namedtuple ( 'start_time' , 'start_time' ) if len ( resource_list ) == 1 and resource_list [ 0 ] is None : return None else : try : return [ start_time ( resource [ 'start' ] ) for resource in resource_list ] except ( KeyError , TypeError ) : return [ start_time ( resource [ 'StartTimeUTC' ] ) for resource in resource_list ]
Retrieves the start time of the incident/incidents from the output
        response

        Returns:
            start_time(namedtuple): List of named tuples of start time of the
            incident/incidents