OK ive gone thru and converted __ALL__ to __all__, and its bizarre how I didnt really notice it since it was never taking effect. now that it is, I made some cleanup to the import scheme.

so you can, as someone suggested, just do:

from sqlalchemy import *

and that wil get you all the names you need to call create_engine, create tables, sql clauses, mappers, and objectstore calls.

if thats too many symbols, you can always break it down to importing from the individual modules.

I also made some adjustments to the docs (however incomplete they still are) to reflect these changes as well as corrections to all the sqlite engine calls.

On Nov 29, 2005, at 10:49 AM, Tim Golden wrote:

I couldn't find how to attach a patch to a ticket (maybe it's not
possible) so I attach it here. This patch simply fixes the minor issue
that the databases subpackage exports __ALL__ rather than __all__.
Anyone doing "from sqlalchemy.databases select *" will get nothing. The
patch is against Subversion r664.

TJG

______________________________________________________________________ __
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
______________________________________________________________________ __
<sqlalchemy-all.patch>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to