Changeset 477 for elixir/trunk/elixir/relationships.py
- Timestamp:
- 09/29/09 18:12:03 (4 years ago)
- Files:
-
- 1 modified
-
elixir/trunk/elixir/relationships.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
elixir/trunk/elixir/relationships.py
r476 r477 301 301 | | ``set null``, or ``set default``. | 302 302 +--------------------+--------------------------------------------------------+ 303 | ``column_format`` | DEPRECATED. Specify an alternate format string for | 303 | ``table_kwargs`` | A dictionary holding any other keyword argument you | 304 | | might want to pass to the underlying Table object. | 305 +--------------------+--------------------------------------------------------+| ``column_format`` | DEPRECATED. Specify an alternate format string for | 304 306 | | naming the | 305 307 | | columns in the mapping table. The default value is | … … 839 841 column_format=None, 840 842 filter=None, 843 table_kwargs=None, 841 844 *args, **kwargs): 842 845 self.user_tablename = tablename … … 880 883 if 'viewonly' not in kwargs: 881 884 kwargs['viewonly'] = True 885 886 self.table_kwargs = table_kwargs or {} 882 887 883 888 self.primaryjoin_clauses = [] … … 976 981 self.target.__name__)) 977 982 978 self.table = Table(tablename, e1_desc.metadata, autoload=True) 983 self.table = Table(tablename, e1_desc.metadata, autoload=True, 984 **self.table_kwargs) 979 985 if 'primaryjoin' not in self.kwargs or \ 980 986 'secondaryjoin' not in self.kwargs: … … 1080 1086 1081 1087 self.table = Table(tablename, e1_desc.metadata, 1082 schema=schema, *args )1088 schema=schema, *args, **self.table_kwargs) 1083 1089 if DEBUG: 1084 1090 print self.table.repr2()
