Changeset 168:ef15af625bff for neighbors

Show
Ignore:
Timestamp:
08/24/07 14:33:22 (12 months ago)
Author:
Tarek Ziad?? <tarek@…>
Message:

added statistical apis

Location:
neighbors
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • neighbors/config.py

    r157 r168  
    11 
    2 db = 'postgres://chainon_fr:chainon_fr@localhost/chainon_fr' 
     2db = 'postgres://chainon:chainon@localhost/chainon_fr' 
    33 
    44tag_retriever = 'select label from items_tag' 
  • neighbors/neighbours.py

    r130 r165  
    1313 
    1414def compute(): 
    15  
    1615    # tags 
    1716    tags = [res[0] for res in query(tag_retriever)]