1111
1212from collections .abc import Mapping
1313from typing import TYPE_CHECKING , Literal , Optional , overload
14+ from typing_extensions import deprecated
1415from weakref import ref
1516
1617from pydantic import BaseModel
@@ -208,6 +209,7 @@ async def async_list_in_organization(
208209 )
209210
210211 @overload
212+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
211213 def set_codespaces_access (
212214 self ,
213215 org : str ,
@@ -218,6 +220,7 @@ def set_codespaces_access(
218220 ) -> Response : ...
219221
220222 @overload
223+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
221224 def set_codespaces_access (
222225 self ,
223226 org : str ,
@@ -234,6 +237,7 @@ def set_codespaces_access(
234237 selected_usernames : Missing [list [str ]] = UNSET ,
235238 ) -> Response : ...
236239
240+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
237241 def set_codespaces_access (
238242 self ,
239243 org : str ,
@@ -282,6 +286,7 @@ def set_codespaces_access(
282286 )
283287
284288 @overload
289+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
285290 async def async_set_codespaces_access (
286291 self ,
287292 org : str ,
@@ -292,6 +297,7 @@ async def async_set_codespaces_access(
292297 ) -> Response : ...
293298
294299 @overload
300+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
295301 async def async_set_codespaces_access (
296302 self ,
297303 org : str ,
@@ -308,6 +314,7 @@ async def async_set_codespaces_access(
308314 selected_usernames : Missing [list [str ]] = UNSET ,
309315 ) -> Response : ...
310316
317+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
311318 async def async_set_codespaces_access (
312319 self ,
313320 org : str ,
@@ -356,6 +363,7 @@ async def async_set_codespaces_access(
356363 )
357364
358365 @overload
366+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
359367 def set_codespaces_access_users (
360368 self ,
361369 org : str ,
@@ -366,6 +374,7 @@ def set_codespaces_access_users(
366374 ) -> Response : ...
367375
368376 @overload
377+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
369378 def set_codespaces_access_users (
370379 self ,
371380 org : str ,
@@ -376,6 +385,7 @@ def set_codespaces_access_users(
376385 selected_usernames : list [str ],
377386 ) -> Response : ...
378387
388+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
379389 def set_codespaces_access_users (
380390 self ,
381391 org : str ,
@@ -434,6 +444,7 @@ def set_codespaces_access_users(
434444 )
435445
436446 @overload
447+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
437448 async def async_set_codespaces_access_users (
438449 self ,
439450 org : str ,
@@ -444,6 +455,7 @@ async def async_set_codespaces_access_users(
444455 ) -> Response : ...
445456
446457 @overload
458+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
447459 async def async_set_codespaces_access_users (
448460 self ,
449461 org : str ,
@@ -454,6 +466,7 @@ async def async_set_codespaces_access_users(
454466 selected_usernames : list [str ],
455467 ) -> Response : ...
456468
469+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
457470 async def async_set_codespaces_access_users (
458471 self ,
459472 org : str ,
@@ -512,6 +525,7 @@ async def async_set_codespaces_access_users(
512525 )
513526
514527 @overload
528+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
515529 def delete_codespaces_access_users (
516530 self ,
517531 org : str ,
@@ -522,6 +536,7 @@ def delete_codespaces_access_users(
522536 ) -> Response : ...
523537
524538 @overload
539+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
525540 def delete_codespaces_access_users (
526541 self ,
527542 org : str ,
@@ -532,6 +547,7 @@ def delete_codespaces_access_users(
532547 selected_usernames : list [str ],
533548 ) -> Response : ...
534549
550+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
535551 def delete_codespaces_access_users (
536552 self ,
537553 org : str ,
@@ -590,6 +606,7 @@ def delete_codespaces_access_users(
590606 )
591607
592608 @overload
609+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
593610 async def async_delete_codespaces_access_users (
594611 self ,
595612 org : str ,
@@ -600,6 +617,7 @@ async def async_delete_codespaces_access_users(
600617 ) -> Response : ...
601618
602619 @overload
620+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
603621 async def async_delete_codespaces_access_users (
604622 self ,
605623 org : str ,
@@ -610,6 +628,7 @@ async def async_delete_codespaces_access_users(
610628 selected_usernames : list [str ],
611629 ) -> Response : ...
612630
631+ @deprecated ("Deprecated API endpoint. See the docstring for more details." )
613632 async def async_delete_codespaces_access_users (
614633 self ,
615634 org : str ,
0 commit comments