def METHOD_NAME(
    graph_id: str,
    client: datastore.Client,
    config: OperationLogsConfig,
    last_export_key: datastore.Key,
    logs_count: int,
    export_ts: datetime,
):
    export_log = datastore.Entity(
        key=last_export_key, exclude_from_indexes=config.EXPORT.EXCLUDE_FROM_INDICES
    )
    export_log[config.EXPORT.LAST_EXPORT_TS] = export_ts
    export_log[config.EXPORT.LOGS_COUNT] = logs_count
    this_export_key = client.key(
        config.EXPORT.KIND,
        f"{graph_id}_{int(export_ts.timestamp())}",
        namespace=config.NAMESPACE,
    )
    this_export_log = datastore.Entity(
        key=this_export_key, exclude_from_indexes=config.EXPORT.EXCLUDE_FROM_INDICES
    )
    this_export_log[config.EXPORT.LAST_EXPORT_TS] = export_ts
    this_export_log[config.EXPORT.LOGS_COUNT] = logs_count
    client.put_multi([export_log, this_export_log])
    print(f"export time {export_ts}, count {logs_count}")