code: def __init__(
      self,
      flow_name,
      run_object,
      only_running,
      follow_resumed,
      flow_datastore,
      follow_new_runs,
      max_cards=20,
      poll_interval=5,
  ):
      from metaflow import Run
  
      self.RunClass = Run
      self.run_object = run_object
  
      self.flow_name = flow_name
      self.only_running = only_running
      self.follow_resumed = follow_resumed
      self.flow_datastore = flow_datastore
      self.max_cards = max_cards
      self.follow_new_runs = follow_new_runs
      self.poll_interval = poll_interval
  
      self._parent_conn, self._child_conn = Pipe()
  
imports: import os
  import json
  from http.server import BaseHTTPRequestHandler
  from threading import Thread
  from multiprocessing import Pipe
  from multiprocessing.connection import Connection
  from urllib.parse import urlparse
  import time
  from .card_client import CardContainer
  from .exception import CardNotPresentException
  from .card_resolver import resolve_paths_from_task
  from metaflow.metaflow_config import DATASTORE_LOCAL_DIR
  from metaflow import namespace
  from metaflow.exception import CommandException, MetaflowNotFound, MetaflowNamespaceMismatch
label_desc: Use image node_id 1 to create a new CardServerOptions object  with example: obj = CardServerOptions(flow_name, run_object, only_running, follow_resumed, flow_datastore, follow_new_runs, max_cards, poll_interval)