(self, connection, table_name, index_name, schema=None, **kw)
| 732 | return type_api.adapt_type(typeobj, self.colspecs) |
| 733 | |
| 734 | def has_index(self, connection, table_name, index_name, schema=None, **kw): |
| 735 | if not self.has_table(connection, table_name, schema=schema, **kw): |
| 736 | return False |
| 737 | for idx in self.get_indexes( |
| 738 | connection, table_name, schema=schema, **kw |
| 739 | ): |
| 740 | if idx["name"] == index_name: |
| 741 | return True |
| 742 | else: |
| 743 | return False |
| 744 | |
| 745 | def has_schema( |
| 746 | self, connection: Connection, schema_name: str, **kw: Any |
nothing calls this directly
no test coverage detected