def formatMessage(self, sgEvent): ''' Returns a formatted string for the event. Subclasses can override this function to return custom msgs. Args: * (SgEvent) sgEvent: Event to build message for. ''' return (ShotgunORM.formatSerializable(sgEvent.event().fieldValues()) + '\n')
def formatMessage(self, sgEvent): ''' Returns a formatted string for the event. Subclasses can override this function to return custom msgs. Args: * (SgEvent) sgEvent: Event to build message for. ''' return ( ShotgunORM.formatSerializable( sgEvent.event().fieldValues() ) + '\n' )