#NEWLINE# def _lot_from_props( self , name , lng , lat , props ) : #NEWLINE# #INDENT# address = props . get ( 'address' , None ) #NEWLINE# total = props . get ( 'total' , 0 ) #NEWLINE# _type = props . get ( 'type' , None ) #NEWLINE# _id = generate_id ( ( self . city_name + lat ) ) #NEWLINE# return Lot ( name , _id , _type , lng , lat , address , total )