class_docstr: EnvironmentController inherits from BaseController and manages business logic related to the
  environment.
  
  Methods
  -------
  create(dictionary)
      Create an environment within the project
  build(id)
      Build the environment for use within the project
  list()
      List all environments within the project
  delete(id)
      Delete the specified environment from the project
class_docstr_tok: ["EnvironmentController","inherits","from","BaseController","and","manages","business","logic","related","to","the","environment",".","Methods","--","--","--","-","create","(","dictionary",")","Create","an","environment","within","the","project","build","(","id",")","Build","the","environment","for","use","within","the","project","list","(",")","List","all","environments","within","the","project","delete","(","id",")","Delete","the","specified","environment","from","the","project"]
docstr: Get the current environment object
  
  Returns
  -------
  Environment
      returns an object representing the current environment state
  
  Raises
  ------
  UnstagedChanges
      if there are unstaged changes error out because no current environment
docstr_tok: ["Get","the","current","environment","object","Returns","--","--","--","-","Environment","returns","an","object","representing","the","current","environment","state","Raises","--","--","--","UnstagedChanges","if","there","are","unstaged","changes","error","out","because","no","current","environment"]
code: def current_environment(self):
      """Get the current environment object
  
      Returns
      -------
      Environment
          returns an object representing the current environment state
  
      Raises
      ------
      UnstagedChanges
          if there are unstaged changes error out because no current environment
      """
      self.check_unstaged_changes()
      return self.create({})
  
imports: import os
  import shutil
  from datmo.core.controller.base import BaseController
  from datmo.core.controller.file.file_collection import FileCollectionController
  from datmo.core.entity.environment import Environment
  from datmo.core.util.i18n import get
  from datmo.core.util.validation import validate
  from datmo.core.util.spinner import Spinner
  from datmo.core.util.json_store import JSONStore
  from datmo.core.util.misc_functions import get_datmo_temp_path, list_all_filepaths
  from datmo.core.util.exceptions import PathDoesNotExist, RequiredArgumentMissing, TooManyArgumentsFound, EnvironmentNotInitialized, UnstagedChanges, ArgumentError, EnvironmentDoesNotExist, ProjectNotInitialized
label_desc: Use image node_id 6 for calling the EnvironmentController obj's underlying member method code with example usage: obj.current_environment() and returns: self