diff --git a/samples/README.md b/v1/samples/README.md similarity index 95% rename from samples/README.md rename to v1/samples/README.md index 64863db..1075427 100644 --- a/samples/README.md +++ b/v1/samples/README.md @@ -33,7 +33,7 @@ pip install skyflow this file secure, as You'll need it for each of the samples. ## The samples -### [Get data](./get_sample.py) +### [Get data](get_sample.py) To retrieve data using Skyflow IDs or unique column values, use the `get(records: dict)` method. The `records` parameter takes a Dictionary that contains either an array of Skyflow IDs or a unique column name and values. @@ -58,7 +58,7 @@ Replace the following values in the sample file: ```bash python3 get_sample.py ``` -### [Get data by ID](./get_by_ids_sample.py) +### [Get data by ID](get_by_ids_sample.py) Get data using Skyflow IDs for the desired records. @@ -83,7 +83,7 @@ python3 get_by_ids_sample.py ``` -### [Update data](./update_sample.py) +### [Update data](update_sample.py) Update data in the vault. @@ -107,7 +107,7 @@ Replace the following values in the sample file: python3 update_sample.py ``` -### [Insert data](./insert_sample.py) +### [Insert data](insert_sample.py) Insert data in the vault. @@ -130,7 +130,7 @@ Replace the following values in the sample file: python3 insert_sample.py ``` -### [Detokenize data](./detokenize_sample.py) +### [Detokenize data](detokenize_sample.py) Detokenize a data token from the vault. Make sure the specified token is for data that exists in the vault. If you need a valid token, use @@ -155,7 +155,7 @@ Replace the following values in the sample file: python3 detokenize_sample.py ``` -### [Invoke a connection](./invoke_connection_sample.py) +### [Invoke a connection](invoke_connection_sample.py) Skyflow Connections is a gateway service that uses Skyflow's underlying tokenization capabilities to securely connect to first-party and third-party @@ -182,7 +182,7 @@ Replace the following values in the sample file: python3 invoke_connection_sample.py ``` -### [Service account token generation](./sa_token_sample.py) +### [Service account token generation](sa_token_sample.py) Generates SA Token using path of credentials file. @@ -196,7 +196,7 @@ Replace `` with the relative path to your service ac python3 sa_token_sample.py ``` -### [Generate Bearer Token](./generate_bearer_token_from_creds_sample.py) +### [Generate Bearer Token](generate_bearer_token_from_creds_sample.py) Generates SA Token using json content of credentials file. diff --git a/samples/delete_sample.py b/v1/samples/delete_sample.py similarity index 100% rename from samples/delete_sample.py rename to v1/samples/delete_sample.py diff --git a/samples/detokenize_sample.py b/v1/samples/detokenize_sample.py similarity index 100% rename from samples/detokenize_sample.py rename to v1/samples/detokenize_sample.py diff --git a/samples/detokenize_with_continue_on_error_sample.py b/v1/samples/detokenize_with_continue_on_error_sample.py similarity index 100% rename from samples/detokenize_with_continue_on_error_sample.py rename to v1/samples/detokenize_with_continue_on_error_sample.py diff --git a/samples/generate_bearer_token_from_creds_sample.py b/v1/samples/generate_bearer_token_from_creds_sample.py similarity index 100% rename from samples/generate_bearer_token_from_creds_sample.py rename to v1/samples/generate_bearer_token_from_creds_sample.py diff --git a/samples/get_by_ids_sample.py b/v1/samples/get_by_ids_sample.py similarity index 100% rename from samples/get_by_ids_sample.py rename to v1/samples/get_by_ids_sample.py diff --git a/samples/get_sample.py b/v1/samples/get_sample.py similarity index 100% rename from samples/get_sample.py rename to v1/samples/get_sample.py diff --git a/samples/get_with_options.py b/v1/samples/get_with_options.py similarity index 100% rename from samples/get_with_options.py rename to v1/samples/get_with_options.py diff --git a/samples/insert_sample.py b/v1/samples/insert_sample.py similarity index 100% rename from samples/insert_sample.py rename to v1/samples/insert_sample.py diff --git a/samples/insert_upsert_sample.py b/v1/samples/insert_upsert_sample.py similarity index 100% rename from samples/insert_upsert_sample.py rename to v1/samples/insert_upsert_sample.py diff --git a/samples/insert_with_continue_on_error_sample.py b/v1/samples/insert_with_continue_on_error_sample.py similarity index 100% rename from samples/insert_with_continue_on_error_sample.py rename to v1/samples/insert_with_continue_on_error_sample.py diff --git a/samples/invoke_connection_sample.py b/v1/samples/invoke_connection_sample.py similarity index 100% rename from samples/invoke_connection_sample.py rename to v1/samples/invoke_connection_sample.py diff --git a/samples/query_sample.py b/v1/samples/query_sample.py similarity index 100% rename from samples/query_sample.py rename to v1/samples/query_sample.py diff --git a/samples/sa_token_sample.py b/v1/samples/sa_token_sample.py similarity index 100% rename from samples/sa_token_sample.py rename to v1/samples/sa_token_sample.py diff --git a/samples/update_sample.py b/v1/samples/update_sample.py similarity index 100% rename from samples/update_sample.py rename to v1/samples/update_sample.py diff --git a/skyflow/__init__.py b/v1/skyflow/__init__.py similarity index 100% rename from skyflow/__init__.py rename to v1/skyflow/__init__.py diff --git a/skyflow/_utils.py b/v1/skyflow/_utils.py similarity index 100% rename from skyflow/_utils.py rename to v1/skyflow/_utils.py diff --git a/skyflow/errors/__init__.py b/v1/skyflow/errors/__init__.py similarity index 100% rename from skyflow/errors/__init__.py rename to v1/skyflow/errors/__init__.py diff --git a/skyflow/errors/_skyflow_errors.py b/v1/skyflow/errors/_skyflow_errors.py similarity index 100% rename from skyflow/errors/_skyflow_errors.py rename to v1/skyflow/errors/_skyflow_errors.py diff --git a/skyflow/service_account/__init__.py b/v1/skyflow/service_account/__init__.py similarity index 100% rename from skyflow/service_account/__init__.py rename to v1/skyflow/service_account/__init__.py diff --git a/skyflow/service_account/_token.py b/v1/skyflow/service_account/_token.py similarity index 100% rename from skyflow/service_account/_token.py rename to v1/skyflow/service_account/_token.py diff --git a/skyflow/service_account/_validity.py b/v1/skyflow/service_account/_validity.py similarity index 100% rename from skyflow/service_account/_validity.py rename to v1/skyflow/service_account/_validity.py diff --git a/skyflow/vault/__init__.py b/v1/skyflow/vault/__init__.py similarity index 100% rename from skyflow/vault/__init__.py rename to v1/skyflow/vault/__init__.py diff --git a/skyflow/vault/_client.py b/v1/skyflow/vault/_client.py similarity index 100% rename from skyflow/vault/_client.py rename to v1/skyflow/vault/_client.py diff --git a/skyflow/vault/_config.py b/v1/skyflow/vault/_config.py similarity index 100% rename from skyflow/vault/_config.py rename to v1/skyflow/vault/_config.py diff --git a/skyflow/vault/_connection.py b/v1/skyflow/vault/_connection.py similarity index 100% rename from skyflow/vault/_connection.py rename to v1/skyflow/vault/_connection.py diff --git a/skyflow/vault/_delete.py b/v1/skyflow/vault/_delete.py similarity index 100% rename from skyflow/vault/_delete.py rename to v1/skyflow/vault/_delete.py diff --git a/skyflow/vault/_detokenize.py b/v1/skyflow/vault/_detokenize.py similarity index 100% rename from skyflow/vault/_detokenize.py rename to v1/skyflow/vault/_detokenize.py diff --git a/skyflow/vault/_get.py b/v1/skyflow/vault/_get.py similarity index 100% rename from skyflow/vault/_get.py rename to v1/skyflow/vault/_get.py diff --git a/skyflow/vault/_get_by_id.py b/v1/skyflow/vault/_get_by_id.py similarity index 100% rename from skyflow/vault/_get_by_id.py rename to v1/skyflow/vault/_get_by_id.py diff --git a/skyflow/vault/_insert.py b/v1/skyflow/vault/_insert.py similarity index 100% rename from skyflow/vault/_insert.py rename to v1/skyflow/vault/_insert.py diff --git a/skyflow/vault/_query.py b/v1/skyflow/vault/_query.py similarity index 100% rename from skyflow/vault/_query.py rename to v1/skyflow/vault/_query.py diff --git a/skyflow/vault/_token.py b/v1/skyflow/vault/_token.py similarity index 100% rename from skyflow/vault/_token.py rename to v1/skyflow/vault/_token.py diff --git a/skyflow/vault/_update.py b/v1/skyflow/vault/_update.py similarity index 100% rename from skyflow/vault/_update.py rename to v1/skyflow/vault/_update.py diff --git a/skyflow/version.py b/v1/skyflow/version.py similarity index 100% rename from skyflow/version.py rename to v1/skyflow/version.py diff --git a/tests/__init__.py b/v1/tests/__init__.py similarity index 100% rename from tests/__init__.py rename to v1/tests/__init__.py diff --git a/tests/service_account/__init__.py b/v1/tests/service_account/__init__.py similarity index 100% rename from tests/service_account/__init__.py rename to v1/tests/service_account/__init__.py diff --git a/tests/service_account/data/empty.json b/v1/tests/service_account/data/empty.json similarity index 100% rename from tests/service_account/data/empty.json rename to v1/tests/service_account/data/empty.json diff --git a/tests/service_account/data/invalidJson.json b/v1/tests/service_account/data/invalidJson.json similarity index 100% rename from tests/service_account/data/invalidJson.json rename to v1/tests/service_account/data/invalidJson.json diff --git a/tests/service_account/data/invalidPrivateKey.json b/v1/tests/service_account/data/invalidPrivateKey.json similarity index 100% rename from tests/service_account/data/invalidPrivateKey.json rename to v1/tests/service_account/data/invalidPrivateKey.json diff --git a/tests/service_account/data/noClientID.json b/v1/tests/service_account/data/noClientID.json similarity index 100% rename from tests/service_account/data/noClientID.json rename to v1/tests/service_account/data/noClientID.json diff --git a/tests/service_account/data/noKeyID.json b/v1/tests/service_account/data/noKeyID.json similarity index 100% rename from tests/service_account/data/noKeyID.json rename to v1/tests/service_account/data/noKeyID.json diff --git a/tests/service_account/data/noPrivateKey.json b/v1/tests/service_account/data/noPrivateKey.json similarity index 100% rename from tests/service_account/data/noPrivateKey.json rename to v1/tests/service_account/data/noPrivateKey.json diff --git a/tests/service_account/data/noTokenURI.json b/v1/tests/service_account/data/noTokenURI.json similarity index 100% rename from tests/service_account/data/noTokenURI.json rename to v1/tests/service_account/data/noTokenURI.json diff --git a/tests/service_account/test_generate_bearer_token.py b/v1/tests/service_account/test_generate_bearer_token.py similarity index 100% rename from tests/service_account/test_generate_bearer_token.py rename to v1/tests/service_account/test_generate_bearer_token.py diff --git a/tests/service_account/test_sa_token_utils.py b/v1/tests/service_account/test_sa_token_utils.py similarity index 100% rename from tests/service_account/test_sa_token_utils.py rename to v1/tests/service_account/test_sa_token_utils.py diff --git a/tests/vault/__init__.py b/v1/tests/vault/__init__.py similarity index 100% rename from tests/vault/__init__.py rename to v1/tests/vault/__init__.py diff --git a/tests/vault/test_client_init.py b/v1/tests/vault/test_client_init.py similarity index 100% rename from tests/vault/test_client_init.py rename to v1/tests/vault/test_client_init.py diff --git a/tests/vault/test_config.py b/v1/tests/vault/test_config.py similarity index 100% rename from tests/vault/test_config.py rename to v1/tests/vault/test_config.py diff --git a/tests/vault/test_delete.py b/v1/tests/vault/test_delete.py similarity index 100% rename from tests/vault/test_delete.py rename to v1/tests/vault/test_delete.py diff --git a/tests/vault/test_detokenize.py b/v1/tests/vault/test_detokenize.py similarity index 100% rename from tests/vault/test_detokenize.py rename to v1/tests/vault/test_detokenize.py diff --git a/tests/vault/test_get.py b/v1/tests/vault/test_get.py similarity index 100% rename from tests/vault/test_get.py rename to v1/tests/vault/test_get.py diff --git a/tests/vault/test_get_by_id.py b/v1/tests/vault/test_get_by_id.py similarity index 100% rename from tests/vault/test_get_by_id.py rename to v1/tests/vault/test_get_by_id.py diff --git a/tests/vault/test_insert.py b/v1/tests/vault/test_insert.py similarity index 100% rename from tests/vault/test_insert.py rename to v1/tests/vault/test_insert.py diff --git a/tests/vault/test_invoke_connection.py b/v1/tests/vault/test_invoke_connection.py similarity index 100% rename from tests/vault/test_invoke_connection.py rename to v1/tests/vault/test_invoke_connection.py diff --git a/tests/vault/test_query.py b/v1/tests/vault/test_query.py similarity index 100% rename from tests/vault/test_query.py rename to v1/tests/vault/test_query.py diff --git a/tests/vault/test_token_provider_wrapper.py b/v1/tests/vault/test_token_provider_wrapper.py similarity index 100% rename from tests/vault/test_token_provider_wrapper.py rename to v1/tests/vault/test_token_provider_wrapper.py diff --git a/tests/vault/test_update.py b/v1/tests/vault/test_update.py similarity index 100% rename from tests/vault/test_update.py rename to v1/tests/vault/test_update.py diff --git a/tests/vault/test_url_encoder.py b/v1/tests/vault/test_url_encoder.py similarity index 100% rename from tests/vault/test_url_encoder.py rename to v1/tests/vault/test_url_encoder.py diff --git a/v2/__init__.py b/v2/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/v2/samples/_insert.py b/v2/samples/_insert.py new file mode 100644 index 0000000..86a9f48 --- /dev/null +++ b/v2/samples/_insert.py @@ -0,0 +1,2 @@ +from v2.skyflow import Skyflow +from v2.skyflow.data import InsertRequest \ No newline at end of file diff --git a/v2/skyflow/__init__.py b/v2/skyflow/__init__.py new file mode 100644 index 0000000..4e64910 --- /dev/null +++ b/v2/skyflow/__init__.py @@ -0,0 +1 @@ +from .client import Skyflow \ No newline at end of file diff --git a/v2/skyflow/client/__init__.py b/v2/skyflow/client/__init__.py new file mode 100644 index 0000000..1e682f1 --- /dev/null +++ b/v2/skyflow/client/__init__.py @@ -0,0 +1 @@ +from ._skyflow import Skyflow \ No newline at end of file diff --git a/v2/skyflow/client/_skyflow.py b/v2/skyflow/client/_skyflow.py new file mode 100644 index 0000000..30500a2 --- /dev/null +++ b/v2/skyflow/client/_skyflow.py @@ -0,0 +1,60 @@ +from typing import List, Optional +from v2.skyflow.management.config import ManagementConfig +from v2.skyflow.utils import LogLevel +from v2.skyflow.vault.config import VaultConfig, CredentialsConfig, ConnectionConfig + + +class Skyflow: + def __init__(self, + vault_config: List[VaultConfig], + skyflow_credentials: Optional[CredentialsConfig], + connection_config: Optional[List[ConnectionConfig]] = None, + log_level: Optional[LogLevel] = None): + self.vault_config = vault_config + self.skyflow_credentials = skyflow_credentials + self.connection_config = connection_config + self.log_level = log_level + + @classmethod + def builder(cls): + return cls._Builder() + + class _Builder: + def __init__(self): + self._vault_config = [] + self._connection_config = [] + self._skyflow_credentials = None + self._log_level = None + + def add_vault_config(self, vault_config: VaultConfig): + pass + + def remove_vault_config(self, vault_id: str): + pass + + def update_vault_config(self, vault_config: VaultConfig): + pass + + def add_connection_config(self, connection_config: ConnectionConfig): + pass + + def remove_connection_config(self, connection_id: str): + pass + + def update_connection_config(self, connection_config: ConnectionConfig): + pass + + def update_log_level(self, log_level: LogLevel): + pass + + def log_level(self, log_level: str): + pass + + def build(self): + pass + + def vault(self, vault_id: str): + pass + + def connection(self, connection_id: str): + pass \ No newline at end of file diff --git a/v2/skyflow/data/__init__.py b/v2/skyflow/data/__init__.py new file mode 100644 index 0000000..1c9887b --- /dev/null +++ b/v2/skyflow/data/__init__.py @@ -0,0 +1,3 @@ +from v2.skyflow.vault import ( + InsertRequest, +) \ No newline at end of file diff --git a/v2/skyflow/error/__init__.py b/v2/skyflow/error/__init__.py new file mode 100644 index 0000000..0306c09 --- /dev/null +++ b/v2/skyflow/error/__init__.py @@ -0,0 +1 @@ +from _skyflow_error import SkyflowError \ No newline at end of file diff --git a/v2/skyflow/error/_skyflow_error.py b/v2/skyflow/error/_skyflow_error.py new file mode 100644 index 0000000..471b1c1 --- /dev/null +++ b/v2/skyflow/error/_skyflow_error.py @@ -0,0 +1,6 @@ +#Skyflow Error Class +class SkyflowError: + #class members + #constructor + def __init__(self): + pass \ No newline at end of file diff --git a/v2/skyflow/utils/__init__.py b/v2/skyflow/utils/__init__.py new file mode 100644 index 0000000..a209301 --- /dev/null +++ b/v2/skyflow/utils/__init__.py @@ -0,0 +1,2 @@ +from _log_level import LogLevel +from _validations import Validations \ No newline at end of file diff --git a/v2/skyflow/utils/_log_level.py b/v2/skyflow/utils/_log_level.py new file mode 100644 index 0000000..b5b9dbb --- /dev/null +++ b/v2/skyflow/utils/_log_level.py @@ -0,0 +1,8 @@ +from enum import Enum + +class LogLevel(Enum): + WARN = 'WARN' + INFO = 'INFO' + DEBUG = 'DEBUG' + ERROR = 'ERROR' + OFF = 'OFF' \ No newline at end of file diff --git a/v2/skyflow/utils/_validations.py b/v2/skyflow/utils/_validations.py new file mode 100644 index 0000000..7c5a9c8 --- /dev/null +++ b/v2/skyflow/utils/_validations.py @@ -0,0 +1,4 @@ +#add necessary validations for requests and config +class Validations: + def __init__(self): + pass \ No newline at end of file diff --git a/v2/skyflow/vault/__init__.py b/v2/skyflow/vault/__init__.py new file mode 100644 index 0000000..192121e --- /dev/null +++ b/v2/skyflow/vault/__init__.py @@ -0,0 +1,3 @@ +from .model import ( + InsertRequest, +) \ No newline at end of file diff --git a/v2/skyflow/vault/config/__init__.py b/v2/skyflow/vault/config/__init__.py new file mode 100644 index 0000000..80edf34 --- /dev/null +++ b/v2/skyflow/vault/config/__init__.py @@ -0,0 +1,3 @@ +from _vault import VaultConfig +from _connection import ConnectionConfig +from _credentials import CredentialsConfig \ No newline at end of file diff --git a/v2/skyflow/vault/config/_connection.py b/v2/skyflow/vault/config/_connection.py new file mode 100644 index 0000000..4f75531 --- /dev/null +++ b/v2/skyflow/vault/config/_connection.py @@ -0,0 +1,5 @@ +class ConnectionConfig: + #members + def __init__(self): + pass + #methods \ No newline at end of file diff --git a/v2/skyflow/vault/config/_credentials.py b/v2/skyflow/vault/config/_credentials.py new file mode 100644 index 0000000..a2a76a7 --- /dev/null +++ b/v2/skyflow/vault/config/_credentials.py @@ -0,0 +1,6 @@ +class CredentialsConfig: + #members + def __init__(self): + pass + + #methods \ No newline at end of file diff --git a/v2/skyflow/vault/config/_vault.py b/v2/skyflow/vault/config/_vault.py new file mode 100644 index 0000000..b77ca03 --- /dev/null +++ b/v2/skyflow/vault/config/_vault.py @@ -0,0 +1,5 @@ +class VaultConfig: + #members + def __init__(self): + pass + #methods \ No newline at end of file diff --git a/v2/skyflow/vault/controller/__init__.py b/v2/skyflow/vault/controller/__init__.py new file mode 100644 index 0000000..cd34c3f --- /dev/null +++ b/v2/skyflow/vault/controller/__init__.py @@ -0,0 +1,4 @@ +from _audit import Audit +from _bin_look_up import BinLookUp +from _connections import Connection +from _detect import Detect \ No newline at end of file diff --git a/v2/skyflow/vault/controller/_audit.py b/v2/skyflow/vault/controller/_audit.py new file mode 100644 index 0000000..67ecd6f --- /dev/null +++ b/v2/skyflow/vault/controller/_audit.py @@ -0,0 +1,6 @@ +class Audit: + #members + def __init__(self): + pass + #methods + \ No newline at end of file diff --git a/v2/skyflow/vault/controller/_bin_look_up.py b/v2/skyflow/vault/controller/_bin_look_up.py new file mode 100644 index 0000000..5e85e08 --- /dev/null +++ b/v2/skyflow/vault/controller/_bin_look_up.py @@ -0,0 +1,5 @@ +class BinLookUp: + #members + def __init__(self): + pass + #methods \ No newline at end of file diff --git a/v2/skyflow/vault/controller/_connections.py b/v2/skyflow/vault/controller/_connections.py new file mode 100644 index 0000000..0f0caa8 --- /dev/null +++ b/v2/skyflow/vault/controller/_connections.py @@ -0,0 +1,5 @@ +class Connection: + #members + def __init__(self): + pass + #methods \ No newline at end of file diff --git a/v2/skyflow/vault/controller/_detect.py b/v2/skyflow/vault/controller/_detect.py new file mode 100644 index 0000000..0b0d8aa --- /dev/null +++ b/v2/skyflow/vault/controller/_detect.py @@ -0,0 +1,5 @@ +class Detect: + #members + def __init__(self): + pass + #methods \ No newline at end of file diff --git a/v2/skyflow/vault/controller/_vault.py b/v2/skyflow/vault/controller/_vault.py new file mode 100644 index 0000000..ab76d90 --- /dev/null +++ b/v2/skyflow/vault/controller/_vault.py @@ -0,0 +1,5 @@ +class Vault: + #members + def __init__(self): + pass + #methods \ No newline at end of file diff --git a/v2/skyflow/vault/model/__init__.py b/v2/skyflow/vault/model/__init__.py new file mode 100644 index 0000000..a253076 --- /dev/null +++ b/v2/skyflow/vault/model/__init__.py @@ -0,0 +1,8 @@ +# from v2.skyflow.vault.model.data.request import ( +# InsertRequest, +# DetokenizeRequest +# ) + +from v2.skyflow.vault.model.data import ( + InsertRequest +) \ No newline at end of file diff --git a/v2/skyflow/vault/model/connection/__init__.py b/v2/skyflow/vault/model/connection/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/v2/skyflow/vault/model/data/__init__.py b/v2/skyflow/vault/model/data/__init__.py new file mode 100644 index 0000000..047bd46 --- /dev/null +++ b/v2/skyflow/vault/model/data/__init__.py @@ -0,0 +1,6 @@ +from .request import ( + InsertRequest +) +from .response import ( + InsertResponse +) \ No newline at end of file diff --git a/v2/skyflow/vault/model/data/options/__init__.py b/v2/skyflow/vault/model/data/options/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/v2/skyflow/vault/model/data/options/_insert_options.py b/v2/skyflow/vault/model/data/options/_insert_options.py new file mode 100644 index 0000000..950d2f4 --- /dev/null +++ b/v2/skyflow/vault/model/data/options/_insert_options.py @@ -0,0 +1,3 @@ +class InsertOptions: + def __init__(self): + pass diff --git a/v2/skyflow/vault/model/data/request/__init__.py b/v2/skyflow/vault/model/data/request/__init__.py new file mode 100644 index 0000000..7b03049 --- /dev/null +++ b/v2/skyflow/vault/model/data/request/__init__.py @@ -0,0 +1,2 @@ +from ._detokenize import DetokenizeRequest +from ._insert import InsertRequest \ No newline at end of file diff --git a/v2/skyflow/vault/model/data/request/_insert.py b/v2/skyflow/vault/model/data/request/_insert.py new file mode 100644 index 0000000..656c960 --- /dev/null +++ b/v2/skyflow/vault/model/data/request/_insert.py @@ -0,0 +1,10 @@ +class InsertRequest: + _table_name = None + #members + def __init__(self): + pass + #methods + + def __set_table_name(self, table_name: str): + self.__table_name = table_name + print("st table name: ", self.__table_name) \ No newline at end of file diff --git a/v2/skyflow/vault/model/data/response/__init__.py b/v2/skyflow/vault/model/data/response/__init__.py new file mode 100644 index 0000000..89c379f --- /dev/null +++ b/v2/skyflow/vault/model/data/response/__init__.py @@ -0,0 +1,2 @@ +from _insert import InsertResponse +from _detokenize import DetokenizeResponse \ No newline at end of file diff --git a/v2/skyflow/vault/model/data/response/_insert.py b/v2/skyflow/vault/model/data/response/_insert.py new file mode 100644 index 0000000..8739405 --- /dev/null +++ b/v2/skyflow/vault/model/data/response/_insert.py @@ -0,0 +1,5 @@ +class InsertResponse: + #members + def __init__(self): + pass + #methods \ No newline at end of file diff --git a/v2/skyflow/vault/model/tokens/__init__.py b/v2/skyflow/vault/model/tokens/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/v2/skyflow/vault/types/__init__.py b/v2/skyflow/vault/types/__init__.py new file mode 100644 index 0000000..e69de29