You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skyflow/utils/_skyflow_messages.py
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,8 @@ class Error(Enum):
97
97
INVALID_CONTINUE_ON_ERROR_TYPE=f"{error_prefix} Validation error. Invalid type of continue on error. Specify continue on error as a boolean."
98
98
TOKENS_PASSED_FOR_TOKEN_MODE_DISABLE=f"{error_prefix} Validation error. 'token_mode' wasn't specified. Set 'token_mode' to 'ENABLE' to insert tokens."
99
99
INSUFFICIENT_TOKENS_PASSED_FOR_TOKEN_MODE_ENABLE_STRICT=f"{error_prefix} Validation error. 'token_mode' is set to 'ENABLE_STRICT', but some fields are missing tokens. Specify tokens for all fields."
100
-
NO_TOKENS_IN_INSERT=f"{error_prefix} Validation error. Tokens weren't specified for records while 'token_strict' was {{}}. Specify tokens."
100
+
MISMATCH_OF_FIELDS_AND_TOKENS=f"{error_prefix} Validation error. Keys for values and tokens are not matching. Ensure each values entry and its corresponding tokens entry have the same keys."
101
+
NO_TOKENS_IN_INSERT=f"{error_prefix} Validation error. Tokens weren't specified for records while 'token_mode' was {{}}. Specify tokens."
GET_FAILURE=f"{error_prefix} Get operation failed."
103
104
HOMOGENOUS_NOT_SUPPORTED_WITH_UPSERT=f"{error_prefix} Validation error. Homogenous is not supported when upsert is passed."
@@ -365,8 +366,8 @@ class ErrorLogs(Enum):
365
366
EMPTY_OR_NULL_ID_IN_IDS=f"{ERROR}: [{error_prefix}] Invalid {{}} request. Id can not be null or empty in ids at index {{}}."
366
367
TOKENIZATION_NOT_SUPPORTED_WITH_REDACTION=f"{ERROR}: [{error_prefix}] Invalid {{}} request. Tokenization is not supported when redaction is applied."
367
368
TOKENIZATION_SUPPORTED_ONLY_WITH_IDS=f"{ERROR}: [{error_prefix}] Invalid {{}} request. Tokenization is not supported when column name and values are passed."
368
-
TOKENS_NOT_ALLOWED_WITH_BYOT_DISABLE=f"{ERROR}: [{error_prefix}] Invalid {{}} request. Tokens are not allowed when token_strict is DISABLE."
369
-
INSUFFICIENT_TOKENS_PASSED_FOR_BYOT_ENABLE_STRICT=f"{ERROR}: [{error_prefix}] Invalid {{}} request. For tokenStrict as ENABLE_STRICT, tokens should be passed for all fields."
369
+
TOKENS_NOT_ALLOWED_WITH_BYOT_DISABLE=f"{ERROR}: [{error_prefix}] Invalid {{}} request. Tokens are not allowed when token_mode is DISABLE."
370
+
INSUFFICIENT_TOKENS_PASSED_FOR_BYOT_ENABLE_STRICT=f"{ERROR}: [{error_prefix}] Invalid {{}} request. For token_mode as ENABLE_STRICT, tokens should be passed for all fields."
370
371
TOKENS_REQUIRED=f"{ERROR}: [{error_prefix}] Invalid {{}} request. Tokens are required."
371
372
EMPTY_FIELDS=f"{ERROR}: [{error_prefix}] Invalid {{}} request. Fields can not be empty."
372
373
EMPTY_OFFSET=f"{ERROR}: [{error_prefix}] Invalid {{}} request. Offset ca not be empty."
0 commit comments