code: def bulk_create(self, *records):
          
  
          if not records:
              raise TypeError('Must provide at least one record')
  
          if any(not isinstance(r, dict) for r in records):
              raise TypeError('New records must be provided as dicts')
  
          # Create local records from factory for initial full validation
          new_records = []
  
          for record_data in records:
              record = record_factory(self._app, record_data)
              record.validate()
  
              new_records.append(record)
  
          self._swimlane.request(
              'post',
              'app/{}/record/batch'.format(self._app.id),
              json=[r._raw for r in new_records]
          )
docs: Create and validate multiple records in associated app
  
          Args:
              *records (dict): One or more dicts of new record field names and values
  
          Notes:
              Requires Swimlane 2.15+
  
              Validates like :meth:`create`, but only sends a single request to create all provided fields, and does not
              return the newly created records
  
              Any validation failures on any of the records will abort the batch creation, not creating any new records
  
              Does not return the newly created records
  
          Examples:
              Create 3 new records with single request
  
              ::
  
                  app.records.bulk_create(
                      {'Field 1': 'value 1', ...},
                      {'Field 1': 'value 2', ...},
                      {'Field 1': 'value 3', ...}
                  )
  
          Raises:
              swimlane.exceptions.UnknownField: If any field in any new record cannot be found
              swimlane.exceptions.ValidationError: If any field in any new record fails validation
              TypeError: If no dict of fields was provided, or any provided argument is not a dict