Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Change kwargs=None optional parameter to **kwargs #1908

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tensor2tensor/rl/gym_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def make_gym_env(name,
output_dtype, num_actions)


def register_gym_env(class_entry_point, version="v0", kwargs=None):
def register_gym_env(class_entry_point, version="v0", **kwargs):
"""Registers the class in Gym and returns the registered name and the env."""

split_on_colon = class_entry_point.split(":")
Expand Down