Did I find the right examples for you? yes no

All Samples(17)  |  Call(12)  |  Derive(0)  |  Import(5)

        def tx_column_name(obj):
    return option(obj, 'transaction_column_name')
        


src/s/q/SQLAlchemy-Continuum-1.0-b4/sqlalchemy_continuum/fetcher.py   SQLAlchemy-Continuum(Download)
import operator
import sqlalchemy as sa
from sqlalchemy_utils import get_primary_keys, identity
from .utils import tx_column_name, end_tx_column_name
 
        getattr(obj_or_class, column_key)
        for column_key in get_primary_keys(obj_or_class).keys()
        if column_key != tx_column_name(obj_or_class)
    )
 
                    getattr(
                        obj.__class__,
                        tx_column_name(obj)
                    )
                    ==
            )
            .order_by(
                getattr(obj.__class__, tx_column_name(obj))
            )
        )
            .filter(
                sa.and_(
                    getattr(obj.__class__, tx_column_name(obj))
                    ==
                    getattr(obj, end_tx_column_name(obj)),

src/s/q/sqlalchemy-continuum-HEAD/sqlalchemy_continuum/fetcher.py   sqlalchemy-continuum(Download)
import operator
import sqlalchemy as sa
from sqlalchemy_utils import get_primary_keys, identity
from .utils import tx_column_name, end_tx_column_name
 
        getattr(obj_or_class, column_key)
        for column_key in get_primary_keys(obj_or_class).keys()
        if column_key != tx_column_name(obj_or_class)
    )
 
                    getattr(
                        obj.__class__,
                        tx_column_name(obj)
                    )
                    ==
            )
            .order_by(
                getattr(obj.__class__, tx_column_name(obj))
            )
        )
            .filter(
                sa.and_(
                    getattr(obj.__class__, tx_column_name(obj))
                    ==
                    getattr(obj, end_tx_column_name(obj)),

src/s/q/SQLAlchemy-Continuum-1.0-b4/sqlalchemy_continuum/unit_of_work.py   SQLAlchemy-Continuum(Download)
from .fetcher import parent_criteria
from .operation import Operations
from .utils import (
    end_tx_column_name,
    version_class,
                            getattr(
                                class_,
                                tx_column_name(version_obj)
                            ) == subquery,
                            *parent_criteria(

src/s/q/sqlalchemy-continuum-HEAD/sqlalchemy_continuum/unit_of_work.py   sqlalchemy-continuum(Download)
from .fetcher import parent_criteria
from .operation import Operations
from .utils import (
    end_tx_column_name,
    version_class,
                            getattr(
                                class_,
                                tx_column_name(version_obj)
                            ) == subquery,
                            *parent_criteria(

src/s/q/sqlalchemy-continuum-HEAD/sqlalchemy_continuum/__init__.py   sqlalchemy-continuum(Download)
from .transaction import TransactionFactory
from .unit_of_work import UnitOfWork
from .utils import (
    changeset,
    get_bind,