Module rabbit.queue

View Source
import attr

@attr.s(slots=True, frozen=True)

class Queue:

    name = attr.ib(type=str, validator=attr.validators.instance_of(str))

    durable = attr.ib(

        type=bool, default=True, validator=attr.validators.instance_of(bool)

    )

    arguments = attr.ib(

        type=dict, default={}, validator=attr.validators.instance_of(dict)

    )

Classes

Queue

class Queue(
    name: str,
    durable: bool = True,
    arguments: dict = {}
)
View Source
class Queue:

    name = attr.ib(type=str, validator=attr.validators.instance_of(str))

    durable = attr.ib(

        type=bool, default=True, validator=attr.validators.instance_of(bool)

    )

    arguments = attr.ib(

        type=dict, default={}, validator=attr.validators.instance_of(dict)

    )

Class variables

arguments
durable
name

Instance variables

arguments
durable
name