def __init__(self, parent, response_status):
        """ An event response status (status, time)

        :param parent: parent of this
        :type parent: Attendees or Event
        :param dict response_status: status info frm cloud
        """
        super().__init__(protocol=parent.protocol,
                         main_resource=parent.main_resource)
        self.status = response_status.get(self._cc('response'), 'none')
        self.status = None if self.status == 'none' else EventResponse.from_value(self.status)
        if self.status:
            self.response_time = response_status.get(self._cc('time'), None)
            if self.response_time:
                try:
                    self.response_time = parse(self.response_time).astimezone(
                        self.protocol.timezone)
                except OverflowError:
                    log.debug("Couldn't parse event response time: {}".format(self.response_time))
                    self.response_time = None
        else:
            self.response_time = None
def __init__ ( self , parent , response_status ) : super ( ) . __init__ ( protocol = parent . protocol , main_resource = parent . main_resource ) self . status = response_status . get ( self . _cc ( 'response' ) , 'none' ) self . status = None if self . status == 'none' else EventResponse . from_value ( self . status ) if self . status : self . response_time = response_status . get ( self . _cc ( 'time' ) , None ) if self . response_time : try : self . response_time = parse ( self . response_time ) . astimezone ( self . protocol . timezone ) except OverflowError : log . debug ( "Couldn't parse event response time: {}" . format ( self . response_time ) ) self . response_time = None else : self . response_time = None
An event response status (status, time)

        :param parent: parent of this
        :type parent: Attendees or Event
        :param dict response_status: status info frm cloud