diff options
| author | Ants Aasma <ants.aasma@gmail.com> | 2007-10-01 16:29:26 +0000 |
|---|---|---|
| committer | Ants Aasma <ants.aasma@gmail.com> | 2007-10-01 16:29:26 +0000 |
| commit | fe3178e22457556fc98f577468f0bb24d28ce300 (patch) | |
| tree | 755f5c0cc4df17c2bc6561c708dfadc52ba402c7 /lib/sqlalchemy/schema.py | |
| parent | 0dde728591cb083e351cf1ff1998aaf1883ab7a1 (diff) | |
| download | sqlalchemy-fe3178e22457556fc98f577468f0bb24d28ce300.tar.gz | |
Make the postgres_where attribute to Index private to postgres module by using a kwargs attribute on the Index.
Diffstat (limited to 'lib/sqlalchemy/schema.py')
| -rw-r--r-- | lib/sqlalchemy/schema.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sqlalchemy/schema.py b/lib/sqlalchemy/schema.py index fce181cbb..8ca5567e4 100644 --- a/lib/sqlalchemy/schema.py +++ b/lib/sqlalchemy/schema.py @@ -956,7 +956,9 @@ class Index(SchemaItem): self.columns = [] self.table = None self.unique = kwargs.pop('unique', False) - self.postgres_where = kwargs.pop('postgres_where', None) + + self.kwargs = kwargs + self._init_items(*columns) def _init_items(self, *args): |
