Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(13)  |  Call(6)  |  Derive(0)  |  Import(7)

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Core/ModelUser.py   Webware-for-Python(Download)
import sys
from types import ModuleType
 
from MiscUtils.MixIn import MixIn
from MiscUtils import NoDefault
                        assert isinstance(baseClass, type)
                        assert isinstance(generatorThing, type)
                        MixIn(baseClass, generatorThing, mixInSuperMethods=True)
 
 

src/w/e/Webware-for-Python-1.1.1/MiddleKit/WebBrowser/MixIns.py   Webware-for-Python(Download)
def InstallMixIns():
    from MiscUtils.MixIn import MixIn
 
    theGlobals = globals()
    names = 'ObjectStore Klass MiddleObject Attr ObjRefAttr ListAttr'.split()
                pyClass = nameSpace[name]
                mixIn = theGlobals[name]
                MixIn(pyClass, mixIn)
                mixed = True
                continue

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Design/KlassSQLSerialColumnName.py   Webware-for-Python(Download)
 
 
from MiscUtils.MixIn import MixIn
from MiddleKit.Core.Klass import Klass
MixIn(Klass, KlassMixIn)

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Run/SQLObjectStore.py   Webware-for-Python(Download)
from MiscUtils import Funcs as funcs
from MiscUtils.DBPool import DBPool
from MiscUtils.MixIn import MixIn
 
 
                % (classIdName, self.klass().id(), objIdName, self.serialNum()))
 
MixIn(MiddleObject, MiddleObjectMixIn)
    # Normally we don't have to invoke MixIn()--it's done automatically.
    # However, that only works when augmenting MiddleKit.Core classes

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Design/PostgreSQLSQLGenerator.py   Webware-for-Python(Download)
            return "'%s'" % s.replace("\\", "\\\\").replace("'", "''")
 
from MiscUtils.MixIn import MixIn
 
from SQLGenerator import SQLGenerator
 
# PrimaryKey is not a core class, so we have to mix this in manually.
MixIn(PrimaryKeyBase, PrimaryKey)
 

src/w/e/Webware-for-Python-1.1.1/UserKit/UserManagerToFile.py   Webware-for-Python(Download)
 
from MiscUtils import NoDefault
from MiscUtils.MixIn import MixIn
 
from User import User
    def setUserClass(self, userClass):
        """Overridden to mix in UserMixIn to the class that is passed in."""
        MixIn(userClass, UserMixIn)
        super(UserManagerToFile, self).setUserClass(userClass)
 

src/w/e/Webware-for-Python-1.1.1/MiddleKit/Run/PostgreSQLObjectStore.py   Webware-for-Python(Download)
 
from MiscUtils import NoDefault
from MiscUtils.MixIn import MixIn
from MiddleKit.Run.ObjectKey import ObjectKey
from MiddleObject import MiddleObject