#NEWLINE# def __new__( cls , obj , filter_func = None ) : #NEWLINE# #INDENT# from ryu.lib.packet.bgp import LabelledVPNIPAddrPrefix #NEWLINE# from ryu.lib.packet.bgp import LabelledVPNIP6AddrPrefix #NEWLINE# from ryu.lib.packet.bgp import IPAddrPrefix , IP6AddrPrefix #NEWLINE# if isinstance ( obj , ( LabelledVPNIPAddrPrefix , LabelledVPNIP6AddrPrefix ) ) : #NEWLINE# #INDENT# return VpnNlriDetailView ( obj ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( obj , ( IPAddrPrefix , IP6AddrPrefix ) ) : #NEWLINE# #INDENT# return IpNlriDetailView ( obj ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return OperatorDetailView ( obj , filter_func )