Release v1.0.2 (#4175)
This commit is contained in:
committed by
GitHub
parent
2961fdd721
commit
d9610701d3
@@ -7,11 +7,13 @@ from importlib import import_module
|
||||
|
||||
if typing.TYPE_CHECKING:
|
||||
from .bad_request_error import BadRequestError
|
||||
from .conflict_error import ConflictError
|
||||
from .forbidden_error import ForbiddenError
|
||||
from .not_found_error import NotFoundError
|
||||
from .unprocessable_entity_error import UnprocessableEntityError
|
||||
_dynamic_imports: typing.Dict[str, str] = {
|
||||
"BadRequestError": ".bad_request_error",
|
||||
"ConflictError": ".conflict_error",
|
||||
"ForbiddenError": ".forbidden_error",
|
||||
"NotFoundError": ".not_found_error",
|
||||
"UnprocessableEntityError": ".unprocessable_entity_error",
|
||||
@@ -39,4 +41,4 @@ def __dir__():
|
||||
return sorted(lazy_attrs)
|
||||
|
||||
|
||||
__all__ = ["BadRequestError", "ForbiddenError", "NotFoundError", "UnprocessableEntityError"]
|
||||
__all__ = ["BadRequestError", "ConflictError", "ForbiddenError", "NotFoundError", "UnprocessableEntityError"]
|
||||
|
||||
10
skyvern/client/errors/conflict_error.py
Normal file
10
skyvern/client/errors/conflict_error.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import typing
|
||||
|
||||
from ..core.api_error import ApiError
|
||||
|
||||
|
||||
class ConflictError(ApiError):
|
||||
def __init__(self, body: typing.Optional[typing.Any], headers: typing.Optional[typing.Dict[str, str]] = None):
|
||||
super().__init__(status_code=409, headers=headers, body=body)
|
||||
Reference in New Issue
Block a user