Exemplo n.º 1
0
 def load_dialect_impl(self, dialect):
     if dialect.name == "postgresql":
         return dialect.type_descriptor(pg_UUID())
     else:
         return dialect.type_descriptor(CHAR(32))
Exemplo n.º 2
0
 def load_dialect_impl(self, dialect):
     if dialect.name == 'postgresql':
         assert pg_UUID is not None
         return dialect.type_descriptor(pg_UUID())
     else:
         return dialect.type_descriptor(types.CHAR(32))
Exemplo n.º 3
0
Arquivo: types.py Projeto: shvar/redfs
 def load_dialect_impl(self, dialect):
     if dialect.name == 'postgresql':
         assert pg_UUID is not None
         return dialect.type_descriptor(pg_UUID())
     else:
         return dialect.type_descriptor(types.CHAR(32))
Exemplo n.º 4
0
 def load_dialect_impl(self, dialect):
     if dialect.name == "postgresql":
         return dialect.type_descriptor(pg_UUID())
     else:
         return dialect.type_descriptor(CHAR(32))