libenv/libenv.py
def _maybe_copy_dict(self, obj: Dict[str, Any]) -> Dict[str, Any]:
        """
        Copy a list of dicts of numpy arrays if reuse_arrays is False,
        otherwise just return the object
        """
        if self._reuse_arrays:
            return obj
        else:
            result = {}
            for name, arr in obj.items():
                result[name] = arr.copy()
            return result

        Copy a list of dicts of numpy arrays if reuse_arrays is False,
        otherwise just return the object
        
Copy a list of dicts of numpy arrays if reuse_arrays is False,
otherwise just return the object
Copy a list of dicts of numpy arrays if reuse_arrays is False otherwise just return the object
def _maybe_copy_dict(self, obj: Dict[str, Any]) -> Dict[str, Any]:
        if self._reuse_arrays:
            return obj
        else:
            result = {}
            for name, arr in obj.items():
                result[name] = arr.copy()
            return result
def _maybe_copy_dict ( self , obj : Dict [ str , Any ] ) -> Dict [ str , Any ] : if self . _reuse_arrays : return obj else : result = { } for name , arr in obj . items ( ) : result [ name ] = arr . copy ( ) return result
Copy a list of dicts of numpy arrays if reuse_arrays is False,
otherwise just return the object
Copy a list of dicts of numpy arrays if reuse_arrays is False otherwise just return the object
"""
        Copy a list of dicts of numpy arrays if reuse_arrays is False,
        otherwise just return the object
        """
self
obj
Dict[str, Any]