Azure Event Grid Client Library Python Samples

Sync samples

These code samples show common champion scenario operations with the Azure Event Grid client library.

To publish events, dict representation of the models could also be used as follows:

Async samples

These code samples show common champion scenario operations with the Azure Event Grid client library using the async client.

To publish events, dict representation of the models could also be used as follows:

More Samples

  • More samples related to the send scenario can be seen here.
  • To see more samples related to consuming a payload from different messaging services as a typed object, please visit Consume Samples