(db_connection, t)
| 101 | |
| 102 | |
| 103 | def get_relevant_annotation(db_connection, t): |
| 104 | return TableDescription.objects.annotate( |
| 105 | table_name_lower=Lower("table_name") |
| 106 | ).filter( |
| 107 | database_connection=db_connection, |
| 108 | table_name_lower=t.lower() |
| 109 | ).first() |
| 110 | |
| 111 | |
| 112 | def get_relevant_few_shots(db_connection, included_tables): |
no outgoing calls