MCPcopy Create free account
hub / github.com/Derive-Risk/pyfair / _get_caller_source

Method _get_caller_source

pyfair/report/base_report.py:74–76  ·  view source on GitHub ↗

Get source code of calling script after _set_caller_source()

(self)

Source from the content-addressed store, hash-verified

72 return 'Report was not called from a script file.'
73
74 def _get_caller_source(self):
75 """Get source code of calling script after _set_caller_source()"""
76 return self._caller_source
77
78 def _input_check(self, value):
79 """Check input value for report is appropriate

Callers 2

test_caller_sourceMethod · 0.80
_construct_outputMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_caller_sourceMethod · 0.64