Classes | |
class | output |
class | uploader |
Functions | |
def | friendly_since (time_type, since) |
def | log (file_handle, message) |
def | new_log_file_id () |
Joshua Dawes - CERN, CMS - The University of Manchester This module holds classes to help with uploading conditions to the drop box web service, which also uses CondDBFW to read and write data.
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 utils.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.