Skip to content

Commit

Permalink
SK-1731: Token strict fix
Browse files Browse the repository at this point in the history
  • Loading branch information
saileshwar-skyflow committed Nov 12, 2024
1 parent 1e40d2f commit b69f12e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion samples/vault_api/insert_byot.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from skyflow import Env
from skyflow import Skyflow, LogLevel
from skyflow.utils.enums import TokenStrict
from skyflow.vault.data import GetRequest, InsertRequest
from skyflow.vault.tokens import DetokenizeRequest

Expand Down Expand Up @@ -37,7 +38,7 @@
table_name='TABLE_NAME',
values = insert_data,
continue_on_error=False, # if continue on error is set true we will return request_index for errors
token_strict=True, # token strict / byot is enabled,
token_strict=TokenStrict.ENABLE, # token strict / byot is enabled,
tokens = [
{ "card_number": 'CARD_NUMBER1', "card_cvv": 'CVV1' },
{ "card_number": 'CARD_NUMBER2', "card_cvv": 'CVV2' },
Expand Down

0 comments on commit b69f12e

Please sign in to comment.