summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/engine
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-03-18 22:35:19 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-03-18 22:35:19 +0000
commit43b70fc86b1c7b0549a2902559be932ca361921b (patch)
tree1435c517cecc676ffb8b490082b87933730276a1 /lib/sqlalchemy/engine
parent8f788f683ba64e7e0c495454883ca18dd2ae5f11 (diff)
downloadsqlalchemy-43b70fc86b1c7b0549a2902559be932ca361921b.tar.gz
- added db modules to genned docstrings
- had to tweak out latest MS-SQL module change. cant do ImportErrors right now until module importing is moved to the connection phase across all dialects. - took out "his" from url docstrings - postgres doesnt do an import *
Diffstat (limited to 'lib/sqlalchemy/engine')
-rw-r--r--lib/sqlalchemy/engine/__init__.py3
-rw-r--r--lib/sqlalchemy/engine/url.py4
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/sqlalchemy/engine/__init__.py b/lib/sqlalchemy/engine/__init__.py
index e72c37553..43dec46e3 100644
--- a/lib/sqlalchemy/engine/__init__.py
+++ b/lib/sqlalchemy/engine/__init__.py
@@ -31,8 +31,7 @@ def engine_descriptors():
"""
result = []
- #for module in sqlalchemy.databases.__all__:
- for module in ['sqlite', 'postgres', 'mysql']:
+ for module in sqlalchemy.databases.__all__:
module = getattr(__import__('sqlalchemy.databases.%s' % module).databases, module)
result.append(module.descriptor())
return result
diff --git a/lib/sqlalchemy/engine/url.py b/lib/sqlalchemy/engine/url.py
index 8f9d33d54..353a9f840 100644
--- a/lib/sqlalchemy/engine/url.py
+++ b/lib/sqlalchemy/engine/url.py
@@ -17,13 +17,13 @@ class URL(object):
Attributes on URL include:
drivername
- The name of the database backend.
+ The name of the database backend. this name will correspond to a module in sqlalchemy/databases
username
The user name for the connection.
password
- His password.
+ database password.
host
The name of the host.