class_docstr: Service that controls the FiftyOne app.
class_docstr_tok: ["Service","that","controls","the","FiftyOne","app","."]
code: def env(self):
      env = {}
      if self.server_port is not None:
          env["FIFTYONE_SERVER_PORT"] = str(self.server_port)
  
      if self.server_address:
          env["FIFTYONE_SERVER_ADDRESS"] = str(self.server_address)
  
      return env
  
imports: import logging
  import os
  import subprocess
  import sys
  import psutil
  import requests
  from retrying import retry
  import eta.core.utils
  import fiftyone.constants
  import fiftyone.core.config
  import fiftyone.core.context
  import fiftyone.service.util
label_desc: Use image node_id 4 for calling the AppService obj's underlying member method code with example usage: obj.env() and returns: env