Add Importer.enum convenience attribute
				
					
				
			This commit is contained in:
		
							parent
							
								
									8dca80edc6
								
							
						
					
					
						commit
						5ad40abc81
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -84,6 +84,7 @@ class Importer(object):
 | 
			
		|||
 | 
			
		||||
    def __init__(self, config=None, fields=None, key=None, **kwargs):
 | 
			
		||||
        self.config = config
 | 
			
		||||
        self.enum = config.get_enum()
 | 
			
		||||
        self.fields = fields or self.supported_fields
 | 
			
		||||
        if key is not None:
 | 
			
		||||
            self.key = key
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue