upload_data.py

Script for uploading data from a local sqlite file to the web server.

openmdao.recorders.upload_data.upload(sqlite_file, token, name=None, case_id=None, suppress_output=False)[source]

Upload sqlite recording to the web server.

Parameters:

sqlite_file : str

The location of the sqlite file.

token : str

The web recorder token.

name : str

The name of the recording (defaults to None).

case_id : str

The case_id if this upload is intended to update a recording.

suppress_output : bool

Indicates whether or not the upload status should be printed.