def _get_entities_custom_fields(entities):
 custom_fields = set()
 for entity in entities:
  fields = dir(entity)
  for field in fields:
   if (not field.startswith('_')):
    custom_fields.add(field)
 for skip_field in ['PartitionKey', 'RowKey', 'Timestamp', 'etag']:
  custom_fields.discard(skip_field)
 return custom_fields

def _get_entities_custom_fields ( entities ) : custom_fields = set ( ) for entity in entities : fields = dir ( entity ) for field in fields : if ( not field . startswith ( '_' ) ) : custom_fields . add ( field ) for skip_field in [ 'PartitionKey' , 'RowKey' , 'Timestamp' , 'etag' ] : custom_fields . discard ( skip_field ) return custom_fields
get the union of all custom fields in the specified entities .