Package bosco :: Module importer :: Class TeamRelayImporter
[hide private]
[frames] | no frames]

Class TeamRelayImporter

source code

Importer --+        
           |        
 CSVImporter --+    
               |    
  RunnerImporter --+
                   |
                  TeamRelayImporter

Import participant data for a Relay.

Instance Methods [hide private]
 
import_data(self, store)
Import runner data into store.
source code

Inherited from CSVImporter: __init__

Static Methods [hide private]
Class Variables [hide private]
  RUNNER_NUMBERS = ['0', '1', '2', '3']
  RUNNER_NUMBER_FORMAT = u'%(runner)i%(team)02i'
Method Details [hide private]

import_data(self, store)

source code 

Import runner data into store. Creates all the necessary objects and add them to the store, but don't commit the store.

Overrides: Importer.import_data
(inherited documentation)