code: def lookup_asn(self, *args, **kwargs):
          
  
          from warnings import warn
          warn('Net.lookup_asn() has been deprecated and will be removed. '
               'You should now use asn.IPASN.lookup() for IP ASN lookups.')
          from .asn import IPASN
          response = None
          ipasn = IPASN(self)
          return ipasn.lookup(*args, **kwargs), response
docs: Temporary wrapper for IP ASN lookups (moved to
          asn.IPASN.lookup()). This will be removed in a future
          release.