Skip to content
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
12 changes: 12 additions & 0 deletions sdk/communication/azure-communication-jobrouter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
# Release History
## 1.1.0b1 (Unreleased)

This is the beta release of Azure Communication Job Router Python SDK. For more information, please see the [README][read_me].

This is a Public Preview version, so breaking changes are possible in subsequent releases as we improve the product. To provide feedback, please submit an issue in our [Azure SDK for Python GitHub repo][issues].

### Features Added
- `JobRouterClient`
- `upsert_worker`
- keyword argument `max_concurrent_offers: Optional[int]` added.
- `RouterWorker`
- Add `max_concurrent_offers`

## 1.0.0 (2023-11-01)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "python",
"TagPrefix": "python/communication/azure-communication-jobrouter",
"Tag": "python/communication/azure-communication-jobrouter_19ef87bca3"
"Tag": "python/communication/azure-communication-jobrouter_6a96a2c6e0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
class ApiVersion(str, Enum, metaclass=CaseInsensitiveEnumMeta):
V2022_07_18_PREVIEW = "2022-07-18-preview"
V2023_11_01 = "2023-11-01"
V2024_01_18_PREVIEW = "2024-01-18-preview"


DEFAULT_VERSION = ApiVersion.V2023_11_01.value
DEFAULT_VERSION = ApiVersion.V2024_01_18_PREVIEW.value
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ class JobRouterAdministrationClient(

:param endpoint: Uri of your Communication resource. Required.
:type endpoint: str
:keyword api_version: The API version to use for this operation. Default value is "2023-11-01".
Note that overriding this default value may result in unsupported behavior.
:keyword api_version: The API version to use for this operation. Default value is
"2024-01-18-preview". Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
"""

Expand Down Expand Up @@ -100,8 +101,9 @@ class JobRouterClient(JobRouterClientOperationsMixin): # pylint: disable=client

:param endpoint: Uri of your Communication resource. Required.
:type endpoint: str
:keyword api_version: The API version to use for this operation. Default value is "2023-11-01".
Note that overriding this default value may result in unsupported behavior.
:keyword api_version: The API version to use for this operation. Default value is
"2024-01-18-preview". Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ class JobRouterAdministrationClientConfiguration: # pylint: disable=too-many-in

:param endpoint: Uri of your Communication resource. Required.
:type endpoint: str
:keyword api_version: The API version to use for this operation. Default value is "2023-11-01".
Note that overriding this default value may result in unsupported behavior.
:keyword api_version: The API version to use for this operation. Default value is
"2024-01-18-preview". Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
"""

def __init__(self, endpoint: str, **kwargs: Any) -> None:
api_version: str = kwargs.pop("api_version", "2023-11-01")
api_version: str = kwargs.pop("api_version", "2024-01-18-preview")

if endpoint is None:
raise ValueError("Parameter 'endpoint' must not be None.")
Expand Down Expand Up @@ -58,13 +59,14 @@ class JobRouterClientConfiguration: # pylint: disable=too-many-instance-attribu

:param endpoint: Uri of your Communication resource. Required.
:type endpoint: str
:keyword api_version: The API version to use for this operation. Default value is "2023-11-01".
Note that overriding this default value may result in unsupported behavior.
:keyword api_version: The API version to use for this operation. Default value is
"2024-01-18-preview". Note that overriding this default value may result in unsupported
behavior.
:paramtype api_version: str
"""

def __init__(self, endpoint: str, **kwargs: Any) -> None:
api_version: str = kwargs.pop("api_version", "2023-11-01")
api_version: str = kwargs.pop("api_version", "2024-01-18-preview")

if endpoint is None:
raise ValueError("Parameter 'endpoint' must not be None.")
Expand Down
Loading