def get_dependencies(self, module):
imports = set()<EOL>for m in list(filter(lambda i: i.get('<STR_LIT:id>') == module,<EOL>self.dependencies.findall('<STR_LIT>'))):<EOL><INDENT>imports.update(set(i.get('<STR_LIT>')<EOL>for i in m.findall('<STR_LIT>')))<EOL><DEDENT>depends = set()<EOL>for m in self.dependencies.getchildren():<EOL><INDENT>if list(filter(lambda i: i.get('<STR_LIT>') == module,<EOL>m.findall('<STR_LIT>'))):<EOL><INDENT>depends.add(m.get('<STR_LIT:id>'))<EOL><DEDENT>if list(filter(lambda i: i.get('<STR_LIT>') == module,<EOL>m.findall('<STR_LIT>'))):<EOL><INDENT>depends.add(m.get('<STR_LIT:id>'))<EOL><DEDENT><DEDENT>return (imports, depends)<EOL>
get_dependencies

        High-level api: Get dependency infomationa of a module.

        Parameters
        ----------

        module : `str`
            Module name that is inquired about.

        Returns
        -------

        tuple
            A tuple with two elements: a set of imports and a set of depends.