App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Static Public Attributes | List of all members
google.appengine._internal.django.core.files.uploadedfile.SimpleUploadedFile Class Reference
Inheritance diagram for google.appengine._internal.django.core.files.uploadedfile.SimpleUploadedFile:
google.appengine._internal.django.core.files.uploadedfile.InMemoryUploadedFile google.appengine._internal.django.core.files.uploadedfile.UploadedFile google.appengine._internal.django.core.files.base.File google.appengine._internal.django.core.files.utils.FileProxyMixin

Public Member Functions

def __init__
 
def from_dict
 
- Public Member Functions inherited from google.appengine._internal.django.core.files.uploadedfile.InMemoryUploadedFile
def __init__
 
def open
 
def close
 
def chunks
 
def multiple_chunks
 
- Public Member Functions inherited from google.appengine._internal.django.core.files.uploadedfile.UploadedFile
def __init__
 
def __repr__
 
- Public Member Functions inherited from google.appengine._internal.django.core.files.base.File
def __init__
 
def __str__
 
def __unicode__
 
def __repr__
 
def __nonzero__
 
def __len__
 
def chunks
 
def multiple_chunks
 
def __iter__
 
def open
 
def close
 
- Public Member Functions inherited from google.appengine._internal.django.core.files.utils.FileProxyMixin
def __iter__
 

Static Public Attributes

tuple from_dict = classmethod(from_dict)
 
- Static Public Attributes inherited from google.appengine._internal.django.core.files.uploadedfile.UploadedFile
int DEFAULT_CHUNK_SIZE = 64
 
- Static Public Attributes inherited from google.appengine._internal.django.core.files.base.File
int DEFAULT_CHUNK_SIZE = 64
 

Additional Inherited Members

- Public Attributes inherited from google.appengine._internal.django.core.files.uploadedfile.InMemoryUploadedFile
 field_name
 
- Public Attributes inherited from google.appengine._internal.django.core.files.uploadedfile.UploadedFile
 size
 
 content_type
 
 charset
 
- Public Attributes inherited from google.appengine._internal.django.core.files.base.File
 file
 
 name
 
 mode
 
- Properties inherited from google.appengine._internal.django.core.files.uploadedfile.UploadedFile
 name = property(_get_name, _set_name)
 
- Properties inherited from google.appengine._internal.django.core.files.base.File
 size = property(_get_size, _set_size)
 
 closed = property(_get_closed)
 
- Properties inherited from google.appengine._internal.django.core.files.utils.FileProxyMixin
 encoding = property(lambda self: self.file.encoding)
 
 fileno = property(lambda self: self.file.fileno)
 
 flush = property(lambda self: self.file.flush)
 
 isatty = property(lambda self: self.file.isatty)
 
 newlines = property(lambda self: self.file.newlines)
 
 read = property(lambda self: self.file.read)
 
 readinto = property(lambda self: self.file.readinto)
 
 readline = property(lambda self: self.file.readline)
 
 readlines = property(lambda self: self.file.readlines)
 
 seek = property(lambda self: self.file.seek)
 
 softspace = property(lambda self: self.file.softspace)
 
 tell = property(lambda self: self.file.tell)
 
 truncate = property(lambda self: self.file.truncate)
 
 write = property(lambda self: self.file.write)
 
 writelines = property(lambda self: self.file.writelines)
 
 xreadlines = property(lambda self: self.file.xreadlines)
 

Detailed Description

A simple representation of a file, which just has content, size, and a name.

Member Function Documentation

def google.appengine._internal.django.core.files.uploadedfile.SimpleUploadedFile.from_dict (   cls,
  file_dict 
)
Creates a SimpleUploadedFile object from
a dictionary object with the following keys:
   - filename
   - content-type
   - content

The documentation for this class was generated from the following file: