Skip to content

Commit

Permalink
[EG] Beta One Client (#34973)
Browse files Browse the repository at this point in the history
* [EG] dont hardcode api_version on request (#34965)

* dont hardcode api_version on request

* pylint fixes

* revert

* api version

* Update sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_publisher_client_async.py

* Update sdk/eventgrid/azure-eventgrid/azure/eventgrid/aio/_publisher_client_async.py

* add sync side patches

* aio patches

* update readme samples

* all samples use EGClient

* update readme samples

* fix imports

* import issue

* missing pathc

* allow sas cred

* typo

* updates

* sas

* client

* self serialize cloudevent

* add bakc in

* updates

* update ptach

* update

* update exception logic

* async w client

* aio [atch

* typo

* import

* update links

* tests

* raise error

* content type

* use more fake url

* remove content type

* mypy

* update apiversion

* content type

* unitttests

* update auth

* updates

* add level

* update readme

* update

* binary mode

* args, kwargs

* remove auth

* add sample comments

* testing

* move around readme

* content type

* update tests

* docstring

* cncf event

* add more tests

* update doc

* update inits to prevent typing errors

* ran blakc

* fix pylint patch

* changes

* add all kwargs

* indent

* reviews

* nit

* name changes

* options

* options/result rename

* Revert "options"

This reverts commit fe0623a.

* Revert "options/result rename"

This reverts commit 6d37422.

* fix tests

* remove or None

* remove EGPubClient

* remove options naming

* Revert "remove EGPubClient"

This reverts commit bf94364.

* typeerror

* update readme

* readme nit

* readme updates

* add send operation samples

* add datacontenttpye

* typo

* make Options bag models kwargs

* remove models

* import

* exception

* update changelog

* shorten operation names

* nit
  • Loading branch information
l0lawrence committed May 22, 2024
1 parent 0fff786 commit 9123ac0
Show file tree
Hide file tree
Showing 69 changed files with 2,516 additions and 2,662 deletions.
13 changes: 8 additions & 5 deletions sdk/eventgrid/azure-eventgrid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
# Release History

## 4.19.1 (Unreleased)
## 4.19.0b1 (2024-04-11)

### Features Added

- This is a Beta of the EventGridClient
- EventGridClient `send` can be used for both Event Grid Namespace Resources and Event Grid Basic Resources.
- Added a kwarg `level` in the EventGridClient constructor. The default value is `Standard` which creates a client for an Event Grid Namespace Resource.

### Breaking Changes

### Bugs Fixed

### Other Changes
- Removed the `AcknowledgeOptions`,`ReleaseOptions`, `RejectOptions`, and `RenewLockOptions` models. `lock_tokens` can now be specified as a `kwarg` on the operation.
- Renamed `publish_cloud_events` to `send`

## 4.19.0 (2024-04-10)

### Features Added

- Added new enum values to `SystemEventNames` related to Azure Communication Services.

### Bugs Fixed
### Breaking Changes

- Fixed a bug where the Api Version was being hardcoded to `2018-01-01` on any request sent to the service.

Expand Down
324 changes: 190 additions & 134 deletions sdk/eventgrid/azure-eventgrid/README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sdk/eventgrid/azure-eventgrid/azure/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__path__ = __import__('pkgutil').extend_path(__path__, __name__) # type: ignore
__path__ = __import__('pkgutil').extend_path(__path__, __name__) # type: ignore
2 changes: 1 addition & 1 deletion sdk/eventgrid/azure-eventgrid/azure/eventgrid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from ._client import EventGridClient
from ._patch import EventGridClient
from ._version import VERSION

__version__ = VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from ._operations import EventGridClientOperationsMixin
from ._patch import EventGridClientOperationsMixin

from ._patch import __all__ as _patch_all
from ._patch import * # pylint: disable=unused-wildcard-import
Expand Down
Loading

0 comments on commit 9123ac0

Please sign in to comment.