Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Original continuum #1

Draft
wants to merge 119 commits into
base: master
Choose a base branch
from
Draft

Original continuum #1

wants to merge 119 commits into from

Conversation

JaymoKang
Copy link
Member

No description provided.

vault and others added 30 commits March 21, 2016 13:25
…ment

improve memory usage for vacuum on large tables
Fixes for a couple of issues related to using multiple schemas
As stated on kvesteri#101, quickstart example doesn't work as is. I've adapted the snippet to let it work without problem if someone copy and paste it.
As stated on kvesteri#101, quickstart example doesn't work as is. I've adapted the snippet to let it work without problem if someone copy and paste it.
Update snippets on documentation
…_relationships

don't include excluded properties
Hotfix/track cloned connections (trialspark#2)

Hotfix/track cloned connections (trialspark#3)

change iterations

use only ConnectionFairy as indexes

create new dict entry for clones

create entry using old connection

create entry using session

revert to event listening strategy

remove cloned connections on rollback

treat None case when cleaning connections

Hotfix/track cloned connections (trialspark#2)

Hotfix/track cloned connections (trialspark#3)

change iterations

use only ConnectionFairy as indexes

create new dict entry for clones

create entry using old connection

create entry using session

revert to event listening strategy

remove cloned connections on rollback

treat None case when cleaning connections
Raising a new KeyError means you lose the original stacktrace, which
is going to be more useful since it'll contain more information about
the relevant context for this error.
…ption

Reraise original exception instead of a new one
marksteward and others added 30 commits January 19, 2022 00:37
…ails without TransactionChanges plugin" and fix that has Transaction.entity_names raise a NoChangesColumn instead of AttributeError.
…ansaction_changes.py and tests/inheritance/test_single_table_inheritance.py
…ject to scalar subquery

Tested by running `DB=sqlite py.test tests`. With master: 653 passed, 99 skipped, 4909 warnings in 65.90s (0:01:05) With this change: 653 passed, 99 skipped, 4695 warnings in 64.93s (0:01:04)
fix for unit_of_work.py:263: SAWarning: implicitly coercing SELECT object to scalar subquery
Following Flask-Login documentation we should use current_user.get_id()
instead of current_user.id.  (closes kvesteri#149)
https://flask-login.readthedocs.io/en/latest/#your-user-class

Signed-off-by: Jiri Kuncar <[email protected]>
fix issue 85 "TransactionBase.changed_entities fails without TransactionChanges plugin"
Pass sync_triggers kwargs through to create_triggers

Allows use of native versioning without mod tracking
Previously we seem to have relied on the login state not being preserved
across contexts, but it's now moved to `g`. Using login_user instead of
grovelling inside flask-login internals does the trick.
When handling assoc tables, we use the existing properties and use them
for another query for the version tables.
But if we modify the existing dict - in some dialects, that causes the
original query to be modified (For example oracle with cx-oracle library)

Avoid mutating the properties to avoid such issues.
* fixes for scalar_subquery and subquery warnings in SQLA>=1.4

Co-authored-by: Mark Steward <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.