class_docstr: Protocol for classes that require setup and teardown.
class_docstr_tok: ["Protocol","for","classes","that","require","setup","and","teardown","."]
docstr: Extra setup required for the metric beyond __init__.
docstr_tok: ["Extra","setup","required","for","the","metric","beyond","__init__","."]
code: def setup(self) -> None:
      """Extra setup required for the metric beyond __init__."""
      ...
  
imports: import datetime
  import logging
  import sys
  import threading
  from typing import TYPE_CHECKING, Any, List, Optional, TypeVar
  import psutil
label_desc: Use image node_id 1 for calling the SetupTeardown obj's underlying member method code with example usage: obj.setup() without return types