You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: open-api/rest-catalog-open-api.py
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1424,7 +1424,10 @@ class Schema(StructType):
1424
1424
1425
1425
classADLSCredential(BaseModel):
1426
1426
type: Literal['adls']
1427
-
scheme: str
1427
+
prefix: Optional[str] =Field(
1428
+
None,
1429
+
description='Indicates a storage location prefix where the credential is relevant. Clients should choose the most specific prefix if several credentials of the same type are available.',
1430
+
)
1428
1431
sas_token: str=Field(..., alias='sas-token')
1429
1432
expires_at_ms: int=Field(
1430
1433
...,
@@ -1435,7 +1438,10 @@ class ADLSCredential(BaseModel):
1435
1438
1436
1439
classGCSCredential(BaseModel):
1437
1440
type: Literal['gcs']
1438
-
scheme: str
1441
+
prefix: Optional[str] =Field(
1442
+
None,
1443
+
description='Indicates a storage location prefix where the credential is relevant. Clients should choose the most specific prefix if several credentials of the same type are available.',
1444
+
)
1439
1445
token: str
1440
1446
expires_at_ms: int=Field(
1441
1447
...,
@@ -1446,7 +1452,10 @@ class GCSCredential(BaseModel):
1446
1452
1447
1453
classS3Credential(BaseModel):
1448
1454
type: Literal['s3']
1449
-
scheme: str
1455
+
prefix: Optional[str] =Field(
1456
+
None,
1457
+
description='Indicates a storage location prefix where the credential is relevant. Clients should choose the most specific prefix if several credentials of the same type are available.',
0 commit comments