<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy.git/lib/sqlalchemy/orm/session.py, branch rel_0_9</title>
<subtitle>github.com: zzzeek/sqlalchemy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/'/>
<entry>
<title>- fully hyperlink the docstring for make_transient</title>
<updated>2016-02-08T23:07:45+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-02-08T23:05:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=13473af1b78f0971ce371b7dc5a07851862627d8'/>
<id>13473af1b78f0971ce371b7dc5a07851862627d8</id>
<content type='text'>
- establish make_transient and make_transient_to_detached as special-use,
advanced use only functions
- list all conditions under make_transient() under which an attribute
will not be loaded and establish that make_transient() does not attempt
to load all attributes before detaching the object from its
session, fixes #3640

(cherry picked from commit 7eff4e8f3e3999d9eb914647d8776e6e5b7ee88e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- establish make_transient and make_transient_to_detached as special-use,
advanced use only functions
- list all conditions under make_transient() under which an attribute
will not be loaded and establish that make_transient() does not attempt
to load all attributes before detaching the object from its
session, fixes #3640

(cherry picked from commit 7eff4e8f3e3999d9eb914647d8776e6e5b7ee88e)
</pre>
</div>
</content>
</entry>
<entry>
<title>- use consistent and descriptive language in all cases</title>
<updated>2015-08-28T03:40:13+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-08-28T03:38:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=6192af397f0fb5d8fc1029296d5c7c8a4cbbbc11'/>
<id>6192af397f0fb5d8fc1029296d5c7c8a4cbbbc11</id>
<content type='text'>
where we refer to the "weak_identity_map" option, and add additional
exposition in the session documentation which refers to it.
fixes #3517

(cherry picked from commit 956907a4b15f6dcc492582a7ad03706ff62d96fb)

Conflicts:
	lib/sqlalchemy/orm/identity.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
where we refer to the "weak_identity_map" option, and add additional
exposition in the session documentation which refers to it.
fixes #3517

(cherry picked from commit 956907a4b15f6dcc492582a7ad03706ff62d96fb)

Conflicts:
	lib/sqlalchemy/orm/identity.py
</pre>
</div>
</content>
</entry>
<entry>
<title>fix typo int-&gt;into</title>
<updated>2015-08-09T14:23:43+00:00</updated>
<author>
<name>halfcrazy</name>
<email>hackzhuyan@gmail.com</email>
</author>
<published>2015-08-09T04:00:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=8f8453e469b005974863a37193c16c13e9421f12'/>
<id>8f8453e469b005974863a37193c16c13e9421f12</id>
<content type='text'>
(cherry picked from commit 51870ddaef8abf61ee4c8d6337a72db5395a0a85)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 51870ddaef8abf61ee4c8d6337a72db5395a0a85)
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fixed bug where the state tracking within multiple, nested</title>
<updated>2015-04-02T16:21:00+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-04-02T16:19:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=7c32b4c2a61e52c1eceb63ebc154c9cc528feb9e'/>
<id>7c32b4c2a61e52c1eceb63ebc154c9cc528feb9e</id>
<content type='text'>
:meth:`.Session.begin_nested` operations would fail to propagate
the "dirty" flag for an object that had been updated within
the inner savepoint, such that if the enclosing savepoint were
rolled back, the object would not be part of the state that was
expired and therefore reverted to its database state.
fixes #3352

(cherry picked from commit 359f471a1203cafd5dc99b5b078ba7d788b67cec)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
:meth:`.Session.begin_nested` operations would fail to propagate
the "dirty" flag for an object that had been updated within
the inner savepoint, such that if the enclosing savepoint were
rolled back, the object would not be part of the state that was
expired and therefore reverted to its database state.
fixes #3352

(cherry picked from commit 359f471a1203cafd5dc99b5b078ba7d788b67cec)
</pre>
</div>
</content>
</entry>
<entry>
<title>- copyright 2015</title>
<updated>2015-03-10T19:27:20+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-03-10T19:27:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=c3c889d8826062a3efe19d28094c11ecc1313b3f'/>
<id>c3c889d8826062a3efe19d28094c11ecc1313b3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- Fixed bug where internal assertion would fail in the case where</title>
<updated>2015-02-20T05:01:58+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-02-20T05:01:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=f5d8a185940952f5c3647caa2d7fb4d1aa495a29'/>
<id>f5d8a185940952f5c3647caa2d7fb4d1aa495a29</id>
<content type='text'>
an ``after_rollback()`` handler for a :class:`.Session` incorrectly
adds state to that :class:`.Session` within the handler, and the task
to warn and remove this state (established by :ticket:`2389`) attempts
to proceed.
fixes #3309

(cherry picked from commit ad66266d3d275a6129e3270eaacdad171bc10817)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
an ``after_rollback()`` handler for a :class:`.Session` incorrectly
adds state to that :class:`.Session` within the handler, and the task
to warn and remove this state (established by :ticket:`2389`) attempts
to proceed.
fixes #3309

(cherry picked from commit ad66266d3d275a6129e3270eaacdad171bc10817)
</pre>
</div>
</content>
</entry>
<entry>
<title>- A warning is emitted if the ``isolation_level`` parameter is used</title>
<updated>2015-02-04T23:37:51+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2015-02-04T22:07:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=280497cc5bdae8a1aea2abd613fd22ec89166cd4'/>
<id>280497cc5bdae8a1aea2abd613fd22ec89166cd4</id>
<content type='text'>
with :meth:`.Connection.execution_options` when a :class:`.Transaction`
is in play; DBAPIs and/or SQLAlchemy dialects such as psycopg2,
MySQLdb may implicitly rollback or commit the transaction, or
not change the setting til next transaction, so this is never safe.
- Added new parameter :paramref:`.Session.connection.execution_options`
which may be used to set up execution options on a :class:`.Connection`
when it is first checked out, before the transaction has begun.
This is used to set up options such as isolation level on the
connection before the transaction starts.
- added new documentation section
detailing best practices for setting transaction isolation with
sessions.
fixes #3296

