Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self):
try:
from finmarketpy.util.marketcred import MarketCred
cred_keys = MarketCred.__dict__.keys()
for k in MarketConstants.__dict__.keys():
if k in cred_keys and '__' not in k:
setattr(MarketConstants, k, getattr(MarketCred, k))
except:
pass