summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/future
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2020-04-14 16:39:42 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2020-04-14 16:39:42 -0400
commit447c0750e1f739c4db1d0d20de182c297dc86e36 (patch)
treef3fc94e0871fb34205fc5695f82d882bea554839 /lib/sqlalchemy/future
parentd9b230e78c70c17a6856f4ff3b8380b9ce510702 (diff)
downloadsqlalchemy-447c0750e1f739c4db1d0d20de182c297dc86e36.tar.gz
Set up absolute references for create_engine and related
includes more replacements for create_engine(), Connection, disambiguation of Result from future/baked Change-Id: Icb60a79ee7a6c45ea9056c211ffd1be110da3b5e
Diffstat (limited to 'lib/sqlalchemy/future')
-rw-r--r--lib/sqlalchemy/future/result.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/sqlalchemy/future/result.py b/lib/sqlalchemy/future/result.py
index 583ff957a..82d87ddf1 100644
--- a/lib/sqlalchemy/future/result.py
+++ b/lib/sqlalchemy/future/result.py
@@ -26,14 +26,17 @@ class Result(Generative, BaseResult):
_post_creational_filter = None
def close(self):
- """Close this :class:`.Result`.
+ """Close this :class:`_future.Result`.
This closes out the underlying DBAPI cursor corresponding
to the statement execution, if one is still present. Note that the
- DBAPI cursor is automatically released when the :class:`.Result`
- exhausts all available rows. :meth:`.Result.close` is generally
+ DBAPI cursor is automatically released when the
+ :class:`_future.Result`
+ exhausts all available rows. :meth:`_future.Result.close`
+ is generally
an optional method except in the case when discarding a
- :class:`.Result` that still has additional rows pending for fetch.
+ :class:`_future.Result`
+ that still has additional rows pending for fetch.
After this method is called, it is no longer valid to call upon
the fetch methods, which will raise a :class:`.ResourceClosedError`