Package epsilon :: Module request :: Class Request
[hide private]
[frames] | no frames]

Class Request

object --+
         |
        Request

Request epsilon_thumbd the thumbnail for the given image at given size.

This is an asynchronous request to the thumbnailer, that will take care of checking if thumbnail needs to be generated and if so, generate it.

After it's processed, it will be dispatched using callback 'func' provided to constructor and then the request will be deleted (it will become shallow and no attribute will work, so don't store it).

The thumbnailer daemon 'epsilon_thumbd' is automatically started.

Instance Methods [hide private]
 
__init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
a new object with type S, a subtype of T
__new__(T, S, ...)
 
__repr__(...)
repr(x)
 
__str__(...)
str(x)
 
delete(...)
Stop thumbnail request, free resources.
 
stop(...)
Alias for delete().

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]
  dest
  path
  request_id
  size
  status

Inherited from object: __class__

Method Details [hide private]

__init__(...)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__repr__(...)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(...)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)