diff options
author | mike bayer <mike_mp@zzzcomputing.com> | 2019-08-07 03:09:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@bbpush.zzzcomputing.com> | 2019-08-07 03:09:30 +0000 |
commit | 6a622c636ca5bc55d96b92652fd43b914a77645c (patch) | |
tree | 4d4abbeab5f5b9d1c348d6aff849968df4e09479 /lib/sqlalchemy/engine/interfaces.py | |
parent | d45bd29918e217662ea2c0ee44608b0bbf0d4a06 (diff) | |
parent | 00b5c10846e800304caa86549ab9da373b42fa5d (diff) | |
download | sqlalchemy-6a622c636ca5bc55d96b92652fd43b914a77645c.tar.gz |
Merge "Modernize internal reflection"
Diffstat (limited to 'lib/sqlalchemy/engine/interfaces.py')
-rw-r--r-- | lib/sqlalchemy/engine/interfaces.py | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/lib/sqlalchemy/engine/interfaces.py b/lib/sqlalchemy/engine/interfaces.py index 4a63e3d84..5bd3b1d3e 100644 --- a/lib/sqlalchemy/engine/interfaces.py +++ b/lib/sqlalchemy/engine/interfaces.py @@ -196,28 +196,6 @@ class Dialect(object): pass - def reflecttable( - self, connection, table, include_columns, exclude_columns, resolve_fks - ): - """Load table description from the database. - - Given a :class:`.Connection` and a - :class:`~sqlalchemy.schema.Table` object, reflect its columns and - properties from the database. - - The implementation of this method is provided by - :meth:`.DefaultDialect.reflecttable`, which makes use of - :class:`.Inspector` to retrieve column information. - - Dialects should **not** seek to implement this method, and should - instead implement individual schema inspection operations such as - :meth:`.Dialect.get_columns`, :meth:`.Dialect.get_pk_constraint`, - etc. - - """ - - raise NotImplementedError() - def get_columns(self, connection, table_name, schema=None, **kw): """Return information about columns in `table_name`. @@ -450,7 +428,7 @@ class Dialect(object): """ raise NotImplementedError() - def has_table(self, connection, table_name, schema=None): + def has_table(self, connection, table_name, schema=None, **kw): """Check the existence of a particular table in the database. Given a :class:`.Connection` object and a string @@ -461,7 +439,7 @@ class Dialect(object): raise NotImplementedError() - def has_sequence(self, connection, sequence_name, schema=None): + def has_sequence(self, connection, sequence_name, schema=None, **kw): """Check the existence of a particular sequence in the database. Given a :class:`.Connection` object and a string |