Skip to content

Commit 5be718f

Browse files
committed
[EG] Beta One Client (#34973)
* [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
1 parent 1060de0 commit 5be718f

File tree

69 files changed

+2516
-2662
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+2516
-2662
lines changed

sdk/eventgrid/azure-eventgrid/CHANGELOG.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
11
# Release History
22

3-
## 4.19.1 (Unreleased)
3+
## 4.19.0b1 (2024-04-11)
44

55
### Features Added
66

7+
- This is a Beta of the EventGridClient
8+
- EventGridClient `send` can be used for both Event Grid Namespace Resources and Event Grid Basic Resources.
9+
- Added a kwarg `level` in the EventGridClient constructor. The default value is `Standard` which creates a client for an Event Grid Namespace Resource.
10+
711
### Breaking Changes
812

9-
### Bugs Fixed
10-
11-
### Other Changes
13+
- Removed the `AcknowledgeOptions`,`ReleaseOptions`, `RejectOptions`, and `RenewLockOptions` models. `lock_tokens` can now be specified as a `kwarg` on the operation.
14+
- Renamed `publish_cloud_events` to `send`
1215

1316
## 4.19.0 (2024-04-10)
1417

1518
### Features Added
1619

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

19-
### Bugs Fixed
22+
### Breaking Changes
2023

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

sdk/eventgrid/azure-eventgrid/README.md

Lines changed: 190 additions & 134 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__path__ = __import__('pkgutil').extend_path(__path__, __name__) # type: ignore
1+
__path__ = __import__('pkgutil').extend_path(__path__, __name__) # type: ignore

sdk/eventgrid/azure-eventgrid/azure/eventgrid/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
from ._client import EventGridClient
9+
from ._patch import EventGridClient
1010
from ._version import VERSION
1111

1212
__version__ = VERSION

sdk/eventgrid/azure-eventgrid/azure/eventgrid/_operations/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88

9-
from ._operations import EventGridClientOperationsMixin
9+
from ._patch import EventGridClientOperationsMixin
1010

1111
from ._patch import __all__ as _patch_all
1212
from ._patch import * # pylint: disable=unused-wildcard-import

0 commit comments

Comments
 (0)