def get_metadata(self, handle):
handle = os.path.expanduser(os.path.expandvars(handle))<EOL>with open(self._prefixed('<STR_LIT>' % handle)) as f:<EOL><INDENT>return json.load(f)<EOL><DEDENT>
Returns the associated metadata info for the given handle, the metadata
file must exist (``handle + '.metadata'``).

Args:
    handle (str): Path to the template to get the metadata from

Returns:
    dict: Metadata for the given handle