On this pagePostgresDsn A type that will accept any Postgres DSN. Methods host() @classmethoddef host() - > str The required URL host. Returns TypeDescriptionstrThe hostname or IP address of the Postgres server extracted from the DSN.