Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/n/o/nova-HEAD/nova/db/sqlalchemy/migrate_repo/versions/216_havana.py   nova(Download)
    task_log_cols = ('task_name', 'host', 'period_beginning', 'period_ending')
    uc = UniqueConstraint(*task_log_cols, table=task_log, name=task_log_uc)
    uc.create()
 
    # networks unique constraint
                     table=security_groups,
                     name='uniq_security_groups0project_id0name0deleted')
    uc.create()
 
    # quotas