Class GymDictAttribute
Makes a partial positional record a Python dict (DR-13): the generator writes implicit conversions to and from
Info (what a Dict space samples), keyed by each member's Python name ([PyName], else its
snake_case), Python's == and repr.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class GymDictAttribute : Attribute
- Inheritance
-
GymDictAttribute
- Inherited Members
- Extension Methods
Remarks
Converting from a dict without one of the keys raises KeyError, as Python's indexing does.