def writelines(self, lines): """Write the objects contained in lines to the file. :note: Not implemented. :param lines: Iterable container of data to add to the file. :return: None """ raise method_not_implemented(self, 'writelines')
def write(self, data): """Append data to file. :note: Not implemented. :param data: Data to append to the file. :return: None """ raise method_not_implemented(self, 'write')
def file_history(self, item, debug=False): """NOT IMPLEMENTED: Get previous versions of item. REST documentation: https://www.bitcasa.com/cloudfs-api-docs/api/List%20History.html :param item: Item to find previous versions. :param debug: If true, will print the the request and response to stdout. :return: List of previous versions of the item. """ raise method_not_implemented(self, 'file_history')
def truncate(self, size=0): """Delete all data in file after :size: byte. :note: Not implemented. :param size: Number of bytes of current file to keep. Optional, defaults to 0. :return: None """ raise method_not_implemented(self, 'truncate')
def readline(self, size=None): """ Read until reaching a line break bytes read reaches :size:. :note: Not implemented. :param size: Max number of bytes to read before returning. Optional, no size limit if not specified. :return: Data from file. :rtype: String """ raise method_not_implemented(self, 'readline')
def readlines(self, sizehint=None): """ Reads entire file into list. Each list entry is either a line (ending in a '\\n' character) or is close to :sizehint: bytes. :note: Not implemented. :param sizehint: Approximate limit on list entry size. Optional, no size limit if not specified. :return: Data from file. :rtype: String """ raise method_not_implemented(self, 'readlines')
def application_data(self, new_application_data): raise method_not_implemented(self, 'set application_data')
def writelines(self): raise method_not_implemented(self, 'writelines')
def write(self): raise method_not_implemented(self, 'write')
def truncate(self, size=0): raise method_not_implemented(self, 'truncate')
def readlines(self, sizehint=None): raise method_not_implemented(self, 'readlines')
def readline(self, size=None): raise method_not_implemented(self, 'readline')
def last_name(self, new_last_name): raise method_not_implemented(self, 'set user last name')
def email(self, new_email): raise method_not_implemented(self, 'set user email')
def save(self): raise method_not_implemented('User', 'save changes')
def first_name(self, new_first_name): raise method_not_implemented(self, 'set user first name')
def application_data(self, new_application_data): #self.changed_meta.add('application_data') #self.data['application_data'] = new_application_data raise method_not_implemented(self, 'set application_data')
def history(self): """NOT IMPLEMENTED: Restore item from trash. REST documentation: https://www.bitcasa.com/cloudfs-api-docs/api/List%20History.html :return: """ raise method_not_implemented(self, 'history')