official totp code endpoint under the credentials route (#2357)

This commit is contained in:
Shuchang Zheng 2025-05-15 19:49:42 -07:00 committed by GitHub
parent ad4b63d946
commit ecd0c79f8c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 388 additions and 342 deletions

View file

@ -660,6 +660,7 @@ class NoTOTPVerificationCodeFound(SkyvernHTTPException):
self,
task_id: str | None = None,
workflow_run_id: str | None = None,
workflow_id: str | None = None,
totp_verification_url: str | None = None,
totp_identifier: str | None = None,
) -> None:
@ -668,6 +669,8 @@ class NoTOTPVerificationCodeFound(SkyvernHTTPException):
msg += f" task_id={task_id}"
if workflow_run_id:
msg += f" workflow_run_id={workflow_run_id}"
if workflow_id:
msg += f" workflow_id={workflow_id}"
if totp_verification_url:
msg += f" totp_verification_url={totp_verification_url}"
if totp_identifier: