Ray
Returns all local state in a dict.
The serializable local state.
DeveloperAPI: This API may change across minor Ray releases.