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 471 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 452 of file upload_popcon.py.
References upload_popcon.DropBox.hostname.
Referenced by cmstc.TagCollector.signInInteractive().
Signs in the server via CERN SSO.
Definition at line 421 of file upload_popcon.py.
References upload_popcon.DropBox.hostname.
def upload_popcon.DropBox.signOut | ( | self | ) |
Signs out the server.
Definition at line 463 of file upload_popcon.py.
References upload_popcon.DropBox.hostname.
Referenced by 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 497 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 upload_popcon.DropBox._checkForUpdates(), upload_popcon.DropBox.signIn(), upload_popcon.DropBox.signInSSO(), upload_popcon.DropBox.signOut(), and upload_popcon.DropBox.uploadFile().
upload_popcon.DropBox.http |
Definition at line 417 of file upload_popcon.py.