@memoized_property
  def import_oracle(self):
    return ImportOracle(go_dist=self.go_dist, workunit_factory=self.context.new_workunit)
Return an import oracle that can help look up and categorize imports.
dataset/ETHPy150Open pantsbuild/pants/contrib/go/src/python/pants/contrib/go/tasks/go_task.py/GoTask.import_oracle