Commit 84d7383
committed
fix(servicebus): use real return-type annotations on list_*_sessions
Replace the legacy '# type:' return comment with explicit '-> List[str]' annotations on list_queue_sessions and list_subscription_sessions in both the sync and async ServiceBusClient. Matches other modern public APIs and surfaces the return type to type checkers and IDE tooling.1 parent 17df2fc commit 84d7383
2 files changed
Lines changed: 6 additions & 10 deletions
File tree
- sdk/servicebus/azure-servicebus/azure/servicebus
- aio
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
734 | 734 | | |
735 | 735 | | |
736 | 736 | | |
737 | | - | |
738 | | - | |
| 737 | + | |
739 | 738 | | |
740 | 739 | | |
741 | 740 | | |
| |||
767 | 766 | | |
768 | 767 | | |
769 | 768 | | |
770 | | - | |
771 | | - | |
| 769 | + | |
772 | 770 | | |
773 | 771 | | |
774 | 772 | | |
| |||
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
723 | 723 | | |
724 | 724 | | |
725 | 725 | | |
726 | | - | |
727 | | - | |
| 726 | + | |
728 | 727 | | |
729 | 728 | | |
730 | 729 | | |
| |||
756 | 755 | | |
757 | 756 | | |
758 | 757 | | |
759 | | - | |
760 | | - | |
| 758 | + | |
761 | 759 | | |
762 | 760 | | |
763 | 761 | | |
| |||
0 commit comments