code: def encrypt_encoded_scalar(self, val, obfuscate) -> EV:
      return self.pk.encrypt_encoded_scalar(val, obfuscate)
  
imports: from typing import List, Optional, Tuple
  import torch
  from fate_utils.ou import CiphertextVector, PlaintextVector
  from fate_utils.ou import Coder
  from fate_utils.ou import Evaluator
  from fate_utils.ou import PK
  from fate_utils.ou import SK
  from fate_utils.ou import keygen
  from .type import TensorEvaluator
label_desc: Use image node_id 3 for calling the PK obj's underlying member method code with example usage: obj.encrypt_encoded_scalar(val, obfuscate) and returns: self