Skip to main content

AmqpDsn

A type that will accept any AMQP DSN.

Methods


_constraints()

def _constraints() - > [UrlConstraints](urlconstraints.md?sid=pydantic_networks_urlconstraints)

Defines the validation constraints for AMQP Data Source Names, restricting the allowed URI schemes to 'amqp' and 'amqps'.

Returns

TypeDescription
[UrlConstraints](urlconstraints.md?sid=pydantic_networks_urlconstraints)A configuration object specifying the allowed protocols for the connection string.