Source code for gws.ext.db.provider.postgres

import gws.types as t
from .provider import Object


[docs]class Config(t.WithType): """Postgres/Postgis database provider""" database: str = '' #: database name host: str = 'localhost' #: database host password: str #: password port: int = 5432 #: database port timeout: t.Duration = 0 #: query timeout connectTimeout: t.Duration = 0 #: connection timeout uid: str #: unique id user: str #: username