Skip to main content

RedisDsn

A type that will accept any Redis DSN.

Methods


host()

@classmethod
def host() - > string

The required URL host.

Returns

TypeDescription
stringThe hostname or IP address of the Redis server extracted from the DSN