patent_app_v1 / Utilities.py
saswatdas123's picture
Update Utilities.py
d8f43e1 verified
raw
history blame contribute delete
258 Bytes
import sys,yaml
filepath = "token.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