Skip to content

Commit

Permalink
add enum definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
baodrate committed Jan 16, 2022
1 parent 2d2ec47 commit c4af8e2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pika-stubs/delivery_mode.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from enum import Enum


class DeliveryMode(Enum):
Transient: int
Persistent: int
8 changes: 8 additions & 0 deletions pika-stubs/exchange_type.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from enum import Enum


class ExchangeType(Enum):
direct: str
fanout: str
headers: str
topic: str

0 comments on commit c4af8e2

Please sign in to comment.