Skip to content

Commit 8ab4fd6

Browse files
authored
Fix urls (Azure#39263)
1 parent 8860e71 commit 8ab4fd6

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

sdk/webpubsub/azure-messaging-webpubsubclient/azure/messaging/webpubsubclient/_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def send_event(
474474
**kwargs: Any,
475475
) -> None:
476476
"""Send custom event to server. For more info about event handler in web pubsub, please refer
477-
to https://learn.microsoft.com/en-us/azure/azure-web-pubsub/howto-develop-eventhandler
477+
to https://learn.microsoft.com/azure/azure-web-pubsub/howto-develop-eventhandler
478478
479479
:param event_name: The event name. Required.
480480
:type event_name: str.
@@ -497,7 +497,7 @@ def send_event(
497497
**kwargs: Any,
498498
) -> None:
499499
"""Send custom event to server. For more info about event handler in web pubsub, please refer
500-
to https://learn.microsoft.com/en-us/azure/azure-web-pubsub/howto-develop-eventhandler
500+
to https://learn.microsoft.com/azure/azure-web-pubsub/howto-develop-eventhandler
501501
502502
:param event_name: The event name. Required.
503503
:type event_name: str.
@@ -521,7 +521,7 @@ def send_event(
521521
**kwargs: Any,
522522
) -> None:
523523
"""Send custom event to server. For more info about event handler in web pubsub, please refer
524-
to https://learn.microsoft.com/en-us/azure/azure-web-pubsub/howto-develop-eventhandler
524+
to https://learn.microsoft.com/azure/azure-web-pubsub/howto-develop-eventhandler
525525
526526
:param event_name: The event name. Required.
527527
:type event_name: str.
@@ -543,7 +543,7 @@ def send_event(
543543
**kwargs: Any,
544544
) -> None:
545545
"""Send custom event to server. For more info about event handler in web pubsub, please refer
546-
to https://learn.microsoft.com/en-us/azure/azure-web-pubsub/howto-develop-eventhandler
546+
to https://learn.microsoft.com/azure/azure-web-pubsub/howto-develop-eventhandler
547547
548548
:param event_name: The event name. Required.
549549
:type event_name: str.

sdk/webpubsub/azure-messaging-webpubsubclient/azure/messaging/webpubsubclient/aio/_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ async def send_event(
390390
**kwargs: Any,
391391
) -> None:
392392
"""Send custom event to server. For more info about event handler in web pubsub, please refer
393-
to https://learn.microsoft.com/en-us/azure/azure-web-pubsub/howto-develop-eventhandler
393+
to https://learn.microsoft.com/azure/azure-web-pubsub/howto-develop-eventhandler
394394
395395
:param event_name: The event name. Required.
396396
:type event_name: str.
@@ -413,7 +413,7 @@ async def send_event(
413413
**kwargs: Any,
414414
) -> None:
415415
"""Send custom event to server. For more info about event handler in web pubsub, please refer
416-
to https://learn.microsoft.com/en-us/azure/azure-web-pubsub/howto-develop-eventhandler
416+
to https://learn.microsoft.com/azure/azure-web-pubsub/howto-develop-eventhandler
417417
418418
:param event_name: The event name. Required.
419419
:type event_name: str.
@@ -437,7 +437,7 @@ async def send_event(
437437
**kwargs: Any,
438438
) -> None:
439439
"""Send custom event to server. For more info about event handler in web pubsub, please refer
440-
to https://learn.microsoft.com/en-us/azure/azure-web-pubsub/howto-develop-eventhandler
440+
to https://learn.microsoft.com/azure/azure-web-pubsub/howto-develop-eventhandler
441441
442442
:param event_name: The event name. Required.
443443
:type event_name: str.
@@ -459,7 +459,7 @@ async def send_event(
459459
**kwargs: Any,
460460
) -> None:
461461
"""Send custom event to server. For more info about event handler in web pubsub, please refer
462-
to https://learn.microsoft.com/en-us/azure/azure-web-pubsub/howto-develop-eventhandler
462+
to https://learn.microsoft.com/azure/azure-web-pubsub/howto-develop-eventhandler
463463
464464
:param event_name: The event name. Required.
465465
:type event_name: str.

sdk/webpubsub/azure-messaging-webpubsubclient/samples/hello_world_exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def main():
5050
# no ack from service, you may want to try again
5151
pass
5252
# for other name of error detail, it belongs to your business logic and you
53-
# may want to handle it with reference of https://learn.microsoft.com/en-us/azure/azure-web-pubsub/concept-client-protocols#ack-response
53+
# may want to handle it with reference of https://learn.microsoft.com/azure/azure-web-pubsub/concept-client-protocols#ack-response
5454
elif err.error_detail.name == "...":
5555
pass
5656

sdk/webpubsub/azure-messaging-webpubsubservice/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,23 +185,23 @@ additional questions or comments.
185185

186186
<!-- LINKS -->
187187
[webpubsubservice_docs]: https://aka.ms/awps/doc
188-
[azure_cli]: https://docs.microsoft.com/cli/azure
188+
[azure_cli]: https://learn.microsoft.com/cli/azure
189189
[azure_sub]: https://azure.microsoft.com/free/
190190
[package]: https://pypi.org/project/azure-messaging-webpubsubservice/
191191
[default_cred_ref]: https://aka.ms/azsdk-python-identity-default-cred-ref
192192
[cla]: https://cla.microsoft.com
193193
[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/
194194
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
195195
[coc_contact]: mailto:opencode@microsoft.com
196-
[authenticate_with_token]: https://docs.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token
196+
[authenticate_with_token]: https://learn.microsoft.com/azure/cognitive-services/authentication?tabs=powershell#authenticate-with-an-authentication-token
197197
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#credentials
198198
[azure_identity_pip]: https://pypi.org/project/azure-identity/
199199
[default_azure_credential]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential
200200
[pip]: https://pypi.org/project/pip/
201-
[enable_aad]: https://docs.microsoft.com/azure/azure-web-pubsub/howto-develop-create-instance
202-
[api_key]: https://docs.microsoft.com/azure/azure-web-pubsub/howto-websocket-connect?tabs=browser#authorization
203-
[connection_string]: https://docs.microsoft.com/azure/azure-web-pubsub/howto-websocket-connect?tabs=browser#authorization
204-
[azure_portal]: https://docs.microsoft.com/azure/azure-web-pubsub/howto-develop-create-instance
201+
[enable_aad]: https://learn.microsoft.com/azure/azure-web-pubsub/howto-develop-create-instance
202+
[api_key]: https://learn.microsoft.com/azure/azure-web-pubsub/howto-websocket-connect?tabs=browser#authorization
203+
[connection_string]: https://learn.microsoft.com/azure/azure-web-pubsub/howto-websocket-connect?tabs=browser#authorization
204+
[azure_portal]: https://learn.microsoft.com/azure/azure-web-pubsub/howto-develop-create-instance
205205
[azure-key-credential]: https://aka.ms/azsdk-python-core-azurekeycredential
206206
[aad_doc]: https://aka.ms/awps/aad
207207
[samples]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/webpubsub/azure-messaging-webpubsubservice/samples

0 commit comments

Comments
 (0)