perceval/backends/core/phabricator.py
def parse_tasks(raw_json):
        """Parse a Phabricator tasks JSON stream.

        The method parses a JSON stream and returns a list iterator.
        Each item is a dictionary that contains the task parsed data.

        :param raw_json: JSON string to parse

        :returns: a generator of parsed tasks
        """
        results = json.loads(raw_json)

        tasks = results['result']['data']
        for t in tasks:
            yield t
def parse_tasks(raw_json):
        results = json.loads(raw_json)

        tasks = results['result']['data']
        for t in tasks:
            yield t
def parse_tasks ( raw_json ) : results = json . loads ( raw_json ) tasks = results [ 'result' ] [ 'data' ] for t in tasks : yield t
Parse a Phabricator tasks JSON stream.

        The method parses a JSON stream and returns a list iterator.
        Each item is a dictionary that contains the task parsed data.

        :param raw_json: JSON string to parse

        :returns: a generator of parsed tasks
Parse a Phabricator tasks JSON stream .