コード例 #1
0
    def __init__(self, host, database, user=None, password=None, dbtype=None):
        from txdav.base.datastore.subpostgres import postgres

        ADBAPIPostgreSQLMixin.__init__(self,)
        ProxyDB.__init__(
            self, "Proxies", postgres.__name__, (),
            host=host, database=database, user=user, password=password,
        )
        if dbtype:
            ProxyDB.schema_type = dbtype
コード例 #2
0
    def __init__(self, host, database, user=None, password=None, dbtype=None):
        from txdav.base.datastore.subpostgres import postgres

        ADBAPIPostgreSQLMixin.__init__(self,)
        ProxyDB.__init__(
            self, "Proxies", postgres.__name__, (),
            host=host, database=database, user=user, password=password,
        )
        if dbtype:
            ProxyDB.schema_type = dbtype
コード例 #3
0
    def __init__(self, host, database, user=None, password=None):

        ADBAPIPostgreSQLMixin.__init__(self)
        AugmentADAPI.__init__(
            self,
            "Augments",
            "pgdb",
            (),
            host=host,
            database=database,
            user=user,
            password=password,
        )
コード例 #4
0
    def __init__(self, host, database, user=None, password=None, dbtype=None):

        ADBAPIPostgreSQLMixin.__init__(self, )
        ProxyDB.__init__(
            self,
            "Proxies",
            "pgdb",
            (),
            host=host,
            database=database,
            user=user,
            password=password,
        )
        if dbtype:
            ProxyDB.schema_type = dbtype
コード例 #5
0
    def __init__(self, host, database, user=None, password=None, dbtype=None):

        ADBAPIPostgreSQLMixin.__init__(self, )
        ProxyDB.__init__(self, "Proxies", "pgdb", (), host=host, database=database, user=user, password=password,)
        if dbtype:
            ProxyDB.schema_type = dbtype
コード例 #6
0
 def __init__(self, host, database, user=None, password=None):
     
     ADBAPIPostgreSQLMixin.__init__(self)
     AugmentADAPI.__init__(self, "Augments", "pgdb", (), host=host, database=database, user=user, password=password,)