def _count_deps(self, depends):
        """Internal.

        Count the number of unresolved futures in the list depends.
        """
        count = 0
        for dep in depends:
            if isinstance(dep, Future):
                if not dep.done():
                    count += 1

        return count
def _count_deps(self, depends):
        """Internal.

        Count the number of unresolved futures in the list depends.
        """
        count = 0
        for dep in depends:
            if isinstance(dep, Future):
                if not dep.done():
                    count += 1

        return count
def _count_deps ( self , depends ) : count = 0 for dep in depends : if isinstance ( dep , Future ) : if not dep . done ( ) : count += 1 return count
Internal.

        Count the number of unresolved futures in the list depends.
Internal .