Changeset 478 for elixir/trunk/elixir/relationships.py
- Timestamp:
- 09/29/09 18:53:07 (4 years ago)
- Files:
-
- 1 modified
-
elixir/trunk/elixir/relationships.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
elixir/trunk/elixir/relationships.py
r477 r478 915 915 return 916 916 917 # compute table_kwargs 918 complete_kwargs = options.options_defaults['table_options'].copy() 919 complete_kwargs.update(self.table_kwargs) 920 917 921 #needs: table_options['schema'], autoload, tablename, primary_keys, 918 922 #entity.__name__, table_fullname … … 982 986 983 987 self.table = Table(tablename, e1_desc.metadata, autoload=True, 984 ** self.table_kwargs)988 **complete_kwargs) 985 989 if 'primaryjoin' not in self.kwargs or \ 986 990 'secondaryjoin' not in self.kwargs: … … 1086 1090 1087 1091 self.table = Table(tablename, e1_desc.metadata, 1088 schema=schema, *args, ** self.table_kwargs)1092 schema=schema, *args, **complete_kwargs) 1089 1093 if DEBUG: 1090 1094 print self.table.repr2()
