code: def positions(self):
      if self._positions:
          return self._positions
      if self.nodes is not None:
          node_positions = [
              node.loc and node.loc.start for node in self.nodes
          ]
          if any(node_positions):
              return node_positions
  
file_path: wandb/wandb/vendor/graphql-core-1.1/wandb_graphql/error/base.py
imports: from ..language.location import get_location
label_desc: Use image node_id 3 for calling the GraphQLError obj's underlying member method code with example usage: obj.positions() and returns: self, node_positions