code: def by_key(self, key: str):
      return self._keys[key]
  
imports: import io
  import sys
  from pathlib import Path
  from typing import Dict, Optional, List, Iterable
  import yaml
  from labml import logger
  from labml.logger import Text
  from labml_remote.configs import Configs
  from labml_remote.execute import UIMode
  from labml_remote.server import Server, SERVERS
label_desc: Use image node_id 8 for calling the JobCollection obj's underlying member method code with example usage: obj.by_key(key) and returns: self