You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Azure Event Grid client library for Python - Version 4.7.1
13
+
# Azure Event Grid client library for Python - Version 4.8.0
15
14
16
15
17
16
Azure Event Grid is a fully-managed intelligent event routing service that allows for uniform event consumption using a publish-subscribe model.
@@ -20,12 +19,12 @@ Azure Event Grid is a fully-managed intelligent event routing service that allow
20
19
21
20
## _Disclaimer_
22
21
23
-
_Azure SDK Python packages support for Python 2.7 is ending 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
22
+
_Azure SDK Python packages support for Python 2.7 has ended on 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_
24
23
25
24
## Getting started
26
25
27
26
### Prerequisites
28
-
* Python 2.7, or 3.6 or later is required to use this package.
27
+
* Python 3.6 or later is required to use this package.
29
28
* You must have an [Azure subscription][azure_subscription] and an Event Grid Topic resource to use this package. Follow this [step-by-step tutorial](https://docs.microsoft.com/azure/event-grid/custom-event-quickstart-portal) to register the Event Grid resource provider and create Event Grid topics using the [Azure portal](https://portal.azure.com/). There is a [similar tutorial](https://docs.microsoft.com/azure/event-grid/custom-event-quickstart) using [Azure CLI](https://docs.microsoft.com/cli/azure).
30
29
31
30
@@ -62,7 +61,7 @@ Azure Event Grid provides integration with Azure Active Directory (Azure AD) for
62
61
63
62
To send events to a topic or domain with a `TokenCredential`, the authenticated identity should have the "EventGrid Data Sender" role assigned.
64
63
65
-
With the `azure-identity` package, you can seamlessly authorize requests in both development and production environments. To learn more about Azure Active Directory, see the [`azure-identity` README](https://github.com/Azure/azure-sdk-for-python/blob/azure-eventgrid_4.7.1/sdk/identity/azure-identity/README.md).
64
+
With the `azure-identity` package, you can seamlessly authorize requests in both development and production environments. To learn more about Azure Active Directory, see the [`azure-identity` README](https://github.com/Azure/azure-sdk-for-python/blob/azure-eventgrid_4.8.0/sdk/identity/azure-identity/README.md).
66
65
67
66
For example, you can use `DefaultAzureCredential` to construct a client which will authenticate using Azure Active Directory:
68
67
@@ -141,7 +140,7 @@ The following formats of events are allowed to be sent:
141
140
142
141
- A dict representation of any Custom Schema.
143
142
144
-
Please have a look at the [samples](https://github.com/Azure/azure-sdk-for-python/tree/azure-eventgrid_4.7.1/sdk/eventgrid/azure-eventgrid/samples) for detailed examples.
143
+
Please have a look at the [samples](https://github.com/Azure/azure-sdk-for-python/tree/azure-eventgrid_4.8.0/sdk/eventgrid/azure-eventgrid/samples) for detailed examples.
145
144
146
145
147
146
**Note:** It is important to know if your topic supports CloudEvents or EventGridEvents before publishing. If you send to a topic that does not support the schema of the event you are sending, send() will throw an exception.
@@ -460,44 +459,44 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
0 commit comments