Skip to content

Commit dab7b66

Browse files
SK-2270: revert the fern generated detect changes (#201)
1 parent aaa18c7 commit dab7b66

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

skyflow/generated/rest/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
EntityTypes,
2929
ErrorResponse,
3030
ErrorResponseError,
31+
ErrorString,
3132
GooglerpcStatus,
3233
ProtobufAny,
3334
RedactionEnumRedaction,
3435
ReidentifyFileResponse,
3536
ReidentifyFileResponseOutput,
36-
ReidentifyFileResponseOutputType,
3737
ReidentifyFileResponseStatus,
3838
ReidentifyStringResponse,
3939
RequestActionType,
@@ -176,6 +176,7 @@
176176
"EntityTypes",
177177
"ErrorResponse",
178178
"ErrorResponseError",
179+
"ErrorString",
179180
"GooglerpcStatus",
180181
"InternalServerError",
181182
"NotFoundError",
@@ -189,7 +190,6 @@
189190
"ReidentifyFileRequestFormat",
190191
"ReidentifyFileResponse",
191192
"ReidentifyFileResponseOutput",
192-
"ReidentifyFileResponseOutputType",
193193
"ReidentifyFileResponseStatus",
194194
"ReidentifyStringRequestFormat",
195195
"ReidentifyStringResponse",

skyflow/generated/rest/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def get_headers(self) -> typing.Dict[str, str]:
2424
headers: typing.Dict[str, str] = {
2525
"X-Fern-Language": "Python",
2626
"X-Fern-SDK-Name": "skyflow_vault",
27-
"X-Fern-SDK-Version": "0.0.323",
27+
"X-Fern-SDK-Version": "0.0.252",
2828
**(self.get_custom_headers() or {}),
2929
}
3030
headers["Authorization"] = f"Bearer {self._get_token()}"

skyflow/generated/rest/types/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
from .entity_types import EntityTypes
2828
from .error_response import ErrorResponse
2929
from .error_response_error import ErrorResponseError
30+
from .error_string import ErrorString
3031
from .googlerpc_status import GooglerpcStatus
3132
from .protobuf_any import ProtobufAny
3233
from .redaction_enum_redaction import RedactionEnumRedaction
3334
from .reidentify_file_response import ReidentifyFileResponse
3435
from .reidentify_file_response_output import ReidentifyFileResponseOutput
35-
from .reidentify_file_response_output_type import ReidentifyFileResponseOutputType
3636
from .reidentify_file_response_status import ReidentifyFileResponseStatus
3737
from .reidentify_string_response import ReidentifyStringResponse
3838
from .request_action_type import RequestActionType
@@ -106,12 +106,12 @@
106106
"EntityTypes",
107107
"ErrorResponse",
108108
"ErrorResponseError",
109+
"ErrorString",
109110
"GooglerpcStatus",
110111
"ProtobufAny",
111112
"RedactionEnumRedaction",
112113
"ReidentifyFileResponse",
113114
"ReidentifyFileResponseOutput",
114-
"ReidentifyFileResponseOutputType",
115115
"ReidentifyFileResponseStatus",
116116
"ReidentifyStringResponse",
117117
"RequestActionType",

skyflow/generated/rest/types/deidentify_status_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class DeidentifyStatusResponse(UniversalBaseModel):
2424
How the input file was specified.
2525
"""
2626

27-
output_type: DeidentifyStatusResponseOutputType = pydantic.Field()
27+
output_type: typing.Optional[DeidentifyStatusResponseOutputType] = pydantic.Field(default=None)
2828
"""
2929
How the output file is specified.
3030
"""
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# This file was auto-generated by Fern from our API Definition.
2+
3+
ErrorString = str

skyflow/generated/rest/types/reidentify_file_response.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import pydantic
66
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
77
from .reidentify_file_response_output import ReidentifyFileResponseOutput
8-
from .reidentify_file_response_output_type import ReidentifyFileResponseOutputType
98
from .reidentify_file_response_status import ReidentifyFileResponseStatus
109

1110

@@ -19,7 +18,7 @@ class ReidentifyFileResponse(UniversalBaseModel):
1918
Status of the re-identify operation.
2019
"""
2120

22-
output_type: ReidentifyFileResponseOutputType = pydantic.Field()
21+
output_type: typing.Literal["BASE64"] = pydantic.Field(default="BASE64")
2322
"""
2423
Format of the output file.
2524
"""

0 commit comments

Comments
 (0)