def browse(self, path=None):
params = None<EOL>if path:<EOL><INDENT>assert isinstance(path, string_types)<EOL>params = {'<STR_LIT>': path}<EOL><DEDENT>return self.get('<STR_LIT>', params=params)<EOL>
Returns a list of directories matching the path given.

        Args:
            path (str): glob pattern.

        Returns:
            List[str]