diff --git a/README.md b/README.md index 0e45d18..e442b92 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ ## What is it? -The CRIPT Python SDK allows programmatic access to the [CRIPT platform](https://criptapp.org). It can help automate uploading your data to CRIPT, and aims to allow for manipulation of your CRIPT data through the python language. This is a perfect tool to use when you have some experience with python and have large amount of data to upload to [CRIPT](https://criptapp.org). +The CRIPT Python SDK allows programmatic access to the [CRIPT platform](https://criptapp.org). It can help automate uploading your data to CRIPT, and aims to allow for manipulation of your CRIPT data through the python language. This is a perfect tool for users who have python experience and have large amount of data to upload to [CRIPT](https://criptapp.org). --- diff --git a/setup.cfg b/setup.cfg index cd50e10..c06a3ac 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = cript -version = 0.6.1 +version = 0.6.2 description = CRIPT Python SDK long_description = file: README.md long_description_content_type = text/markdown diff --git a/src/cript/data_model/utils.py b/src/cript/data_model/utils.py index 6f8ad3e..78598d9 100644 --- a/src/cript/data_model/utils.py +++ b/src/cript/data_model/utils.py @@ -38,6 +38,11 @@ def create_node(node_class, obj_json): created_at = obj_json.pop("created_at") updated_at = obj_json.pop("updated_at") + # Pop these keys out from api returned JSON for compatibility with Python SDK + if node_class.node_name == "File": + obj_json.pop("data_dictionary", None) + obj_json.pop("data", None) + # pop unused key for Python SDK, but used in web SDK obj_json.pop("can_edit", None)