Table of Contents

Interface IDynamicAttributes

Namespace
Gym.Utils
Assembly
Gym.dll

An object that, like a Python instance with a dict, can hold attributes created at run time: what setattr(obj, name, value) does for a name the class does not declare. Gymnasium's set_wrapper_attr(name, value, force=True) relies on it.

public interface IDynamicAttributes
Extension Methods

Properties

DynamicAttributes

The run-time attributes by Python name, in the order they were created.

IDictionary<string, object?> DynamicAttributes { get; }

Property Value

IDictionary<string, object>