class_docstr: An iterable type that draws from a JSON Lines file.
  
  Parameters
  ----------
  path
      Path of the file to load data from. This should be a valid
      JSON Lines file.
code: def __post_init__(self):
      if not self.line_starts:
          self.line_starts.extend(self._line_starts())
  
imports: import functools
  import gzip
  from dataclasses import dataclass, field
  from datetime import datetime
  from pathlib import Path
  from typing import cast, Optional, BinaryIO, List
  import numpy
  import pandas
  from toolz import first, take, valmap
  from gluonts import maybe
  from gluonts import json
  from gluonts.exceptions import GluonTSDataError
  from .None import Dataset, DatasetWriter
label_desc: Use image node_id 1 for calling the JsonLinesFile obj's underlying member method code with example usage: obj.__post_init__() without return types