metal-stack-api 0.0.38__py3-none-any.whl → 0.0.40__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. {metal_stack_api-0.0.38.dist-info → metal_stack_api-0.0.40.dist-info}/METADATA +3 -3
  2. metal_stack_api-0.0.40.dist-info/RECORD +108 -0
  3. {metal_stack_api-0.0.38.dist-info → metal_stack_api-0.0.40.dist-info}/WHEEL +1 -1
  4. metalstack/admin/v2/filesystem_connect.py +8 -7
  5. metalstack/admin/v2/filesystem_pb2.py +3 -3
  6. metalstack/admin/v2/image_connect.py +9 -8
  7. metalstack/admin/v2/image_pb2.py +3 -3
  8. metalstack/admin/v2/ip_connect.py +6 -5
  9. metalstack/admin/v2/ip_pb2.py +3 -3
  10. metalstack/admin/v2/machine_connect.py +7 -6
  11. metalstack/admin/v2/machine_pb2.py +3 -3
  12. metalstack/admin/v2/network_connect.py +10 -9
  13. metalstack/admin/v2/network_pb2.py +3 -3
  14. metalstack/admin/v2/partition_connect.py +9 -8
  15. metalstack/admin/v2/partition_pb2.py +3 -3
  16. metalstack/admin/v2/project_connect.py +6 -5
  17. metalstack/admin/v2/project_pb2.py +3 -3
  18. metalstack/admin/v2/size_connect.py +8 -7
  19. metalstack/admin/v2/size_pb2.py +3 -3
  20. metalstack/admin/v2/switch_connect.py +11 -10
  21. metalstack/admin/v2/switch_pb2.py +21 -21
  22. metalstack/admin/v2/switch_pb2.pyi +2 -4
  23. metalstack/admin/v2/tenant_connect.py +7 -6
  24. metalstack/admin/v2/tenant_pb2.py +3 -3
  25. metalstack/admin/v2/token_connect.py +8 -7
  26. metalstack/admin/v2/token_pb2.py +3 -3
  27. metalstack/admin/v2/vpn_connect.py +7 -6
  28. metalstack/admin/v2/vpn_pb2.py +17 -14
  29. metalstack/admin/v2/vpn_pb2.pyi +13 -4
  30. metalstack/api/v2/common_pb2.py +3 -3
  31. metalstack/api/v2/filesystem_connect.py +8 -7
  32. metalstack/api/v2/filesystem_pb2.py +3 -3
  33. metalstack/api/v2/health_connect.py +6 -5
  34. metalstack/api/v2/health_pb2.py +3 -3
  35. metalstack/api/v2/image_connect.py +8 -7
  36. metalstack/api/v2/image_pb2.py +3 -3
  37. metalstack/api/v2/ip_connect.py +10 -9
  38. metalstack/api/v2/ip_pb2.py +3 -3
  39. metalstack/api/v2/machine_connect.py +10 -9
  40. metalstack/api/v2/machine_pb2.py +3 -3
  41. metalstack/api/v2/method_connect.py +7 -6
  42. metalstack/api/v2/method_pb2.py +3 -3
  43. metalstack/api/v2/network_connect.py +11 -10
  44. metalstack/api/v2/network_pb2.py +3 -3
  45. metalstack/api/v2/partition_connect.py +7 -6
  46. metalstack/api/v2/partition_pb2.py +3 -3
  47. metalstack/api/v2/predefined_rules_pb2.py +3 -3
  48. metalstack/api/v2/project_connect.py +18 -17
  49. metalstack/api/v2/project_pb2.py +3 -3
  50. metalstack/api/v2/size_connect.py +7 -6
  51. metalstack/api/v2/size_pb2.py +3 -3
  52. metalstack/api/v2/switch_pb2.py +19 -17
  53. metalstack/api/v2/tenant_connect.py +18 -17
  54. metalstack/api/v2/tenant_pb2.py +3 -3
  55. metalstack/api/v2/token_connect.py +11 -10
  56. metalstack/api/v2/token_pb2.py +3 -3
  57. metalstack/api/v2/user_connect.py +6 -5
  58. metalstack/api/v2/user_pb2.py +3 -3
  59. metalstack/api/v2/version_connect.py +6 -5
  60. metalstack/api/v2/version_pb2.py +3 -3
  61. metalstack/api/v2/vpn_pb2.py +3 -3
  62. metalstack/infra/v2/bmc_connect.py +71 -5
  63. metalstack/infra/v2/bmc_pb2.py +12 -6
  64. metalstack/infra/v2/bmc_pb2.pyi +8 -0
  65. metalstack/infra/v2/event_connect.py +6 -5
  66. metalstack/infra/v2/event_pb2.py +3 -3
  67. metalstack/infra/v2/switch_connect.py +8 -7
  68. metalstack/infra/v2/switch_pb2.py +3 -3
  69. metal_stack_api-0.0.38.dist-info/RECORD +0 -108
  70. {metal_stack_api-0.0.38.dist-info → metal_stack_api-0.0.40.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metal-stack-api
3
- Version: 0.0.38
3
+ Version: 0.0.40
4
4
  Summary: Python API client for metal-stack api
5
5
  Home-page: https://github.com/metal-stack/api
6
6
  Author: metal-stack authors
@@ -13,8 +13,8 @@ Classifier: Programming Language :: Python :: 3
13
13
  Classifier: Programming Language :: Python :: 3.11
14
14
  Classifier: Programming Language :: Python :: 3.12
15
15
  Classifier: Programming Language :: Python :: 3.13
16
- Requires-Dist: connect-python>=0.5.0
17
- Requires-Dist: protovalidate>=1.0.0
16
+ Requires-Dist: connect-python>=0.7.0
17
+ Requires-Dist: protovalidate>=1.1.0
18
18
  Dynamic: author
19
19
  Dynamic: classifier
20
20
  Dynamic: description
@@ -0,0 +1,108 @@
1
+ metalstack/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ metalstack/admin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ metalstack/admin/v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ metalstack/admin/v2/filesystem_connect.py,sha256=DyELOdsLNLaM0IpgyuzGxk8anTzc2MJhMdWAhbUF7LM,12871
5
+ metalstack/admin/v2/filesystem_pb2.py,sha256=-b4H0QG1H1tS7Zs7C3LQW1f-MOZaMVrgaEw7A6JUr-g,7404
6
+ metalstack/admin/v2/filesystem_pb2.pyi,sha256=yeb3mYmuTvjdSgzVl6wDSpUGQ1HLX2AWKr0q3NEQk9o,4026
7
+ metalstack/admin/v2/image_connect.py,sha256=Jki98Mr5UsgF6BG7ANcdvdbBDiA8NpvGiGNg5vkZ-vo,15575
8
+ metalstack/admin/v2/image_pb2.py,sha256=aCBYi2KqIv12iALgwEITFumRjl2--tewjFZxdVGCNBM,8518
9
+ metalstack/admin/v2/image_pb2.pyi,sha256=dY5Cep_Sd6LyGcmEuCyJduInDiZ32uvwyIqzoUxlNkk,3656
10
+ metalstack/admin/v2/ip_connect.py,sha256=ChDGD1n0hoTykOGiaiZCUQbwD93HGcQIzdmQ9jV3DOM,5257
11
+ metalstack/admin/v2/ip_pb2.py,sha256=hgb6g5hdnSLG-NUUcGaFICwTNvvYjYPXnaRWITkSXOw,2913
12
+ metalstack/admin/v2/ip_pb2.pyi,sha256=bU9pxQ4p-8jucl25-w-T3JgqoXlX61Nb44kMVs9PCjA,970
13
+ metalstack/admin/v2/machine_connect.py,sha256=c8uNK9SkLdEi6PfN9g5GuYIpvuHqdNjfNmEqzMxUUQs,8891
14
+ metalstack/admin/v2/machine_pb2.py,sha256=oiNQYmkwxt3Xvwl6TR_Oj8G_EAi8fQiqOSNp9jmMn0o,4704
15
+ metalstack/admin/v2/machine_pb2.pyi,sha256=dGSQx-mG_B26Jv5eWAZ7_V06klPYwsqLatfY77g99kY,1739
16
+ metalstack/admin/v2/network_connect.py,sha256=W1ozIxsDKHP1ZrgsV_xLdAd_-uF9eN5sr78fJgCE2_8,19250
17
+ metalstack/admin/v2/network_pb2.py,sha256=dQ6QlR6B_SU_UvQK7zFx_rh9rSvL3gMDKG6fkxk6bgw,15364
18
+ metalstack/admin/v2/network_pb2.pyi,sha256=TOL1oqTO8L6zC85YfBRUOBJUiDD506uQ-5UDjfjFZGY,7351
19
+ metalstack/admin/v2/partition_connect.py,sha256=x8IDvQT2zHFZ9LF_jRQKAquODaOk9oFBFlXwC1X9GO0,16327
20
+ metalstack/admin/v2/partition_pb2.py,sha256=llEnzWGphWXml42KEL6p5orvnUPOiYAyW8GSxM_1pjk,9956
21
+ metalstack/admin/v2/partition_pb2.pyi,sha256=lBAmofSPCNOI07dbaQ3Huo3PJJA2zzFQ62WxQB-LDLY,5740
22
+ metalstack/admin/v2/project_connect.py,sha256=aqdLFJzrqHWtcRUURma8jjSeZEMjzu4tMIFpHeuhXZo,5522
23
+ metalstack/admin/v2/project_pb2.py,sha256=2Dvd-65Dc_MemTHkVQNvJLrS374_hCtzSq1vTUzN4b0,3534
24
+ metalstack/admin/v2/project_pb2.pyi,sha256=3-yMLvCmlE4yte_o_DjNNqV-UDUIlpYjuNA90ExxaiE,1190
25
+ metalstack/admin/v2/size_connect.py,sha256=qm80fvut1btTJAZF-gVYjq7aBHv-L0Wcxli14afvd08,12097
26
+ metalstack/admin/v2/size_pb2.py,sha256=sceizb0yT1HhFnEJRZ6ugXWczMChl-Ev0gt45XvYqgU,6457
27
+ metalstack/admin/v2/size_pb2.pyi,sha256=xMbYS7HghgaPMCOpAwmdadGBOp_BU7TvF4QTJuMaMMs,2664
28
+ metalstack/admin/v2/switch_connect.py,sha256=Mscl2aFAucAldDA_JJVQ5Rnix1aiFhJiVnaTlUpXE5I,22432
29
+ metalstack/admin/v2/switch_pb2.py,sha256=dvtjv07zeY7tyS-CHYKK4PuPH-BL3boEqyZUgqUxJH4,12168
30
+ metalstack/admin/v2/switch_pb2.pyi,sha256=7llyR9m7oMugurT1FADS35BpMSAN-K4ErWYHPVA5l7U,5312
31
+ metalstack/admin/v2/tenant_connect.py,sha256=2tZrl1SqAlilJbI51DE44Qb1Yu8HfnDZkcGUzuBJEmk,8884
32
+ metalstack/admin/v2/tenant_pb2.py,sha256=tUNxJ4BIVIwqyKf40Zvao0T7lDXpzNHwBHOTaWmsm4U,5680
33
+ metalstack/admin/v2/tenant_pb2.pyi,sha256=ZI3HryRUf7bWAwKMWsfDa55fS6FVrsxStMyV4sU3cz0,2303
34
+ metalstack/admin/v2/token_connect.py,sha256=PXQwqXWyYghBWb1QgjRONN3Q4Q5iAoxqKHTphquLeoY,12170
35
+ metalstack/admin/v2/token_pb2.py,sha256=fLiuImTRfhMMz59dLaCI-BI0PzaLL9AvPu4zKU3udgk,5508
36
+ metalstack/admin/v2/token_pb2.pyi,sha256=jFRWVkOtdAYualwNnk3-FM3iZ0ku-2c7SXzfm02XvRE,2171
37
+ metalstack/admin/v2/vpn_connect.py,sha256=lgCMkQLksExB5mpU3uZ-KLJAkWHJZZ9D1EzESM6m__8,8791
38
+ metalstack/admin/v2/vpn_pb2.py,sha256=iVqN3PeqdFOWB_Sf0iiPfN41O8F4jEct1AIo-55YeKA,5055
39
+ metalstack/admin/v2/vpn_pb2.pyi,sha256=Hu3TfE5Keum39KaEig9Ma3ePtDvG1H2hCPm8b7wNHWM,2547
40
+ metalstack/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
+ metalstack/api/v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
+ metalstack/api/v2/common_pb2.py,sha256=Rox5SfxlXJDYQa9muJrEhfNS0onW_gducu8vR4qWuww,7319
43
+ metalstack/api/v2/common_pb2.pyi,sha256=rzM6o8RwrAzonDS2aD_Q1k4EAzQdNl2Ek29--gZI6QE,6224
44
+ metalstack/api/v2/filesystem_connect.py,sha256=RIjudprdGn1M5bOCucoec1GJQ1atryC4iCzfR2zaW48,12561
45
+ metalstack/api/v2/filesystem_pb2.py,sha256=qFotyg9N-e54PIYlDVe_-V4nNFqACRanMWaIngKaSNQ,19690
46
+ metalstack/api/v2/filesystem_pb2.pyi,sha256=E4-NfvlwDg-CEQsUyl4EPyBjlrhzN4kFWrZHbJMMr80,10628
47
+ metalstack/api/v2/health_connect.py,sha256=hpvgxzERNB4f7rduUbNsHxfSnh0of9kfBVyoIcYBVCo,5387
48
+ metalstack/api/v2/health_pb2.py,sha256=zzJLxGVgOeUmhJNcl_YjDfLbgkYUVddfW43-b_DM1N0,6025
49
+ metalstack/api/v2/health_pb2.pyi,sha256=cr8Qr3MzJQn7P531JiswO4Tcs9uNjdc854c2qxpPLIo,3386
50
+ metalstack/api/v2/image_connect.py,sha256=99ll1lTaM5phoynBtczNHmDmFzteyp2Z71wGnhIv2II,11944
51
+ metalstack/api/v2/image_pb2.py,sha256=3Zb07djrVYnWRgAKj2ypS55GXiuWHTKoXvq3CqIohdw,11993
52
+ metalstack/api/v2/image_pb2.pyi,sha256=c6VEs_ZLhiAclQ8jat7YEyiHF75HWmisq6B9JG6_Zfk,5531
53
+ metalstack/api/v2/ip_connect.py,sha256=gGspNkT5sGppjMqo-sIS33ztmeoLLo4o7XsgNC3slgw,17995
54
+ metalstack/api/v2/ip_pb2.py,sha256=wuduRi0opYwk72tXlEsLgRslA1QEwCxcoWzQRVGJIeY,19030
55
+ metalstack/api/v2/ip_pb2.pyi,sha256=PXO6J_JW8rMqK6WEer2JLaKHxnLik_AMmhKkcx0JKPc,7667
56
+ metalstack/api/v2/machine_connect.py,sha256=imdiLAPdQ31-KmGe6ZeY97VdOipC2yJC3HwTD9TtEgI,19020
57
+ metalstack/api/v2/machine_pb2.py,sha256=ztp6qWncUu-x3VxLL3jCS5lgYL-t9aPbjTLQrMwTUc0,59314
58
+ metalstack/api/v2/machine_pb2.pyi,sha256=OewnbiRpp9UwsnZjNlpxHGi2dlx3DcXgDs__cjn60_I,32797
59
+ metalstack/api/v2/method_connect.py,sha256=JXbYJsb56GD2jtmEnPaToE1Fnx2bkdkiZmDA3ZvAMTo,9050
60
+ metalstack/api/v2/method_pb2.py,sha256=hyXlBNQ6flCkNLgfsIGHHjvJzSlLDQWed4LVV6670yQ,5929
61
+ metalstack/api/v2/method_pb2.pyi,sha256=JCdhpSxg9WfnFtCWFkMLbrG_wqP7EDmgtAO_58aRnRU,2791
62
+ metalstack/api/v2/network_connect.py,sha256=kGmwoAX_nKB_ePmc9tpPxCWFfohWAMe9OZDnfUdNdrU,22721
63
+ metalstack/api/v2/network_pb2.py,sha256=19NSH_zBX4cxsbKnWmudKUHrqSywxmvK4ECCF8ia_po,26950
64
+ metalstack/api/v2/network_pb2.pyi,sha256=Wy7-gUAHdgwiq2q0hpLYXRu2sx5k-lqAixSaqjtWDa8,12423
65
+ metalstack/api/v2/partition_connect.py,sha256=Y2rhg16KMa-uE7XaIf8ES_m-GfRJGUbNTfnNpuklz3o,8975
66
+ metalstack/api/v2/partition_pb2.py,sha256=cHHOjoj7iDu2UjCoabrtSo_9NW4n5QMW6fxxQytk-Ho,7889
67
+ metalstack/api/v2/partition_pb2.pyi,sha256=UELvmtz63crXaH1t5Sdgk-EMTa4c1vKF7EBcqK-rgMY,3878
68
+ metalstack/api/v2/predefined_rules_pb2.py,sha256=NzVBZgpRKLRZgSkLVTJlHcSoFv6gacSb42gtnmKwo-g,5157
69
+ metalstack/api/v2/predefined_rules_pb2.pyi,sha256=KErj-giMZ-k5c8stW3Z_YI1p0wXxklY7N150bnR2IK8,808
70
+ metalstack/api/v2/project_connect.py,sha256=jfk8KLYeh3S3RJmnIycgmY9xiZm6hSk01Tttd1gax1I,47196
71
+ metalstack/api/v2/project_pb2.py,sha256=ch8atZQfKpFIXIWdOyMUxIHYA1PJP_5PoGt7q7l8R7g,22020
72
+ metalstack/api/v2/project_pb2.pyi,sha256=eXMPrsbYVzWmnBhwAh-jtAmUxjFtJnO29QsMUTsI9tI,11134
73
+ metalstack/api/v2/size_connect.py,sha256=sSXZMXuuf5Z6zWAgqUCKwfCfo8mOlGodGwOwTUJEoSk,8520
74
+ metalstack/api/v2/size_pb2.py,sha256=KYo1YBYwXP87EqR39iyVPyCCz10WadAf6kxIsjOQMPA,8598
75
+ metalstack/api/v2/size_pb2.pyi,sha256=DfGRiWwmqSs9C_UP20quu0zVTw3bhUPd6Zsr4OwJIe8,3901
76
+ metalstack/api/v2/switch_pb2.py,sha256=9rkQxqxVmP7F1diUqAUv1OHKgXh-50PXj9ZtFYFf9hA,18448
77
+ metalstack/api/v2/switch_pb2.pyi,sha256=cn66PLxXx64cVaVgoSoKicwbTDXFBaH9jVPA8zlLqgQ,9555
78
+ metalstack/api/v2/tenant_connect.py,sha256=Wtz0wzJQVnLwFYquEJguSCx4xi1B9E9jU8rWRMEO3c4,46687
79
+ metalstack/api/v2/tenant_pb2.py,sha256=OC7j2HLc-XGd85UvpAbym-mpsWPz4daWpPAIQor1WIg,19629
80
+ metalstack/api/v2/tenant_pb2.pyi,sha256=kDqFMIecnoaBqbJyfN5aQWch7iapYjiBuKs8gx7sLHs,11128
81
+ metalstack/api/v2/token_connect.py,sha256=6_a1frPEl6g_PdrQYqMJP_UH1AE1keJoCVoCR846Mlk,21971
82
+ metalstack/api/v2/token_pb2.py,sha256=nYbnukI4s5goWsr1bBoYvZJJqFQBeqUPmm8A__xMEv8,19910
83
+ metalstack/api/v2/token_pb2.pyi,sha256=HxJwRtj0ctUL2iyqLUvxVfN0F6-0Vbj6EgUQI1w3UIQ,10606
84
+ metalstack/api/v2/user_connect.py,sha256=FZgLL-rX5CALF05Iu4LDwe56pjpge2sg18_SfAfZp4w,5281
85
+ metalstack/api/v2/user_pb2.py,sha256=tdbCLT2pnkwiZYFYQ1Z3LD-gH4rWOGlHmCavIeH0gJY,3993
86
+ metalstack/api/v2/user_pb2.pyi,sha256=rXGPGTVvEkxJrNr2UHuSfxUGDoNpOxXodaZ_5eEjbqg,2032
87
+ metalstack/api/v2/version_connect.py,sha256=t9gE9dHEqy1iAqlR_YsSH3j14TJyk8x_nTK-D6rXvxA,5440
88
+ metalstack/api/v2/version_pb2.py,sha256=K_5hNLM9N1Hkck-4ftxfN9fbDejubsUI7zSC_7CQHf0,3071
89
+ metalstack/api/v2/version_pb2.pyi,sha256=JfQ_tYwDG6P9aH7y7-iEHmtuWsLKsrpLKAVJIzHehRM,1172
90
+ metalstack/api/v2/vpn_pb2.py,sha256=r_xqZg46ATo8Fu-4YUycr6LV4pTpWNZm-N_Tzgu--dY,2312
91
+ metalstack/api/v2/vpn_pb2.pyi,sha256=11ecPbkjQApxN3dVP7J7Vl1dyek5a47JtrgbmGxWkVU,1247
92
+ metalstack/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
93
+ metalstack/client/client.py,sha256=ibIDoxhh2RH93WqeGySSg2mGVOtNMd5Hni69r7iNi-I,6881
94
+ metalstack/infra/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
95
+ metalstack/infra/v2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
96
+ metalstack/infra/v2/bmc_connect.py,sha256=kcTErz02bIUKEbByDd_Krf3zl5KSJwBdG-GjAL-WhNU,9013
97
+ metalstack/infra/v2/bmc_pb2.py,sha256=M6YsUt1sCOwC8zgT_HdmuFotJEqolIUj-wb7wWLNSwA,3432
98
+ metalstack/infra/v2/bmc_pb2.pyi,sha256=nZG-sqy-vTtwrwS8-iy39IcmbhwZy5x8YzSbZtoG6Zg,661
99
+ metalstack/infra/v2/event_connect.py,sha256=B-yrAjdNocGCiiQYjfiE1UGE4m_BJetNkARNH_T7UMo,5416
100
+ metalstack/infra/v2/event_pb2.py,sha256=BGEHtWUS6tzRoCw-ZuEEmqDcWURqN5905REFQuHVaUo,8284
101
+ metalstack/infra/v2/event_pb2.pyi,sha256=zhCAu1V2qizwNiLTyq-mvG_t0ZUw1phhTR2CvLSOjCw,3813
102
+ metalstack/infra/v2/switch_connect.py,sha256=jND1i2q6JsvpQIpudo5CF0OSrCyiwNWvsohXUTsSh8U,12411
103
+ metalstack/infra/v2/switch_pb2.py,sha256=hvGjBCt3t9y4tMa_C5my832SkvMvHT8lrF5AEGdbfzk,7234
104
+ metalstack/infra/v2/switch_pb2.pyi,sha256=8A-LhS2remAxa_g86cgLFfqucrkgGlI3ihZE9LlNuGY,3768
105
+ metal_stack_api-0.0.40.dist-info/METADATA,sha256=Q5GDZy7bA8wHBuxn-B3OI5-zAsVDJ8LjOS51V713GGM,874
106
+ metal_stack_api-0.0.40.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
107
+ metal_stack_api-0.0.40.dist-info/top_level.txt,sha256=OqZoCBTOYMgPJJ3GbO1ZfY7eRpW9Ljc5g3Ajlu44n2I,11
108
+ metal_stack_api-0.0.40.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -2,7 +2,7 @@
2
2
  # Generated by https://github.com/connectrpc/connect-python. DO NOT EDIT!
3
3
  # source: metalstack/admin/v2/filesystem.proto
4
4
 
5
- from collections.abc import AsyncIterator, Iterable, Iterator, Mapping
5
+ from collections.abc import AsyncGenerator, AsyncIterator, Iterable, Iterator, Mapping
6
6
  from typing import Protocol
7
7
 
8
8
  from connectrpc.client import ConnectClient, ConnectClientSync
@@ -26,10 +26,11 @@ class FilesystemService(Protocol):
26
26
  raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
27
27
 
28
28
 
29
- class FilesystemServiceASGIApplication(ConnectASGIApplication):
30
- def __init__(self, service: FilesystemService, *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
29
+ class FilesystemServiceASGIApplication(ConnectASGIApplication[FilesystemService]):
30
+ def __init__(self, service: FilesystemService | AsyncGenerator[FilesystemService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
31
31
  super().__init__(
32
- endpoints={
32
+ service=service,
33
+ endpoints=lambda svc: {
33
34
  "/metalstack.admin.v2.FilesystemService/Create": Endpoint.unary(
34
35
  method=MethodInfo(
35
36
  name="Create",
@@ -38,7 +39,7 @@ class FilesystemServiceASGIApplication(ConnectASGIApplication):
38
39
  output=metalstack_dot_admin_dot_v2_dot_filesystem__pb2.FilesystemServiceCreateResponse,
39
40
  idempotency_level=IdempotencyLevel.UNKNOWN,
40
41
  ),
41
- function=service.create,
42
+ function=svc.create,
42
43
  ),
43
44
  "/metalstack.admin.v2.FilesystemService/Update": Endpoint.unary(
44
45
  method=MethodInfo(
@@ -48,7 +49,7 @@ class FilesystemServiceASGIApplication(ConnectASGIApplication):
48
49
  output=metalstack_dot_admin_dot_v2_dot_filesystem__pb2.FilesystemServiceUpdateResponse,
49
50
  idempotency_level=IdempotencyLevel.UNKNOWN,
50
51
  ),
51
- function=service.update,
52
+ function=svc.update,
52
53
  ),
53
54
  "/metalstack.admin.v2.FilesystemService/Delete": Endpoint.unary(
54
55
  method=MethodInfo(
@@ -58,7 +59,7 @@ class FilesystemServiceASGIApplication(ConnectASGIApplication):
58
59
  output=metalstack_dot_admin_dot_v2_dot_filesystem__pb2.FilesystemServiceDeleteResponse,
59
60
  idempotency_level=IdempotencyLevel.UNKNOWN,
60
61
  ),
61
- function=service.delete,
62
+ function=svc.delete,
62
63
  ),
63
64
  },
64
65
  interceptors=interceptors,
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: metalstack/admin/v2/filesystem.proto
5
- # Protobuf Python Version: 6.32.1
5
+ # Protobuf Python Version: 6.33.4
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  6,
15
- 32,
16
- 1,
15
+ 33,
16
+ 4,
17
17
  '',
18
18
  'metalstack/admin/v2/filesystem.proto'
19
19
  )
@@ -2,7 +2,7 @@
2
2
  # Generated by https://github.com/connectrpc/connect-python. DO NOT EDIT!
3
3
  # source: metalstack/admin/v2/image.proto
4
4
 
5
- from collections.abc import AsyncIterator, Iterable, Iterator, Mapping
5
+ from collections.abc import AsyncGenerator, AsyncIterator, Iterable, Iterator, Mapping
6
6
  from typing import Protocol
7
7
 
8
8
  from connectrpc.client import ConnectClient, ConnectClientSync
@@ -29,10 +29,11 @@ class ImageService(Protocol):
29
29
  raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
30
30
 
31
31
 
32
- class ImageServiceASGIApplication(ConnectASGIApplication):
33
- def __init__(self, service: ImageService, *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
32
+ class ImageServiceASGIApplication(ConnectASGIApplication[ImageService]):
33
+ def __init__(self, service: ImageService | AsyncGenerator[ImageService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
34
34
  super().__init__(
35
- endpoints={
35
+ service=service,
36
+ endpoints=lambda svc: {
36
37
  "/metalstack.admin.v2.ImageService/Create": Endpoint.unary(
37
38
  method=MethodInfo(
38
39
  name="Create",
@@ -41,7 +42,7 @@ class ImageServiceASGIApplication(ConnectASGIApplication):
41
42
  output=metalstack_dot_admin_dot_v2_dot_image__pb2.ImageServiceCreateResponse,
42
43
  idempotency_level=IdempotencyLevel.UNKNOWN,
43
44
  ),
44
- function=service.create,
45
+ function=svc.create,
45
46
  ),
46
47
  "/metalstack.admin.v2.ImageService/Update": Endpoint.unary(
47
48
  method=MethodInfo(
@@ -51,7 +52,7 @@ class ImageServiceASGIApplication(ConnectASGIApplication):
51
52
  output=metalstack_dot_admin_dot_v2_dot_image__pb2.ImageServiceUpdateResponse,
52
53
  idempotency_level=IdempotencyLevel.UNKNOWN,
53
54
  ),
54
- function=service.update,
55
+ function=svc.update,
55
56
  ),
56
57
  "/metalstack.admin.v2.ImageService/Delete": Endpoint.unary(
57
58
  method=MethodInfo(
@@ -61,7 +62,7 @@ class ImageServiceASGIApplication(ConnectASGIApplication):
61
62
  output=metalstack_dot_admin_dot_v2_dot_image__pb2.ImageServiceDeleteResponse,
62
63
  idempotency_level=IdempotencyLevel.UNKNOWN,
63
64
  ),
64
- function=service.delete,
65
+ function=svc.delete,
65
66
  ),
66
67
  "/metalstack.admin.v2.ImageService/Usage": Endpoint.unary(
67
68
  method=MethodInfo(
@@ -71,7 +72,7 @@ class ImageServiceASGIApplication(ConnectASGIApplication):
71
72
  output=metalstack_dot_admin_dot_v2_dot_image__pb2.ImageServiceUsageResponse,
72
73
  idempotency_level=IdempotencyLevel.UNKNOWN,
73
74
  ),
74
- function=service.usage,
75
+ function=svc.usage,
75
76
  ),
76
77
  },
77
78
  interceptors=interceptors,
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: metalstack/admin/v2/image.proto
5
- # Protobuf Python Version: 6.32.1
5
+ # Protobuf Python Version: 6.33.4
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  6,
15
- 32,
16
- 1,
15
+ 33,
16
+ 4,
17
17
  '',
18
18
  'metalstack/admin/v2/image.proto'
19
19
  )
@@ -2,7 +2,7 @@
2
2
  # Generated by https://github.com/connectrpc/connect-python. DO NOT EDIT!
3
3
  # source: metalstack/admin/v2/ip.proto
4
4
 
5
- from collections.abc import AsyncIterator, Iterable, Iterator, Mapping
5
+ from collections.abc import AsyncGenerator, AsyncIterator, Iterable, Iterator, Mapping
6
6
  from typing import Protocol
7
7
 
8
8
  from connectrpc.client import ConnectClient, ConnectClientSync
@@ -20,10 +20,11 @@ class IPService(Protocol):
20
20
  raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
21
21
 
22
22
 
23
- class IPServiceASGIApplication(ConnectASGIApplication):
24
- def __init__(self, service: IPService, *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
23
+ class IPServiceASGIApplication(ConnectASGIApplication[IPService]):
24
+ def __init__(self, service: IPService | AsyncGenerator[IPService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
25
25
  super().__init__(
26
- endpoints={
26
+ service=service,
27
+ endpoints=lambda svc: {
27
28
  "/metalstack.admin.v2.IPService/List": Endpoint.unary(
28
29
  method=MethodInfo(
29
30
  name="List",
@@ -32,7 +33,7 @@ class IPServiceASGIApplication(ConnectASGIApplication):
32
33
  output=metalstack_dot_admin_dot_v2_dot_ip__pb2.IPServiceListResponse,
33
34
  idempotency_level=IdempotencyLevel.UNKNOWN,
34
35
  ),
35
- function=service.list,
36
+ function=svc.list,
36
37
  ),
37
38
  },
38
39
  interceptors=interceptors,
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: metalstack/admin/v2/ip.proto
5
- # Protobuf Python Version: 6.32.1
5
+ # Protobuf Python Version: 6.33.4
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  6,
15
- 32,
16
- 1,
15
+ 33,
16
+ 4,
17
17
  '',
18
18
  'metalstack/admin/v2/ip.proto'
19
19
  )
@@ -2,7 +2,7 @@
2
2
  # Generated by https://github.com/connectrpc/connect-python. DO NOT EDIT!
3
3
  # source: metalstack/admin/v2/machine.proto
4
4
 
5
- from collections.abc import AsyncIterator, Iterable, Iterator, Mapping
5
+ from collections.abc import AsyncGenerator, AsyncIterator, Iterable, Iterator, Mapping
6
6
  from typing import Protocol
7
7
 
8
8
  from connectrpc.client import ConnectClient, ConnectClientSync
@@ -23,10 +23,11 @@ class MachineService(Protocol):
23
23
  raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
24
24
 
25
25
 
26
- class MachineServiceASGIApplication(ConnectASGIApplication):
27
- def __init__(self, service: MachineService, *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
26
+ class MachineServiceASGIApplication(ConnectASGIApplication[MachineService]):
27
+ def __init__(self, service: MachineService | AsyncGenerator[MachineService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
28
28
  super().__init__(
29
- endpoints={
29
+ service=service,
30
+ endpoints=lambda svc: {
30
31
  "/metalstack.admin.v2.MachineService/Get": Endpoint.unary(
31
32
  method=MethodInfo(
32
33
  name="Get",
@@ -35,7 +36,7 @@ class MachineServiceASGIApplication(ConnectASGIApplication):
35
36
  output=metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceGetResponse,
36
37
  idempotency_level=IdempotencyLevel.UNKNOWN,
37
38
  ),
38
- function=service.get,
39
+ function=svc.get,
39
40
  ),
40
41
  "/metalstack.admin.v2.MachineService/List": Endpoint.unary(
41
42
  method=MethodInfo(
@@ -45,7 +46,7 @@ class MachineServiceASGIApplication(ConnectASGIApplication):
45
46
  output=metalstack_dot_admin_dot_v2_dot_machine__pb2.MachineServiceListResponse,
46
47
  idempotency_level=IdempotencyLevel.UNKNOWN,
47
48
  ),
48
- function=service.list,
49
+ function=svc.list,
49
50
  ),
50
51
  },
51
52
  interceptors=interceptors,
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: metalstack/admin/v2/machine.proto
5
- # Protobuf Python Version: 6.32.1
5
+ # Protobuf Python Version: 6.33.4
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  6,
15
- 32,
16
- 1,
15
+ 33,
16
+ 4,
17
17
  '',
18
18
  'metalstack/admin/v2/machine.proto'
19
19
  )
@@ -2,7 +2,7 @@
2
2
  # Generated by https://github.com/connectrpc/connect-python. DO NOT EDIT!
3
3
  # source: metalstack/admin/v2/network.proto
4
4
 
5
- from collections.abc import AsyncIterator, Iterable, Iterator, Mapping
5
+ from collections.abc import AsyncGenerator, AsyncIterator, Iterable, Iterator, Mapping
6
6
  from typing import Protocol
7
7
 
8
8
  from connectrpc.client import ConnectClient, ConnectClientSync
@@ -32,10 +32,11 @@ class NetworkService(Protocol):
32
32
  raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
33
33
 
34
34
 
35
- class NetworkServiceASGIApplication(ConnectASGIApplication):
36
- def __init__(self, service: NetworkService, *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
35
+ class NetworkServiceASGIApplication(ConnectASGIApplication[NetworkService]):
36
+ def __init__(self, service: NetworkService | AsyncGenerator[NetworkService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
37
37
  super().__init__(
38
- endpoints={
38
+ service=service,
39
+ endpoints=lambda svc: {
39
40
  "/metalstack.admin.v2.NetworkService/Get": Endpoint.unary(
40
41
  method=MethodInfo(
41
42
  name="Get",
@@ -44,7 +45,7 @@ class NetworkServiceASGIApplication(ConnectASGIApplication):
44
45
  output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceGetResponse,
45
46
  idempotency_level=IdempotencyLevel.UNKNOWN,
46
47
  ),
47
- function=service.get,
48
+ function=svc.get,
48
49
  ),
49
50
  "/metalstack.admin.v2.NetworkService/Create": Endpoint.unary(
50
51
  method=MethodInfo(
@@ -54,7 +55,7 @@ class NetworkServiceASGIApplication(ConnectASGIApplication):
54
55
  output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceCreateResponse,
55
56
  idempotency_level=IdempotencyLevel.UNKNOWN,
56
57
  ),
57
- function=service.create,
58
+ function=svc.create,
58
59
  ),
59
60
  "/metalstack.admin.v2.NetworkService/Update": Endpoint.unary(
60
61
  method=MethodInfo(
@@ -64,7 +65,7 @@ class NetworkServiceASGIApplication(ConnectASGIApplication):
64
65
  output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceUpdateResponse,
65
66
  idempotency_level=IdempotencyLevel.UNKNOWN,
66
67
  ),
67
- function=service.update,
68
+ function=svc.update,
68
69
  ),
69
70
  "/metalstack.admin.v2.NetworkService/Delete": Endpoint.unary(
70
71
  method=MethodInfo(
@@ -74,7 +75,7 @@ class NetworkServiceASGIApplication(ConnectASGIApplication):
74
75
  output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceDeleteResponse,
75
76
  idempotency_level=IdempotencyLevel.UNKNOWN,
76
77
  ),
77
- function=service.delete,
78
+ function=svc.delete,
78
79
  ),
79
80
  "/metalstack.admin.v2.NetworkService/List": Endpoint.unary(
80
81
  method=MethodInfo(
@@ -84,7 +85,7 @@ class NetworkServiceASGIApplication(ConnectASGIApplication):
84
85
  output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListResponse,
85
86
  idempotency_level=IdempotencyLevel.UNKNOWN,
86
87
  ),
87
- function=service.list,
88
+ function=svc.list,
88
89
  ),
89
90
  },
90
91
  interceptors=interceptors,
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: metalstack/admin/v2/network.proto
5
- # Protobuf Python Version: 6.32.1
5
+ # Protobuf Python Version: 6.33.4
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  6,
15
- 32,
16
- 1,
15
+ 33,
16
+ 4,
17
17
  '',
18
18
  'metalstack/admin/v2/network.proto'
19
19
  )
@@ -2,7 +2,7 @@
2
2
  # Generated by https://github.com/connectrpc/connect-python. DO NOT EDIT!
3
3
  # source: metalstack/admin/v2/partition.proto
4
4
 
5
- from collections.abc import AsyncIterator, Iterable, Iterator, Mapping
5
+ from collections.abc import AsyncGenerator, AsyncIterator, Iterable, Iterator, Mapping
6
6
  from typing import Protocol
7
7
 
8
8
  from connectrpc.client import ConnectClient, ConnectClientSync
@@ -29,10 +29,11 @@ class PartitionService(Protocol):
29
29
  raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
30
30
 
31
31
 
32
- class PartitionServiceASGIApplication(ConnectASGIApplication):
33
- def __init__(self, service: PartitionService, *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
32
+ class PartitionServiceASGIApplication(ConnectASGIApplication[PartitionService]):
33
+ def __init__(self, service: PartitionService | AsyncGenerator[PartitionService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
34
34
  super().__init__(
35
- endpoints={
35
+ service=service,
36
+ endpoints=lambda svc: {
36
37
  "/metalstack.admin.v2.PartitionService/Create": Endpoint.unary(
37
38
  method=MethodInfo(
38
39
  name="Create",
@@ -41,7 +42,7 @@ class PartitionServiceASGIApplication(ConnectASGIApplication):
41
42
  output=metalstack_dot_admin_dot_v2_dot_partition__pb2.PartitionServiceCreateResponse,
42
43
  idempotency_level=IdempotencyLevel.UNKNOWN,
43
44
  ),
44
- function=service.create,
45
+ function=svc.create,
45
46
  ),
46
47
  "/metalstack.admin.v2.PartitionService/Update": Endpoint.unary(
47
48
  method=MethodInfo(
@@ -51,7 +52,7 @@ class PartitionServiceASGIApplication(ConnectASGIApplication):
51
52
  output=metalstack_dot_admin_dot_v2_dot_partition__pb2.PartitionServiceUpdateResponse,
52
53
  idempotency_level=IdempotencyLevel.UNKNOWN,
53
54
  ),
54
- function=service.update,
55
+ function=svc.update,
55
56
  ),
56
57
  "/metalstack.admin.v2.PartitionService/Delete": Endpoint.unary(
57
58
  method=MethodInfo(
@@ -61,7 +62,7 @@ class PartitionServiceASGIApplication(ConnectASGIApplication):
61
62
  output=metalstack_dot_admin_dot_v2_dot_partition__pb2.PartitionServiceDeleteResponse,
62
63
  idempotency_level=IdempotencyLevel.UNKNOWN,
63
64
  ),
64
- function=service.delete,
65
+ function=svc.delete,
65
66
  ),
66
67
  "/metalstack.admin.v2.PartitionService/Capacity": Endpoint.unary(
67
68
  method=MethodInfo(
@@ -71,7 +72,7 @@ class PartitionServiceASGIApplication(ConnectASGIApplication):
71
72
  output=metalstack_dot_admin_dot_v2_dot_partition__pb2.PartitionServiceCapacityResponse,
72
73
  idempotency_level=IdempotencyLevel.UNKNOWN,
73
74
  ),
74
- function=service.capacity,
75
+ function=svc.capacity,
75
76
  ),
76
77
  },
77
78
  interceptors=interceptors,
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: metalstack/admin/v2/partition.proto
5
- # Protobuf Python Version: 6.32.1
5
+ # Protobuf Python Version: 6.33.4
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  6,
15
- 32,
16
- 1,
15
+ 33,
16
+ 4,
17
17
  '',
18
18
  'metalstack/admin/v2/partition.proto'
19
19
  )
@@ -2,7 +2,7 @@
2
2
  # Generated by https://github.com/connectrpc/connect-python. DO NOT EDIT!
3
3
  # source: metalstack/admin/v2/project.proto
4
4
 
5
- from collections.abc import AsyncIterator, Iterable, Iterator, Mapping
5
+ from collections.abc import AsyncGenerator, AsyncIterator, Iterable, Iterator, Mapping
6
6
  from typing import Protocol
7
7
 
8
8
  from connectrpc.client import ConnectClient, ConnectClientSync
@@ -20,10 +20,11 @@ class ProjectService(Protocol):
20
20
  raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
21
21
 
22
22
 
23
- class ProjectServiceASGIApplication(ConnectASGIApplication):
24
- def __init__(self, service: ProjectService, *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
23
+ class ProjectServiceASGIApplication(ConnectASGIApplication[ProjectService]):
24
+ def __init__(self, service: ProjectService | AsyncGenerator[ProjectService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
25
25
  super().__init__(
26
- endpoints={
26
+ service=service,
27
+ endpoints=lambda svc: {
27
28
  "/metalstack.admin.v2.ProjectService/List": Endpoint.unary(
28
29
  method=MethodInfo(
29
30
  name="List",
@@ -32,7 +33,7 @@ class ProjectServiceASGIApplication(ConnectASGIApplication):
32
33
  output=metalstack_dot_admin_dot_v2_dot_project__pb2.ProjectServiceListResponse,
33
34
  idempotency_level=IdempotencyLevel.UNKNOWN,
34
35
  ),
35
- function=service.list,
36
+ function=svc.list,
36
37
  ),
37
38
  },
38
39
  interceptors=interceptors,
@@ -2,7 +2,7 @@
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
4
  # source: metalstack/admin/v2/project.proto
5
- # Protobuf Python Version: 6.32.1
5
+ # Protobuf Python Version: 6.33.4
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
8
8
  from google.protobuf import descriptor_pool as _descriptor_pool
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
12
12
  _runtime_version.ValidateProtobufRuntimeVersion(
13
13
  _runtime_version.Domain.PUBLIC,
14
14
  6,
15
- 32,
16
- 1,
15
+ 33,
16
+ 4,
17
17
  '',
18
18
  'metalstack/admin/v2/project.proto'
19
19
  )