Skip to content

Commit

Permalink
adding eventgrid fixes, resetting to feature branch (#24046)
Browse files Browse the repository at this point in the history
  • Loading branch information
l0lawrence committed Apr 18, 2022
1 parent c6637c6 commit 155954d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
# THE VALUES IN THE ENUM ARE AUTO-GENERATED. DO NOT EDIT THIS MANUALLY.
# --------------------------------------------------------------------------------------------
from enum import Enum
from azure.core import CaseInsensitiveEnumMeta

# pylint: disable=line-too-long

class SystemEventNames(str, Enum):
# pylint: disable=enum-must-be-uppercase
class SystemEventNames(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""
This enum represents the names of the various event types for the system events published to
Azure Event Grid. To check the list of recognizable system topics,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
ListEventType = Union[List[CloudEvent], List[EventGridEvent], List[Dict]]


class EventGridPublisherClient(object):
class EventGridPublisherClient(object): # pylint: disable=client-accepts-api-version-keyword
"""EventGridPublisherClient publishes events to an EventGrid topic or domain.
It can be used to publish either an EventGridEvent, a CloudEvent or a Custom Schema.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
ListEventType = Union[List[CloudEvent], List[EventGridEvent], List[Dict]]


class EventGridPublisherClient:
class EventGridPublisherClient: # pylint: disable=client-accepts-api-version-keyword
"""Asynchronous EventGridPublisherClient publishes events to an EventGrid topic or domain.
It can be used to publish either an EventGridEvent, a CloudEvent or a Custom Schema.
Expand Down

0 comments on commit 155954d

Please sign in to comment.