Table of Contents

Enum WarningCategory

Namespace
Gym.Utils
Assembly
Gym.dll

The Python warning classes Logger issues, as Gymnasium's logger does: UserWarning (the default of warnings.warn) and DeprecationWarning (Deprecation(string, string, int)).

public enum WarningCategory
Extension Methods

Fields

UserWarning = 0

Python's UserWarning, shown once per call site by Python's default filter.

DeprecationWarning = 1

Python's DeprecationWarning, shown once per message by the filter Gymnasium installs for its modules.