@cached_property<EOL><INDENT>def srun_nodes(self):<DEDENT>
count = self.execution.get('<STR_LIT>', <NUM_LIT:0>)<EOL>if isinstance(count, six.string_types):<EOL><INDENT>tag = count<EOL>count = <NUM_LIT:0><EOL><DEDENT>elif isinstance(count, SEQUENCES):<EOL><INDENT>return count<EOL><DEDENT>else:<EOL><INDENT>assert isinstance(count, int)<EOL>tag = self.tag<EOL><DEDENT>nodes = self._srun_nodes(tag, count)<EOL>if '<STR_LIT>' in self.execution:<EOL><INDENT>self.execution['<STR_LIT>'] = nodes<EOL>self.execution['<STR_LIT>'] = len(nodes)<EOL><DEDENT>return nodes<EOL>
Get list of nodes where to execute the command