original_docstring: 
      Receives list of offense's IPs, and performs API call to QRadar service to retrieve assets correlated to IPs given.
      Args:
          client (Client): Client to perform the API request to QRadar.
          offense_ips (List[str]): List of all of the offense's IPs.
  
      Returns:
          (List[Dict]): List of all the correlated assets.
      
docstring: Receives list of offense's IPs, and performs API call to QRadar service to retrieve assets correlated to IPs given.
docstring_tokens: Receives list of offense ' s IPs and performs API call to QRadar service to retrieve assets correlated to IPs given .
code: def enrich_offense_with_assets(client: Client, offense_ips: List[str]) -> List[Dict]:
      """
      Receives list of offense's IPs, and performs API call to QRadar service to retrieve assets correlated to IPs given.
      Args:
          client (Client): Client to perform the API request to QRadar.
          offense_ips (List[str]): List of all of the offense's IPs.
  
      Returns:
          (List[Dict]): List of all the correlated assets.
      """
  
      def get_assets_for_ips_batch(b: List):
          filter_query = ' or '.join([f'interfaces contains ip_addresses contains value="{ip}"' for ip in b])
          return client.assets_list(filter_=filter_query)
  
      # Submit addresses in batches to avoid overloading QRadar service
      assets = [asset for b in batch(offense_ips[:OFF_ENRCH_LIMIT], batch_size=int(BATCH_SIZE))
                for asset in get_assets_for_ips_batch(b)]
  
      return [create_single_asset_for_offense_enrichment(asset) for asset in assets]
code_tokens: def enrich_offense_with_assets ( client : Client , offense_ips : List [ str ] ) -> List [ Dict ] : def get_assets_for_ips_batch ( b : List ) : filter_query = ' or ' . join ( [ f'interfaces contains ip_addresses contains value="{ip}"' for ip in b ] ) return client . assets_list ( filter_ = filter_query ) assets = [ asset for b in batch ( offense_ips [ : OFF_ENRCH_LIMIT ] , batch_size = int ( BATCH_SIZE ) ) for asset in get_assets_for_ips_batch ( b ) ] return [ create_single_asset_for_offense_enrichment ( asset ) for asset in assets ]
short_docstring: Receives list of offense's IPs, and performs API call to QRadar service to retrieve assets correlated to IPs given.
short_docstring_tokens: Receives list of offense ' s IPs and performs API call to QRadar service to retrieve assets correlated to IPs given .
comment: """
      Receives list of offense's IPs, and performs API call to QRadar service to retrieve assets correlated to IPs given.
      Args:
          client (Client): Client to perform the API request to QRadar.
          offense_ips (List[str]): List of all of the offense's IPs.
  
      Returns:
          (List[Dict]): List of all the correlated assets.
      """$SEP$# Submit addresses in batches to avoid overloading QRadar service