MCPcopy Create free account
hub / github.com/ccxt/ccxt / get_property

Method get_property

python/ccxt/base/exchange.py:2036–2037  ·  view source on GitHub ↗
(self, obj, property, defaultValue=None)

Source from the content-addressed store, hash-verified

2034 return array[first:second] if second else array[first:]
2035
2036 def get_property(self, obj, property, defaultValue=None):
2037 return getattr(obj, property) if hasattr(obj, property) else defaultValue
2038
2039 def set_property(self, obj, property, value):
2040 setattr(obj, property, value)

Callers 2

exchange_propFunction · 0.80

Calls

no outgoing calls

Tested by 2

exchange_propFunction · 0.64