MCPcopy Create free account
hub / github.com/quantopian/zipline / __getattr__

Method __getattr__

zipline/utils/exploding_object.py:19–27  ·  view source on GitHub ↗
(self, attr)

Source from the content-addressed store, hash-verified

17 self._extra_message = extra_message
18
19 def __getattr__(self, attr):
20 extra_message = self._extra_message
21 raise AttributeError(
22 'attempted to access attribute %r of ExplodingObject %r%s' % (
23 attr,
24 self._name,
25 ),
26 ' ' + extra_message if extra_message is not None else '',
27 )
28
29 def __repr__(self):
30 return '%s(%r%s)' % (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected