Added docstring to deprecated 'fancy_gym.make'
This commit is contained in:
parent
9fee527dbe
commit
3180154fa6
@ -11,4 +11,7 @@ ALL_GYM_MOVEMENT_PRIMITIVE_ENVIRONMENTS = MOVEMENT_PRIMITIVE_ENVIRONMENTS_FOR_NS
|
||||
|
||||
|
||||
def make(*args, **kwargs):
|
||||
"""
|
||||
As part of the refactor of Fancy Gym and upgrade to gymnasium the use of fancy_gym.make has been discontinued. Regular gym.make should be used instead. For more details check out the github README. If your codebase was build for older versions of Fancy Gym and relies on the old behavior and dependency versions, please check out the legacy branch.
|
||||
"""
|
||||
raise Exception('As part of the refactor of Fancy Gym and upgrade to gymnasium the use of fancy_gym.make has been discontinued. Regular gym.make should be used instead. For more details check out the github README. If your codebase was build for older versions of Fancy Gym and relies on the old behavior and dependency versions, please check out the legacy branch.')
|
||||
|
Loading…
Reference in New Issue
Block a user