hirann commited on
Commit
3d164bb
·
verified ·
1 Parent(s): f67248b

Fix: state() method returns dict not property

Browse files
Files changed (1) hide show
  1. env/core.py +0 -4
env/core.py CHANGED
@@ -317,7 +317,6 @@ class CloudOpsEnvironment:
317
  echoed_message=message,
318
  )
319
 
320
- @property
321
  def state(self) -> Dict[str, Any]:
322
  if self._ep is None:
323
  return {}
@@ -356,8 +355,5 @@ class CloudOpsEnvironment:
356
  "exploration_history": self._ep.exploration_history,
357
  }
358
 
359
- def state(self) -> Dict[str, Any]:
360
- return self.state
361
-
362
 
363
  Environment = CloudOpsEnvironment
 
317
  echoed_message=message,
318
  )
319
 
 
320
  def state(self) -> Dict[str, Any]:
321
  if self._ep is None:
322
  return {}
 
355
  "exploration_history": self._ep.exploration_history,
356
  }
357
 
 
 
 
358
 
359
  Environment = CloudOpsEnvironment