def inspect(self, refresh=True):
if refresh or not self._inspect_data:<EOL><INDENT>identifier = self._id or self.name<EOL>if not identifier:<EOL><INDENT>raise ConuException("<STR_LIT>")<EOL><DEDENT>self._inspect_data = self._inspect(identifier)<EOL><DEDENT>return self._inspect_data<EOL>
return cached metadata by default

:param refresh: bool, returns up to date metadata if set to True
:return: dict