code: def get_partition(self, side: Side) -> Partition:
      return side.pick(self.lhs, self.rhs)
  
file_path: PyTorch-BigGraph/torchbiggraph/types.py
imports: from enum import Enum
  from typing import Any, Dict, NamedTuple, TypeVar
  import torch
label_desc: Use image node_id 1 for calling the Bucket obj's underlying member method code with example usage: obj.get_partition(side) and returns: side