App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine._internal.django.utils.functional.SimpleLazyObject Class Reference
Inheritance diagram for google.appengine._internal.django.utils.functional.SimpleLazyObject:
google.appengine._internal.django.utils.functional.LazyObject

Public Member Functions

def __init__
 
def __str__
 
def __unicode__
 
def __deepcopy__
 
def __eq__
 
def __hash__
 
- Public Member Functions inherited from google.appengine._internal.django.utils.functional.LazyObject
def __init__
 
def __getattr__
 
def __setattr__
 
def __delattr__
 
def __dir__
 

Detailed Description

A lazy object initialised from any function.

Designed for compound objects of unknown type. For builtins or objects of
known type, use django.utils.functional.lazy.

Constructor & Destructor Documentation

def google.appengine._internal.django.utils.functional.SimpleLazyObject.__init__ (   self,
  func 
)
Pass in a callable that returns the object to be wrapped.

If copies are made of the resulting SimpleLazyObject, which can happen
in various circumstances within Django, then you must ensure that the
callable can be safely run more than once and will return the same
value.

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