ray.rllib.offline.json_reader.JsonReader.__init__#

JsonReader.__init__(inputs: str | List[str], ioctx: IOContext | None = None)[source]#

Initializes a JsonReader instance.

Parameters:
  • inputs – Either a glob expression for files, e.g. /tmp/**/*.json, or a list of single file paths or URIs, e.g., [“s3://bucket/file.json”, “s3://bucket/file2.json”].

  • ioctx – Current IO context object or None.