code: def set_inlets(self, pores=[], overwrite=False):
          r
          if overwrite:
              self['pore.invasion_sequence'] = -1
          self['pore.invasion_sequence'][pores] = 0
  
          # Perform initial analysis on input pores
          Ts = self.project.network.find_neighbor_throats(pores=pores)
          self.queue = []
          [hq.heappush(self.queue, T) for T in self['throat.order'][Ts]]
docs: r"""
  
          Parameters
          ----------
          pores : array_like
              The list of inlet pores from which the Phase can enter the Network