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

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

src/c/o/Community-Zenpacks-HEAD/ZenPacks.community.RDBMS/ZenPacks/community/RDBMS/__init__.py   Community-Zenpacks(Download)
from Products.ZenUtils.Utils import prepId
from Products.ZenWidgets import messaging
from Database import manage_addDatabase
from DBSrvInst import manage_addDBSrvInst
 
def addDatabase(self, id, userCreated, REQUEST=None):
    """Add a Database.
    """
    dbid = prepId(id)
    manage_addDatabase(self.softwaredatabases, id, userCreated)