patent_app_v1 / Utilities.py
saswatdas123's picture
Upload 5 files
f2302df verified
raw
history blame
259 Bytes
import sys,yaml
filepath = "tokens.yaml"
# Read the config file to get tokens/API keys
def get_tokens():
tokendict={}
with open(filepath,'r') as file:
tokendict = yaml.safe_load(file)
#print(tokendict)
return tokendict