Package comodit_client :: Package api :: Module importer :: Class UploadThumb

Class UploadThumb


Thumbnail-upload action.

Instance Methods
 
__init__(self, conflict, src_file, res, entity_type='entity')
Creates a new thumbnail-upload action instance.
string
get_summary(self)
Provides a description of this action.
 
execute(self)
Executes this action.

Inherited from Action: conflict, display

Inherited from object: __long__, __native__, __nonzero__, __unicode__, next

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

Properties

Inherited from object: __class__

Method Details

__init__(self, conflict, src_file, res, entity_type='entity')
(Constructor)

 

Creates a new thumbnail-upload action instance.

Parameters:
  • conflict (bool) - True if the action is conflicting, false otherwise.
  • src_file (string) - Path to local file to upload.
  • entity_type (string) - Entity type.
Overrides: object.__init__

get_summary(self)

 

Provides a description of this action.

Returns: string
A description of this action.
Overrides: Action.get_summary
(inherited documentation)

execute(self)

 

Executes this action.

Overrides: Action.execute
(inherited documentation)