(cherry picked from commit 9cbe235810b7c0c24d2556b4bb581b0207812e2d)

Conflicts:
	test/orm/test_bind.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
with :meth:`.Connection.execution_options` when a :class:`.Transaction`
is in play; DBAPIs and/or SQLAlchemy dialects such as psycopg2,
MySQLdb may implicitly rollback or commit the transaction, or
not change the setting til next transaction, so this is never safe.
- Added new parameter :paramref:`.Session.connection.execution_options`
which may be used to set up execution options on a :class:`.Connection`
when it is first checked out, before the transaction has begun.
This is used to set up options such as isolation level on the
connection before the transaction starts.
- added new documentation section
detailing best practices for setting transaction isolation with
sessions.
fixes #3296

(cherry picked from commit 9cbe235810b7c0c24d2556b4bb581b0207812e2d)

Conflicts:
	test/orm/test_bind.py
</pre>
</div>
</content>
</entry>
<entry>
<title>- Added new method :meth:`.Session.invalidate`, functions similarly</title>
<updated>2014-12-13T01:00:14+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2014-12-13T00:59:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=c7de21b92cc072750607eef88f729f8cc20a6fb0'/>
<id>c7de21b92cc072750607eef88f729f8cc20a6fb0</id>
<content type='text'>
to :meth:`.Session.close`, except also calls
:meth:`.Connection.invalidate`
on all connections, guaranteeing that they will not be returned to
the connection pool.  This is useful in situations e.g. dealing
with gevent timeouts when it is not safe to use the connection further,
even for rollbacks.
references #3258

(cherry picked from commit cf7981f60d485f17465f44c6ff651ae283ade377)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to :meth:`.Session.close`, except also calls
:meth:`.Connection.invalidate`
on all connections, guaranteeing that they will not be returned to
the connection pool.  This is useful in situations e.g. dealing
with gevent timeouts when it is not safe to use the connection further,
even for rollbacks.
references #3258

(cherry picked from commit cf7981f60d485f17465f44c6ff651ae283ade377)
</pre>
</div>
</content>
</entry>
<entry>
<title>- repair documenation for object_session(), returns None if no</title>
<updated>2014-10-19T20:56:18+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2014-10-19T20:56:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=de8754faf9a13b1c5dfb0c114e22ae8b49363a8c'/>
<id>de8754faf9a13b1c5dfb0c114e22ae8b49363a8c</id>
<content type='text'>
session, and refer to InstanceState.session.  Add note about
objects that are deleted within an ongoing transaction.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
session, and refer to InstanceState.session.  Add note about
objects that are deleted within an ongoing transaction.
</pre>
</div>
</content>
</entry>
<entry>
<title>- apply pep8 formatting to sqlalchemy/sql, sqlalchemy/util, sqlalchemy/dialects,</title>
<updated>2014-07-20T17:11:41+00:00</updated>
<author>
<name>Brian Jarrett</name>
<email>celttechie@gmail.com</email>
</author>
<published>2014-07-20T16:44:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=6b49e8c7c7fb0ff9329d50ec95d38facf062cfb8'/>
<id>6b49e8c7c7fb0ff9329d50ec95d38facf062cfb8</id>
<content type='text'>
sqlalchemy/orm, sqlalchemy/event, sqlalchemy/testing

Conflicts:
	lib/sqlalchemy/dialects/mssql/base.py
	lib/sqlalchemy/dialects/mysql/base.py
	lib/sqlalchemy/dialects/mysql/mysqldb.py
	lib/sqlalchemy/dialects/oracle/base.py
	lib/sqlalchemy/dialects/sybase/base.py
	lib/sqlalchemy/orm/attributes.py
	lib/sqlalchemy/orm/evaluator.py
	lib/sqlalchemy/orm/identity.py
	lib/sqlalchemy/orm/instrumentation.py
	lib/sqlalchemy/orm/loading.py
	lib/sqlalchemy/orm/mapper.py
	lib/sqlalchemy/orm/session.py
	lib/sqlalchemy/orm/sync.py
	lib/sqlalchemy/sql/compiler.py
	lib/sqlalchemy/sql/selectable.py
	lib/sqlalchemy/testing/requirements.py
	lib/sqlalchemy/testing/suite/test_select.py
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sqlalchemy/orm, sqlalchemy/event, sqlalchemy/testing

Conflicts:
	lib/sqlalchemy/dialects/mssql/base.py
	lib/sqlalchemy/dialects/mysql/base.py
	lib/sqlalchemy/dialects/mysql/mysqldb.py
	lib/sqlalchemy/dialects/oracle/base.py
	lib/sqlalchemy/dialects/sybase/base.py
	lib/sqlalchemy/orm/attributes.py
	lib/sqlalchemy/orm/evaluator.py
	lib/sqlalchemy/orm/identity.py
	lib/sqlalchemy/orm/instrumentation.py
	lib/sqlalchemy/orm/loading.py
	lib/sqlalchemy/orm/mapper.py
	lib/sqlalchemy/orm/session.py
	lib/sqlalchemy/orm/sync.py
	lib/sqlalchemy/sql/compiler.py
	lib/sqlalchemy/sql/selectable.py
	lib/sqlalchemy/testing/requirements.py
	lib/sqlalchemy/testing/suite/test_select.py
</pre>
</div>
</content>
</entry>
</feed>
