juxj / sqlautocode

Automatically exported from code.google.com/p/sqlautocode
Other
0 stars 0 forks source link

impost errors and pg dialect AttributeErrors with sqla 0.6beta2 #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install sqlalchemy0.6beta2
2. run sqlautocode on a valid (postgres db)

I have a patch on my clone, and would ask you to pull it from my repo:

https://code.google.com/r/paulbalomiri-sqlautocode/source/detail?
r=b27bd627ad2ca6895907bda3df0d35a4b1fc5c6b

The clone catches ImportErrors classes containing the word 'relation' and 
tries an import using 'relationship'
(see also http://hg.sqlalchemy.org/sqlalchemy/rev/a053c0708a43 ) 

db.dialect:
The table_names method has been renamed to get_tablenames
the get_default_schema_name renamed to default_schema_name. 

All changes are compatible with sqla 0.5

Original issue reported on code.google.com by paulbalo...@gmail.com on 28 Mar 2010 at 1:41

GoogleCodeExporter commented 9 years ago
Worked for me.  Thanks

Original comment by dswo...@gmail.com on 8 Apr 2010 at 11:33

GoogleCodeExporter commented 9 years ago
Fixed in trunk will make it into 0.6 final

Original comment by spamsch@gmail.com on 30 Oct 2010 at 1:41