EnvRedisDsn#

type safir.pydantic.EnvRedisDsn = Annotated[pydantic_core._pydantic_core.Url, pydantic.networks.UrlConstraints(max_length=None, allowed_schemes=['redis'], host_required=None, default_host=localhost, default_port=6379, default_path=/0, preserve_empty_path=None), pydantic.functional_validators.AfterValidator(func=safir.pydantic._types._validate_env_redis_dsn)]#

Redis data source URL honoring Docker environment variables.

Unlike the standard Pydantic RedisDsn type, this does not support the rediss scheme, which indicates the use of TLS.