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
+9-65Lines changed: 9 additions & 65 deletions
Original file line number
Diff line number
Diff line change
@@ -467,6 +467,14 @@ class AssertViewUUID(BaseModel):
467
467
uuid: str
468
468
469
469
470
+
classCredential(BaseModel):
471
+
prefix: str=Field(
472
+
...,
473
+
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.',
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
-
)
1431
-
sas_token: str=Field(..., alias='sas-token')
1432
-
expires_at_ms: int=Field(
1433
-
...,
1434
-
alias='expires-at-ms',
1435
-
description='The epoch millis since 1970-01-01T00:00:00Z at which the given token expires',
1436
-
)
1437
-
1438
-
1439
-
classGCSCredential(BaseModel):
1440
-
type: Literal['gcs']
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
-
)
1445
-
token: str
1446
-
expires_at_ms: int=Field(
1447
-
...,
1448
-
alias='expires-at-ms',
1449
-
description='The epoch millis since 1970-01-01T00:00:00Z at which the given token expires',
1450
-
)
1451
-
1452
-
1453
-
classS3Credential(BaseModel):
1454
-
type: Literal['s3']
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