load.py 238 B

123456789101112
  1. import json
  2. DMP = ""
  3. def get_dmp():
  4. with open('../../../dmp.json') as f:
  5. DMP = json.load(f)
  6. return DMP
  7. def get_dmp_from_outsystem(DMP_PATH):
  8. with open(DMP_PATH) as f:
  9. DMP = json.load(f)
  10. return DMP