Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate EventGrid data plane SDK to include event Schemas for new … #5346

Merged
merged 7 commits into from
May 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ known_content_issues:
- ['azure-cognitiveservices-vision-customvision/README.rst', '#4554']
- ['azure-cognitiveservices-vision-face/README.rst', '#4554']
- ['azure-cognitiveservices-vision-nspkg/README.rst', '#4554']
- ['azure-eventgrid/README.rst', '#4554']
- ['sdk/eventgrid/azure-eventgrid/README.rst', '#4554']
- ['azure-graphrbac/README.rst', '#4554']
- ['sdk/keyvault/azure-keyvault/README.rst', '#4554']
- ['azure-loganalytics/README.rst', '#4554']
Expand Down
1 change: 0 additions & 1 deletion azure-eventgrid/MANIFEST.in

This file was deleted.

134 changes: 0 additions & 134 deletions azure-eventgrid/azure/eventgrid/models/__init__.py

This file was deleted.

23 changes: 0 additions & 23 deletions azure-eventgrid/azure/eventgrid/models/event_grid_client_enums.py

This file was deleted.

1 change: 0 additions & 1 deletion azure-eventgrid/dev_requirements.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
Release History
===============

1.3.0 (2019-05-20)
++++++++++++++++++

- Event Schemas for new event types from IotHub, Media Services, Container Registry, Maps, and AppConfiguration services.

1.2.0 (2018-08-28)
++++++++++++++++++

Expand Down Expand Up @@ -34,7 +39,7 @@ This version uses a next-generation code generator that *might* introduce breaki

- Return type changes from `msrestazure.azure_operation.AzureOperationPoller` to `msrest.polling.LROPoller`. External API is the same.
- Return type is now **always** a `msrest.polling.LROPoller`, regardless of the optional parameters used.
- The behavior has changed when using `raw=True`. Instead of returning the initial call result as `ClientRawResponse`,
- The behavior has changed when using `raw=True`. Instead of returning the initial call result as `ClientRawResponse`,
without polling, now this returns an LROPoller. After polling, the final resource will be returned as a `ClientRawResponse`.
- New `polling` parameter. The default behavior is `Polling=True` which will poll using ARM algorithm. When `Polling=False`,
the response of the initial call will be returned without polling.
Expand Down
4 changes: 4 additions & 0 deletions sdk/eventgrid/azure-eventgrid/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
recursive-include tests *.py *.yaml
include *.rst
include azure/__init__.py

Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,6 @@ This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7.
For a more complete set of Azure libraries, see the `azure <https://pypi.python.org/pypi/azure>`__ bundle package.


Compatibility
=============

**IMPORTANT**: If you have an earlier version of the azure package
(version < 1.0), you should uninstall it before installing this package.

You can check the version using pip:

.. code:: shell

pip freeze

If you see azure==0.11.0 (or any version below 1.0), uninstall it first:

.. code:: shell

pip uninstall azure


Usage
=====

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ def publish_events(
body_content = self._serialize.body(events, '[EventGridEvent]')

# Construct and send request
request = self._client.post(url, query_parameters)
response = self._client.send(
request, header_parameters, body_content, stream=False, **operation_config)
request = self._client.post(url, query_parameters, header_parameters, body_content)
response = self._client.send(request, stream=False, **operation_config)

if response.status_code not in [200]:
raise HttpOperationError(self._deserialize, response)
Expand Down
Loading