Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python API for ingestion - Marshmallow schema for Relationship (load + dump) #9

Open
krzysztof opened this issue Jan 25, 2018 · 1 comment

Comments

@krzysztof
Copy link
Member

krzysztof commented Jan 25, 2018

This should be a module which accepts the Event payload JSON and writes to the DB.

Marshmallow solution:

[ScholixRelation JSON] -> scholix_marshmallow.load(json_payload) -> [DB Object]
[DB object] -> scholix_marshmallow.dump(db_obj) -> [ScholixRelation JSON]

@krzysztof krzysztof changed the title Python API for ingestion Python API for ingestion - Marshmallow schema for Relationship (load + dump) Jan 25, 2018
@slint slint self-assigned this Jan 31, 2018
@krzysztof
Copy link
Member Author

DB -> JSON is not there because we will not need it, but ES response -> Scholix JSON is needed (currently done without marshmallow schema).

@slint slint removed their assignment Jun 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants