mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-18 09:56:00 +08:00
* adding missing db.backends typings and updated test * added missing stubs * reformatted files * removed contrib.postgres.forms * fixed test
18 lines
863 B
Python
18 lines
863 B
Python
from django.db.backends.base.introspection import BaseDatabaseIntrospection as BaseDatabaseIntrospection
|
|
from typing import Any
|
|
|
|
FieldInfo: Any
|
|
|
|
class DatabaseIntrospection(BaseDatabaseIntrospection):
|
|
cache_bust_counter: int = ...
|
|
def data_types_reverse(self): ...
|
|
def get_field_type(self, data_type: Any, description: Any): ...
|
|
def get_table_list(self, cursor: Any): ...
|
|
def get_table_description(self, cursor: Any, table_name: Any): ...
|
|
def identifier_converter(self, name: Any): ...
|
|
def get_sequences(self, cursor: Any, table_name: Any, table_fields: Any = ...): ...
|
|
def get_relations(self, cursor: Any, table_name: Any): ...
|
|
def get_key_columns(self, cursor: Any, table_name: Any): ...
|
|
def get_primary_key_column(self, cursor: Any, table_name: Any): ...
|
|
def get_constraints(self, cursor: Any, table_name: Any): ...
|