Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
Merge pull request #85 from C-Accel-CRIPT/develop
Browse files Browse the repository at this point in the history
release 0.6.2
  • Loading branch information
nh916 authored Feb 8, 2023
2 parents 2a01e50 + 7d46655 commit ca63f0c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

---

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 5 additions & 0 deletions src/cript/data_model/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ca63f0c

Please sign in to comment.