Classes | |
class | output |
class | uploader |
Functions | |
def | friendly_since |
def | log |
def | new_log_file_id |
Variables | |
tuple | upload_controller = uploader(**upload_metadata) |
tuple | upload_metadata = parse_arguments() |
dictionary | upload_metadata_argument = {} |
def uploads.friendly_since | ( | time_type, | |
since | |||
) |
Takes a since and, if it is Run-based expressed as Lumi-based, returns the run number. Otherwise, returns the since without transformations.
Definition at line 28 of file uploads.py.
Referenced by uploads.uploader.filter_iovs_by_fcsr().
def uploads.log | ( | file_handle, | |
message | |||
) |
Very simple logging function, used by output class.
Definition at line 39 of file uploads.py.
References conddb_time.to_timestamp().
Referenced by uploads.output.write().
def uploads.new_log_file_id | ( | ) |
Find a new client-side log file name. Note: This cannot use the upload session token since logs need to be written before this is opened. However, this can be changed so that the filename that uses the token is written to once it is obtained.
Definition at line 45 of file uploads.py.
tuple uploads.upload_controller = uploader(**upload_metadata) |
Definition at line 769 of file uploads.py.
tuple uploads.upload_metadata = parse_arguments() |
Definition at line 757 of file uploads.py.
dictionary uploads.upload_metadata_argument = {} |
Definition at line 762 of file uploads.py.