@@ -781,7 +781,7 @@ async def create_temporal_resolution(
781
781
response_class = ORJSONResponse ,
782
782
)
783
783
async def delete_category (
784
- category_id : str = Path (None , description = "The category ID" , max_length = 255 ),
784
+ category_id : str = Path (description = "The category ID" , max_length = 255 ),
785
785
token_auth0 : TokenModel = Security (get_token_auth0 , scopes = ["admin" ]),
786
786
request : Request = None ,
787
787
) -> None :
@@ -860,7 +860,7 @@ async def delete_category(
860
860
response_class = ORJSONResponse ,
861
861
)
862
862
async def delete_data_provider (
863
- dpid : int = Path (None , description = "The data provider ID" ),
863
+ dpid : int = Path (description = "The data provider ID" ),
864
864
token_auth0 : TokenModel = Security (get_token_auth0 , scopes = ["admin" ]),
865
865
request : Request = None ,
866
866
) -> None :
@@ -1019,7 +1019,7 @@ async def delete_dataset(
1019
1019
response_class = ORJSONResponse ,
1020
1020
)
1021
1021
async def delete_indicator (
1022
- indicator_id : str = Path (None , description = "The indicator ID" , max_length = 255 ),
1022
+ indicator_id : str = Path (description = "The indicator ID" , max_length = 255 ),
1023
1023
token_auth0 : TokenModel = Security (get_token_auth0 , scopes = ["admin" ]),
1024
1024
request : Request = None ,
1025
1025
) -> None :
@@ -1255,7 +1255,7 @@ async def delete_setup(
1255
1255
response_class = ORJSONResponse ,
1256
1256
)
1257
1257
async def delete_spatial_resolution (
1258
- srid : int = Path (None , description = "The spatial resolution ID" , ge = 1 ),
1258
+ srid : int = Path (description = "The spatial resolution ID" , ge = 1 ),
1259
1259
token_auth0 : TokenModel = Security (get_token_auth0 , scopes = ["admin" ]),
1260
1260
request : Request = None ,
1261
1261
) -> None :
@@ -1334,7 +1334,7 @@ async def delete_spatial_resolution(
1334
1334
response_class = ORJSONResponse ,
1335
1335
)
1336
1336
async def delete_temporal_resolution (
1337
- trid : int = Path (None , description = "The temporal resolution ID" , ge = 1 ),
1337
+ trid : int = Path (description = "The temporal resolution ID" , ge = 1 ),
1338
1338
token_auth0 : TokenModel = Security (get_token_auth0 , scopes = ["admin" ]),
1339
1339
request : Request = None ,
1340
1340
) -> None :
@@ -1489,7 +1489,7 @@ async def replace_setup(
1489
1489
response_class = ORJSONResponse ,
1490
1490
)
1491
1491
async def update_category (
1492
- category_id : str = Path (None , description = "The category ID" , max_length = 255 ),
1492
+ category_id : str = Path (description = "The category ID" , max_length = 255 ),
1493
1493
category : Category = Body (None , description = "The new resource" ),
1494
1494
token_auth0 : TokenModel = Security (get_token_auth0 , scopes = ["admin" ]),
1495
1495
request : Request = None ,
@@ -1569,7 +1569,7 @@ async def update_category(
1569
1569
response_class = ORJSONResponse ,
1570
1570
)
1571
1571
async def update_data_provider (
1572
- dpid : int = Path (None , description = "The data provider ID" ),
1572
+ dpid : int = Path (description = "The data provider ID" ),
1573
1573
data_provider : DataProvider = Body (None , description = "The new resource" ),
1574
1574
token_auth0 : TokenModel = Security (get_token_auth0 , scopes = ["write:data" ]),
1575
1575
request : Request = None ,
@@ -1727,7 +1727,7 @@ async def update_dataset(
1727
1727
response_class = ORJSONResponse ,
1728
1728
)
1729
1729
async def update_indicator (
1730
- indicator_id : str = Path (None , description = "The indicator ID" , max_length = 255 ),
1730
+ indicator_id : str = Path (description = "The indicator ID" , max_length = 255 ),
1731
1731
indicator : Indicator = Body (None , description = "The new resource" ),
1732
1732
token_auth0 : TokenModel = Security (get_token_auth0 , scopes = ["admin" ]),
1733
1733
request : Request = None ,
@@ -1886,7 +1886,7 @@ async def update_setup(
1886
1886
response_class = ORJSONResponse ,
1887
1887
)
1888
1888
async def update_spatial_resolution (
1889
- srid : int = Path (None , description = "The spatial resolution ID" , ge = 1 ),
1889
+ srid : int = Path (description = "The spatial resolution ID" , ge = 1 ),
1890
1890
spatial_resolution : SpatialResolution = Body (None , description = "The new resource" ),
1891
1891
token_auth0 : TokenModel = Security (get_token_auth0 , scopes = ["admin" ]),
1892
1892
request : Request = None ,
@@ -1969,7 +1969,7 @@ async def update_spatial_resolution(
1969
1969
response_class = ORJSONResponse ,
1970
1970
)
1971
1971
async def update_temporal_resolution (
1972
- trid : int = Path (None , description = "The temporal resolution ID" , ge = 1 ),
1972
+ trid : int = Path (description = "The temporal resolution ID" , ge = 1 ),
1973
1973
temporal_resolution : TemporalResolution = Body (
1974
1974
None , description = "The new resource"
1975
1975
),
0 commit comments