class_docstr: A namespace for checkpoints so that they can be accessed via dot notation.
class_docstr_tok: ["A","namespace","for","checkpoints","so","that","they","can","be","accessed","via","dot","notation","."]
code: def register(self, rule, fallback_name=None):
      checkpoint = Checkpoint(rule, self)
      if fallback_name:
          setattr(self, fallback_name, checkpoint)
      setattr(self, rule.name, Checkpoint(rule, self))
  
file_path: snakemake/snakemake/checkpoints.py
imports: from snakemake.common import async_run
  from snakemake.exceptions import IncompleteCheckpointException, WorkflowError
  from snakemake.io import checkpoint_target
label_desc: Use image node_id 2 for calling the Checkpoints obj's underlying member method code with example usage: obj.register(rule, fallback_name) without return types