Did I find the right examples for you? yes no

All Samples(16)  |  Call(8)  |  Derive(0)  |  Import(8)

src/s/q/SQLAlchemy-Continuum-1.0-b4/sqlalchemy_continuum/relationship_builder.py   SQLAlchemy-Continuum(Download)
import sqlalchemy as sa
from .table_builder import TableBuilder
from .expression_reflector import ObjectExpressionReflector
from .operation import Operation
from .utils import version_table, version_class, option
        parent object's RelationshipProperty.
        """
        self.local_cls = version_class(self.model)
        try:
            self.remote_cls = version_class(self.property.mapper.class_)

src/s/q/sqlalchemy-continuum-HEAD/sqlalchemy_continuum/relationship_builder.py   sqlalchemy-continuum(Download)
from .operation import Operation
from .table_builder import TableBuilder
from .utils import version_table, version_class, option
 
 
        parent object's RelationshipProperty.
        """
        self.local_cls = version_class(self.model)
        self.versioned = False
        try:
            self.remote_cls = version_class(self.property.mapper.class_)

src/s/q/SQLAlchemy-Continuum-1.0-b4/sqlalchemy_continuum/plugins/activity.py   SQLAlchemy-Continuum(Download)
from .base import Plugin
from ..factory import ModelFactory
from ..utils import version_class, version_obj
 
 
                        return object_version.transaction_id
 
                    version_cls = version_class(obj.__class__)
                    return session.query(
                        sa.func.max(version_cls.transaction_id)

src/s/q/sqlalchemy-continuum-HEAD/sqlalchemy_continuum/plugins/activity.py   sqlalchemy-continuum(Download)
from .base import Plugin
from ..factory import ModelFactory
from ..utils import version_class, version_obj
 
 
                        return object_version.transaction_id
 
                    version_cls = version_class(obj.__class__)
                    return session.query(
                        sa.func.max(version_cls.transaction_id)

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,
        :param target: Parent object to create the version object for
        """
        version_cls = version_class(target.__class__)
        version_id = identity(target) + (self.current_transaction.id, )
        version_key = (version_cls, version_id)

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,
        :param target: Parent object to create the version object for
        """
        version_cls = version_class(target.__class__)
        version_id = identity(target) + (self.current_transaction.id, )
        version_key = (version_cls, version_id)

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,

src/s/q/SQLAlchemy-Continuum-1.0-b4/sqlalchemy_continuum/__init__.py   SQLAlchemy-Continuum(Download)
import sqlalchemy as sa
from .manager import VersioningManager
from .operation import Operation
from .unit_of_work import UnitOfWork
from .utils import (