tfdocs.parser.get_defined_in

Returns a description of where the passed in python object was defined.

py_object The Python object.
parser_config A config.ParserConfig object.

A FileLocation