class_docstr: Holds our context for a page.
  
  Must be pickle-able, so stores only intrinsic/simple data elements or those
  capable of their serializing themselves via ``__getstate__``.
class_docstr_tok: ["Holds","our","context","for","a","page",".","Must","be","pickle-able",",","so","stores","only","intrinsic\/simple","data","elements","or","those","capable","of","their","serializing","themselves","via","``","__getstate__","``","."]
docstr: Generate a ``Path`` for a file that is part of processing this page.
  
  The path will be based in a common temporary folder and have a prefix based
  on the page number.
docstr_tok: ["Generate","a","``","Path","``","for","a","file","that","is","part","of","processing","this","page",".","The","path","will","be","based","in","a","common","temporary","folder","and","have","a","prefix","based","on","the","page","number","."]
code: def get_path(self, name: str) -> Path:
      """Generate a ``Path`` for a file that is part of processing this page.
  
      The path will be based in a common temporary folder and have a prefix based
      on the page number.
      """
      return self.work_folder / f"{(self.pageno + 1):06d}_{name}"
  
file_path: OCRmyPDF/src/ocrmypdf/_jobcontext.py
imports: from __future__ import annotations
  import os
  from argparse import Namespace
  from collections.abc import Iterator
  from copy import copy
  from pathlib import Path
  from pluggy import PluginManager
  from ocrmypdf.pdfinfo import PdfInfo
  from ocrmypdf.pdfinfo.info import PageInfo
label_desc: Use image node_id 2 for calling the PageContext obj's underlying member method code with example usage: obj.get_path(name) and returns: unknown