(headers, data, file, format=Format.XLS_2007,
               max_column_size=2000, separator='|')
Do a raw export from an in-memory representation of headers and data.
    Headers should be a list of (tablename, table) tuples with only one
    row (containing the headers) in the table.

    data_table should have the same format but can support multiple rows
    per table if needed.

    Example:

    headers:
     (("employee", ("id", "name", "gender")),
      ("building", ("id", "name", "address")))

    data:
     (("employee", (("1", "cory", "m"),
                    ("2", "christian", "m"),
                    ("3", "amelia", "f"))),
      ("building", (("1", "dimagi", "585 mass ave."),
                    ("2", "old dimagi", "529 main st."))))
Do a raw export from an in-memory representation of headers and data.
    Headers should be a list of (tablename, table) tuples with only one
    row (containing the headers) in the table.
Do a raw export from an in - memory representation of headers and data . Headers should be a list of ( tablename table ) tuples with only one row ( containing the headers ) in the table .
def export_raw(headers, data, file, format=Format.XLS_2007,
               max_column_size=2000, separator='|'):
    """
    Do a raw export from an in-memory representation of headers and data.
    Headers should be a list of (tablename, table) tuples with only one
    row (containing the headers) in the table.

    data_table should have the same format but can support multiple rows
    per table if needed.

    Example:

    headers:
     (("employee", ("id", "name", "gender")),
      ("building", ("id", "name", "address")))

    data:
     (("employee", (("1", "cory", "m"),
                    ("2", "christian", "m"),
                    ("3", "amelia", "f"))),
      ("building", (("1", "dimagi", "585 mass ave."),
                    ("2", "old dimagi", "529 main st."))))

    """
    context = export_raw_to_writer(headers=headers, data=data, file=file, format=format,
                                   max_column_size=max_column_size, separator=separator)
    with context:
        pass
def export_raw ( headers , data , file , format = Format . XLS_2007 , max_column_size = 2000 , separator = '|' ) : context = export_raw_to_writer ( headers = headers , data = data , file = file , format = format , max_column_size = max_column_size , separator = separator ) with context : pass