50
50
OrgsOrgCodespacesSecretsSecretNamePutBody ,
51
51
ReposOwnerRepoCodespacesNewGetResponse200 ,
52
52
ReposOwnerRepoCodespacesSecretsGetResponse200 ,
53
- UserCodespacesSecretsSecretNamePutResponse201 ,
54
53
OrgsOrgMembersUsernameCodespacesGetResponse200 ,
55
54
ReposOwnerRepoCodespacesMachinesGetResponse200 ,
56
55
ReposOwnerRepoPullsPullNumberCodespacesPostBody ,
59
58
AppHookDeliveriesDeliveryIdAttemptsPostResponse202 ,
60
59
UserCodespacesSecretsSecretNameRepositoriesPutBody ,
61
60
ReposOwnerRepoCodespacesDevcontainersGetResponse200 ,
61
+ EnterprisesEnterpriseCodeScanningAlertsGetResponse503 ,
62
62
OrgsOrgCodespacesSecretsSecretNameRepositoriesPutBody ,
63
- ReposOwnerRepoCodespacesSecretsSecretNamePutResponse201 ,
64
63
UserCodespacesSecretsSecretNameRepositoriesGetResponse200 ,
65
64
OrgsOrgCodespacesSecretsSecretNameRepositoriesGetResponse200 ,
66
65
)
@@ -915,6 +914,7 @@ def create_with_repo_for_authenticated_user(
915
914
"401" : BasicError ,
916
915
"403" : BasicError ,
917
916
"404" : BasicError ,
917
+ "503" : EnterprisesEnterpriseCodeScanningAlertsGetResponse503 ,
918
918
},
919
919
)
920
920
@@ -975,6 +975,7 @@ async def async_create_with_repo_for_authenticated_user(
975
975
"401" : BasicError ,
976
976
"403" : BasicError ,
977
977
"404" : BasicError ,
978
+ "503" : EnterprisesEnterpriseCodeScanningAlertsGetResponse503 ,
978
979
},
979
980
)
980
981
@@ -1244,7 +1245,7 @@ def create_or_update_repo_secret(
1244
1245
secret_name : str ,
1245
1246
* ,
1246
1247
data : ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType ,
1247
- ) -> "Response[ReposOwnerRepoCodespacesSecretsSecretNamePutResponse201 ]" :
1248
+ ) -> "Response[EmptyObject ]" :
1248
1249
...
1249
1250
1250
1251
@overload
@@ -1257,7 +1258,7 @@ def create_or_update_repo_secret(
1257
1258
data : Unset = UNSET ,
1258
1259
encrypted_value : Union [Unset , str ] = UNSET ,
1259
1260
key_id : Union [Unset , str ] = UNSET ,
1260
- ) -> "Response[ReposOwnerRepoCodespacesSecretsSecretNamePutResponse201 ]" :
1261
+ ) -> "Response[EmptyObject ]" :
1261
1262
...
1262
1263
1263
1264
def create_or_update_repo_secret (
@@ -1270,7 +1271,7 @@ def create_or_update_repo_secret(
1270
1271
Unset , ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType
1271
1272
] = UNSET ,
1272
1273
** kwargs ,
1273
- ) -> "Response[ReposOwnerRepoCodespacesSecretsSecretNamePutResponse201 ]" :
1274
+ ) -> "Response[EmptyObject ]" :
1274
1275
url = f"/repos/{ owner } /{ repo } /codespaces/secrets/{ secret_name } "
1275
1276
1276
1277
if not kwargs :
@@ -1284,7 +1285,7 @@ def create_or_update_repo_secret(
1284
1285
"PUT" ,
1285
1286
url ,
1286
1287
json = exclude_unset (json ),
1287
- response_model = ReposOwnerRepoCodespacesSecretsSecretNamePutResponse201 ,
1288
+ response_model = EmptyObject ,
1288
1289
)
1289
1290
1290
1291
@overload
@@ -1295,7 +1296,7 @@ async def async_create_or_update_repo_secret(
1295
1296
secret_name : str ,
1296
1297
* ,
1297
1298
data : ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType ,
1298
- ) -> "Response[ReposOwnerRepoCodespacesSecretsSecretNamePutResponse201 ]" :
1299
+ ) -> "Response[EmptyObject ]" :
1299
1300
...
1300
1301
1301
1302
@overload
@@ -1308,7 +1309,7 @@ async def async_create_or_update_repo_secret(
1308
1309
data : Unset = UNSET ,
1309
1310
encrypted_value : Union [Unset , str ] = UNSET ,
1310
1311
key_id : Union [Unset , str ] = UNSET ,
1311
- ) -> "Response[ReposOwnerRepoCodespacesSecretsSecretNamePutResponse201 ]" :
1312
+ ) -> "Response[EmptyObject ]" :
1312
1313
...
1313
1314
1314
1315
async def async_create_or_update_repo_secret (
@@ -1321,7 +1322,7 @@ async def async_create_or_update_repo_secret(
1321
1322
Unset , ReposOwnerRepoCodespacesSecretsSecretNamePutBodyType
1322
1323
] = UNSET ,
1323
1324
** kwargs ,
1324
- ) -> "Response[ReposOwnerRepoCodespacesSecretsSecretNamePutResponse201 ]" :
1325
+ ) -> "Response[EmptyObject ]" :
1325
1326
url = f"/repos/{ owner } /{ repo } /codespaces/secrets/{ secret_name } "
1326
1327
1327
1328
if not kwargs :
@@ -1335,7 +1336,7 @@ async def async_create_or_update_repo_secret(
1335
1336
"PUT" ,
1336
1337
url ,
1337
1338
json = exclude_unset (json ),
1338
- response_model = ReposOwnerRepoCodespacesSecretsSecretNamePutResponse201 ,
1339
+ response_model = EmptyObject ,
1339
1340
)
1340
1341
1341
1342
def delete_repo_secret (
@@ -1426,6 +1427,7 @@ def create_with_pr_for_authenticated_user(
1426
1427
"401" : BasicError ,
1427
1428
"403" : BasicError ,
1428
1429
"404" : BasicError ,
1430
+ "503" : EnterprisesEnterpriseCodeScanningAlertsGetResponse503 ,
1429
1431
},
1430
1432
)
1431
1433
@@ -1491,6 +1493,7 @@ async def async_create_with_pr_for_authenticated_user(
1491
1493
"401" : BasicError ,
1492
1494
"403" : BasicError ,
1493
1495
"404" : BasicError ,
1496
+ "503" : EnterprisesEnterpriseCodeScanningAlertsGetResponse503 ,
1494
1497
},
1495
1498
)
1496
1499
@@ -1618,6 +1621,7 @@ def create_for_authenticated_user(
1618
1621
"401" : BasicError ,
1619
1622
"403" : BasicError ,
1620
1623
"404" : BasicError ,
1624
+ "503" : EnterprisesEnterpriseCodeScanningAlertsGetResponse503 ,
1621
1625
},
1622
1626
)
1623
1627
@@ -1691,6 +1695,7 @@ async def async_create_for_authenticated_user(
1691
1695
"401" : BasicError ,
1692
1696
"403" : BasicError ,
1693
1697
"404" : BasicError ,
1698
+ "503" : EnterprisesEnterpriseCodeScanningAlertsGetResponse503 ,
1694
1699
},
1695
1700
)
1696
1701
@@ -1781,7 +1786,7 @@ async def async_get_secret_for_authenticated_user(
1781
1786
@overload
1782
1787
def create_or_update_secret_for_authenticated_user (
1783
1788
self , secret_name : str , * , data : UserCodespacesSecretsSecretNamePutBodyType
1784
- ) -> "Response[UserCodespacesSecretsSecretNamePutResponse201 ]" :
1789
+ ) -> "Response[EmptyObject ]" :
1785
1790
...
1786
1791
1787
1792
@overload
@@ -1793,7 +1798,7 @@ def create_or_update_secret_for_authenticated_user(
1793
1798
encrypted_value : Union [Unset , str ] = UNSET ,
1794
1799
key_id : str ,
1795
1800
selected_repository_ids : Union [Unset , List [str ]] = UNSET ,
1796
- ) -> "Response[UserCodespacesSecretsSecretNamePutResponse201 ]" :
1801
+ ) -> "Response[EmptyObject ]" :
1797
1802
...
1798
1803
1799
1804
def create_or_update_secret_for_authenticated_user (
@@ -1802,7 +1807,7 @@ def create_or_update_secret_for_authenticated_user(
1802
1807
* ,
1803
1808
data : Union [Unset , UserCodespacesSecretsSecretNamePutBodyType ] = UNSET ,
1804
1809
** kwargs ,
1805
- ) -> "Response[UserCodespacesSecretsSecretNamePutResponse201 ]" :
1810
+ ) -> "Response[EmptyObject ]" :
1806
1811
url = f"/user/codespaces/secrets/{ secret_name } "
1807
1812
1808
1813
if not kwargs :
@@ -1816,7 +1821,7 @@ def create_or_update_secret_for_authenticated_user(
1816
1821
"PUT" ,
1817
1822
url ,
1818
1823
json = exclude_unset (json ),
1819
- response_model = UserCodespacesSecretsSecretNamePutResponse201 ,
1824
+ response_model = EmptyObject ,
1820
1825
error_models = {
1821
1826
"422" : ValidationError ,
1822
1827
"404" : BasicError ,
@@ -1826,7 +1831,7 @@ def create_or_update_secret_for_authenticated_user(
1826
1831
@overload
1827
1832
async def async_create_or_update_secret_for_authenticated_user (
1828
1833
self , secret_name : str , * , data : UserCodespacesSecretsSecretNamePutBodyType
1829
- ) -> "Response[UserCodespacesSecretsSecretNamePutResponse201 ]" :
1834
+ ) -> "Response[EmptyObject ]" :
1830
1835
...
1831
1836
1832
1837
@overload
@@ -1838,7 +1843,7 @@ async def async_create_or_update_secret_for_authenticated_user(
1838
1843
encrypted_value : Union [Unset , str ] = UNSET ,
1839
1844
key_id : str ,
1840
1845
selected_repository_ids : Union [Unset , List [str ]] = UNSET ,
1841
- ) -> "Response[UserCodespacesSecretsSecretNamePutResponse201 ]" :
1846
+ ) -> "Response[EmptyObject ]" :
1842
1847
...
1843
1848
1844
1849
async def async_create_or_update_secret_for_authenticated_user (
@@ -1847,7 +1852,7 @@ async def async_create_or_update_secret_for_authenticated_user(
1847
1852
* ,
1848
1853
data : Union [Unset , UserCodespacesSecretsSecretNamePutBodyType ] = UNSET ,
1849
1854
** kwargs ,
1850
- ) -> "Response[UserCodespacesSecretsSecretNamePutResponse201 ]" :
1855
+ ) -> "Response[EmptyObject ]" :
1851
1856
url = f"/user/codespaces/secrets/{ secret_name } "
1852
1857
1853
1858
if not kwargs :
@@ -1861,7 +1866,7 @@ async def async_create_or_update_secret_for_authenticated_user(
1861
1866
"PUT" ,
1862
1867
url ,
1863
1868
json = exclude_unset (json ),
1864
- response_model = UserCodespacesSecretsSecretNamePutResponse201 ,
1869
+ response_model = EmptyObject ,
1865
1870
error_models = {
1866
1871
"422" : ValidationError ,
1867
1872
"404" : BasicError ,
0 commit comments