From a8da69cbd7825ca3e349c29eac9e037b506ab94f Mon Sep 17 00:00:00 2001 From: Randall Smith Date: Wed, 4 Mar 2009 04:15:57 +0000 Subject: [PATCH] added **kw to base BaseDialect reflection method sigs --- lib/sqlalchemy/engine/base.py | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/lib/sqlalchemy/engine/base.py b/lib/sqlalchemy/engine/base.py index 81e95c1c83..273c41cf4b 100644 --- a/lib/sqlalchemy/engine/base.py +++ b/lib/sqlalchemy/engine/base.py @@ -177,7 +177,7 @@ class Dialect(object): raise NotImplementedError() - def get_columns(self, connection, table_name, schema=None, info_cache=None): + def get_columns(self, connection, table_name, schema=None, **kw): """Return information about columns in `table_name`. Given a [sqlalchemy.engine#Connection], a string `table_name`, and an @@ -202,8 +202,7 @@ class Dialect(object): raise NotImplementedError() - def get_primary_keys(self, connection, table_name, schema=None, - info_cache=None): + def get_primary_keys(self, connection, table_name, schema=None, **kw): """Return information about primary keys in `table_name`. Given a [sqlalchemy.engine#Connection], a string `table_name`, and an @@ -214,8 +213,7 @@ class Dialect(object): raise NotImplementedError() - def get_foreign_keys(self, connection, table_name, schema=None, - info_cache=None): + def get_foreign_keys(self, connection, table_name, schema=None, **kw): """Return information about foreign_keys in `table_name`. Given a [sqlalchemy.engine#Connection], a string `table_name`, and an @@ -241,7 +239,7 @@ class Dialect(object): raise NotImplementedError() - def get_view_names(self, connection, schema=None, info_cache=None): + def get_view_names(self, connection, schema=None, **kw): """Return a list of all view names available in the database. schema: @@ -251,8 +249,7 @@ class Dialect(object): raise NotImplementedError() - def get_view_definition(self, connection, view_name, schema=None, - info_cache=None): + def get_view_definition(self, connection, view_name, schema=None, **kw): """Return view definition. Given a [sqlalchemy.engine#Connection], a string `view_name`, and an @@ -262,7 +259,7 @@ class Dialect(object): raise NotImplementedError() - def get_indexes(self, connection, table_name, schema=None, info_cache=None): + def get_indexes(self, connection, table_name, schema=None, **kw): """Return information about indexes in `table_name`. Given a [sqlalchemy.engine#Connection], a string `table_name` and an @@ -282,7 +279,6 @@ class Dialect(object): raise NotImplementedError() - def has_table(self, connection, table_name, schema=None): """Check the existence of a particular table in the database. -- 2.47.3