Skip to content

Commit

Permalink
Merge branch 'HTTP-APIs:main' into collateral_class
Browse files Browse the repository at this point in the history
  • Loading branch information
Purvanshsingh authored Jun 21, 2021
2 parents 2d6b36c + 5426454 commit ed45b08
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ API_Doc is generated through hydra-python-core module doc_writer.

API_Doc & doc_writer file can be found here :
```
API_Doc
api_doc
|
|___ APIDOC
|___ Creditrisk_api_docwriter.py
|___ ApiDoc.jsonld
|___ api_docwriter.py
```
`APIDOC` is a pickle serialized object, It can be accessed as follows:
`ApiDoc` is a JSON serialized object, It can be accessed as follows:
```python
import pickle
import json

API_Doc_file = open("creditrisk_poc/API_Doc/APIDOC","rb")
doc = pickle.load(API_Doc_file)
ApiDoc_file = open("creditrisk_poc/api_doc/ApiDoc.json","r")
doc = json.load(ApiDoc_file)
```
you will get the doc in `python dict` format.

Expand Down

0 comments on commit ed45b08

Please sign in to comment.