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

All Samples(5)  |  Call(1)  |  Derive(1)  |  Import(3)

src/p/r/Products.CCSQLMethods-2.0/Products/CCSQLMethods/__init__.py   Products.CCSQLMethods(Download)
 
try:
    from Products.CMFCore.FSZSQLMethod import FSZSQLMethod
    from Products.CMFCore.DirectoryView import registerFileExtension, registerMetaType
 
    class FSCCSQLMethod(SQL.SQL, FSZSQLMethod):

src/e/r/erp5-HEAD/product/ERP5Type/patches/FSZSQLMethod.py   erp5(Download)
#
 
from Products.CMFCore.FSZSQLMethod import FSZSQLMethod
from Products.ZSQLMethods.SQL import SQL
 

src/p/r/Products.CMFCore-2.2.8/Products/CMFCore/tests/test_FSZSQLMethod.py   Products.CMFCore(Download)
 
from Products.CMFCore.FSMetadata import FSMetadata
from Products.CMFCore.FSZSQLMethod import FSZSQLMethod
from Products.CMFCore.tests.base.testcase import FSDVTest
from Products.CMFCore.tests.base.testcase import SecurityTest
    def _makeOne( self, id, filename ):
        path = join(self.skin_path_name, filename)
        metadata = FSMetadata(path)
        metadata.read()
        return FSZSQLMethod( id, path, properties=metadata.getProperties() )