Skip to content

Commit 842ccba

Browse files
committed
poe assemble and format
1 parent 6670b40 commit 842ccba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

airbyte_cdk/sources/declarative/models/declarative_component_schema.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -475,19 +475,19 @@ class RefreshTokenUpdater(BaseModel):
475475
title="Refresh Token Property Name",
476476
)
477477
access_token_config_path: Optional[List[str]] = Field(
478-
["credentials", "access_token"],
478+
["access_token"],
479479
description="Config path to the access token. Make sure the field actually exists in the config.",
480480
examples=[["credentials", "access_token"], ["access_token"]],
481481
title="Config Path To Access Token",
482482
)
483483
refresh_token_config_path: Optional[List[str]] = Field(
484-
["credentials", "refresh_token"],
484+
["refresh_token"],
485485
description="Config path to the access token. Make sure the field actually exists in the config.",
486486
examples=[["credentials", "refresh_token"], ["refresh_token"]],
487487
title="Config Path To Refresh Token",
488488
)
489489
token_expiry_date_config_path: Optional[List[str]] = Field(
490-
["credentials", "token_expiry_date"],
490+
["token_expiry_date"],
491491
description="Config path to the expiry date. Make sure actually exists in the config.",
492492
examples=[["credentials", "token_expiry_date"]],
493493
title="Config Path To Expiry Date",
@@ -635,8 +635,8 @@ class OAuthAuthenticator(BaseModel):
635635
)
636636
refresh_token_updater: Optional[RefreshTokenUpdater] = Field(
637637
None,
638-
description="When the token updater is defined, new refresh tokens, access tokens and the access token expiry date are written back from the authentication response to the config object. This is important if the refresh token can only used once.",
639-
title="Token Updater",
638+
description="When the refresh token updater is defined, new refresh tokens, access tokens and the access token expiry date are written back from the authentication response to the config object. This is important if the refresh token can only used once.",
639+
title="Refresh Token Updater",
640640
)
641641
profile_assertion: Optional[JwtAuthenticator] = Field(
642642
None,

0 commit comments

Comments
 (0)