Public Member Functions | |
def | __init__ |
def | signIn |
def | signInSSO |
def | signOut |
def | uploadFile |
Public Attributes | |
hostname | |
http | |
Private Member Functions | |
def | _checkForUpdates |
A dropBox API class.
Definition at line 411 of file upload_popcon.py.
def upload_popcon.DropBox.__init__ | ( | self, | |
hostname = defaultHostname , |
|||
urlTemplate = defaultUrlTemplate |
|||
) |
|
private |
Updates this script, if a new version is found.
Definition at line 472 of file upload_popcon.py.
References upload_popcon.DropBox.hostname, and upload_popcon.DropBox.signOut().
def upload_popcon.DropBox.signIn | ( | self, | |
username, | |||
password | |||
) |
Signs in the server.
Definition at line 453 of file upload_popcon.py.
References upload_popcon.DropBox.hostname.
Referenced by uploadConditions.ConditionsUploader.signInAgain(), and cmstc.TagCollector.signInInteractive().
Signs in the server via CERN SSO.
Definition at line 422 of file upload_popcon.py.
References upload_popcon.DropBox.hostname.
def upload_popcon.DropBox.signOut | ( | self | ) |
Signs out the server.
Definition at line 464 of file upload_popcon.py.
References upload_popcon.DropBox.hostname.
Referenced by uploadConditions.ConditionsUploader._checkForUpdates(), and upload_popcon.DropBox._checkForUpdates().
def upload_popcon.DropBox.uploadFile | ( | self, | |
filename, | |||
backend = defaultBackend , |
|||
temporaryFile = defaultTemporaryFile |
|||
) |
Uploads a file to the dropBox. The filename can be without extension, with .db or with .txt extension. It will be stripped and then both .db and .txt files are used.
Definition at line 498 of file upload_popcon.py.
References upload_popcon.addToTarFile(), and upload_popcon.DropBox.hostname.
upload_popcon.DropBox.hostname |
Definition at line 416 of file upload_popcon.py.
Referenced by uploadConditions.ConditionsUploader._checkForUpdates(), upload_popcon.DropBox._checkForUpdates(), uploadConditions.ConditionsUploader.setHost(), uploadConditions.ConditionsUploader.signIn(), upload_popcon.DropBox.signIn(), upload_popcon.DropBox.signInSSO(), uploadConditions.ConditionsUploader.signOut(), upload_popcon.DropBox.signOut(), uploadConditions.ConditionsUploader.uploadFile(), and upload_popcon.DropBox.uploadFile().
upload_popcon.DropBox.http |
Definition at line 417 of file upload_popcon.py.
Referenced by uploadConditions.ConditionsUploader.signIn().