docstr: Query the running workers using an API call to the server
docstr_tok: ["Query","the","running","workers","using","an","API","call","to","the","server"]
code: def running_workers(self) -> Union[List[UID], SyftError]:
      """Query the running workers using an API call to the server"""
      _running_workers = []
      for worker in self.workers:
          if worker.status == WorkerStatus.RUNNING:
              _running_workers.append(worker)
  
      return _running_workers
  
imports: from enum import Enum
  from typing import Any
  from typing import Dict
  from typing import List
  from typing import Optional
  from typing import Union
  from typing import cast
  import docker
  from docker.models.containers import Container
  from ...client.api import APIRegistry
  from ...serde.serializable import serializable
  from ...store.linked_obj import LinkedObject
  from ...types.base import SyftBaseModel
  from ...types.datetime import DateTime
  from ...types.syft_object import SYFT_OBJECT_VERSION_1
  from ...types.syft_object import SyftObject
  from ...types.syft_object import short_uid
  from ...types.uid import UID
  from ...util import options
  from ...util.colors import SURFACE
  from ...util.fonts import ITABLES_CSS
  from ...util.fonts import fonts_css
  from ..response import SyftError
  from .worker_image import SyftWorkerImage
label_desc: Use image node_id 2 for calling the WorkerPool obj's underlying member method code with example usage: obj.running_workers() and returns: _running_workers