def __repr__(self):
        """Just the binding, without the id key."""
        return ("<NexusPortBinding(%s,%s,%s,%s,%s,%s,%s)>" %
                (self.port_id, self.vlan_id, self.vni, self.switch_ip,
                 self.instance_id,
                 self.channel_group,
                 'True' if self.is_native else 'False'))
def __repr__ ( self ) : return ( "<NexusPortBinding(%s,%s,%s,%s,%s,%s,%s)>" % ( self . port_id , self . vlan_id , self . vni , self . switch_ip , self . instance_id , self . channel_group , 'True' if self . is_native else 'False' ) )
Just the binding, without the id key.