From c4af8e2b55d900732f4230288f9cf4b1ef801abf Mon Sep 17 00:00:00 2001 From: Bao Trinh Date: Sat, 15 Jan 2022 22:05:36 -0600 Subject: [PATCH] add enum definitions --- pika-stubs/delivery_mode.pyi | 6 ++++++ pika-stubs/exchange_type.pyi | 8 ++++++++ 2 files changed, 14 insertions(+) create mode 100644 pika-stubs/delivery_mode.pyi create mode 100644 pika-stubs/exchange_type.pyi diff --git a/pika-stubs/delivery_mode.pyi b/pika-stubs/delivery_mode.pyi new file mode 100644 index 0000000..379bbd8 --- /dev/null +++ b/pika-stubs/delivery_mode.pyi @@ -0,0 +1,6 @@ +from enum import Enum + + +class DeliveryMode(Enum): + Transient: int + Persistent: int diff --git a/pika-stubs/exchange_type.pyi b/pika-stubs/exchange_type.pyi new file mode 100644 index 0000000..9ce96dc --- /dev/null +++ b/pika-stubs/exchange_type.pyi @@ -0,0 +1,8 @@ +from enum import Enum + + +class ExchangeType(Enum): + direct: str + fanout: str + headers: str + topic: str