class documentation

class ContentFile(File):

View In Hierarchy

A File-like object that takes just raw content, rather than an actual file.
Method __bool__ Undocumented
Method __init__ Undocumented
Method __str__ Undocumented
Method close Undocumented
Method open Undocumented
Method write Undocumented
Instance Variable size Undocumented

Inherited from File:

Method __iter__ Undocumented
Method chunks Read the file and yield chunks of chunk_size bytes (defaults to File.DEFAULT_CHUNK_SIZE).
Method multiple​_chunks Return True if you can expect multiple chunks.
Constant DEFAULT​_CHUNK​_SIZE Undocumented
Instance Variable file Undocumented
Instance Variable mode Undocumented
Instance Variable name Undocumented
Method __enter__ Undocumented
Method __exit__ Undocumented
Method __len__ Undocumented
Method __repr__ Undocumented

Inherited from FileProxyMixin (via File):

Method readable Undocumented
Method seekable Undocumented
Method writable Undocumented
Class Variable encoding Undocumented
Class Variable fileno Undocumented
Class Variable flush Undocumented
Class Variable isatty Undocumented
Class Variable newlines Undocumented
Class Variable read Undocumented
Class Variable readinto Undocumented
Class Variable readline Undocumented
Class Variable readlines Undocumented
Class Variable seek Undocumented
Class Variable tell Undocumented
Class Variable truncate Undocumented
Class Variable writelines Undocumented
Property closed Undocumented
def __bool__(self):

Undocumented

def __init__(self, content, name=None):

Undocumented

def __str__(self):

Undocumented

def close(self):

Undocumented

def open(self, mode=None):

Undocumented

def write(self, data):
size =

Undocumented