Skyvern Evaluation New Endpoint - general /runs (#2374)

This commit is contained in:
Shuchang Zheng
2025-05-17 10:33:43 -07:00
committed by GitHub
parent 6e27dbb8e0
commit 339c894340
32 changed files with 288 additions and 485 deletions

View File

@@ -1,8 +1,8 @@
# This file was auto-generated by Fern from our API Definition.
from .bad_request_error import BadRequestError
from .forbidden_error import ForbiddenError
from .not_found_error import NotFoundError
from .unauthorized_error import UnauthorizedError
from .unprocessable_entity_error import UnprocessableEntityError
__all__ = ["BadRequestError", "ForbiddenError", "NotFoundError", "UnprocessableEntityError"]
__all__ = ["BadRequestError", "NotFoundError", "UnauthorizedError", "UnprocessableEntityError"]

View File

@@ -4,6 +4,6 @@ from ..core.api_error import ApiError
import typing
class ForbiddenError(ApiError):
class UnauthorizedError(ApiError):
def __init__(self, body: typing.Optional[typing.Any]):
super().__init__(status_code=403, body=body)
super().__init__(status_code=401, body=body)