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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/l/i/Live-Blog-HEAD/plugins/superdesk/__plugin__/superdesk/db_superdesk.py   Live-Blog(Download)
from ally.support.sqlalchemy.session import bindSession
from sql_alchemy import database_config
from sql_alchemy.database_config import alchemySessionCreator, alchemyEngine
from superdesk.meta.metadata_superdesk import meta
 
def alchemyEngineSuperdesk(): return alchemyEngine()
 
@ioc.before(db_security.updateMetasForSecurity)
def updateMetasForSuperdesk():
    db_security.metas().append(meta)  # The superdesk meta needs to be created before the security meta because of RacUser

src/l/i/liveblog-1.5.0/__plugin__/superdesk/db_superdesk.py   liveblog(Download)
from ally.support.sqlalchemy.session import bindSession
from sql_alchemy import database_config
from sql_alchemy.database_config import alchemySessionCreator, alchemyEngine
from superdesk.meta.metadata_superdesk import meta
 
def alchemyEngineSuperdesk(): return alchemyEngine()
 
@ioc.before(db_security.updateMetasForSecurity)
def updateMetasForSuperdesk():
    db_security.metas().append(meta)  # The superdesk meta needs to be created before the security meta because of RacUser