code: def from_env(cls) -> "FirstRowsConfig":
      env = Env(expand_vars=True)
      with env.prefixed("FIRST_ROWS_"):
          return cls(
              columns_max_number=env.int(
                  name="COLUMNS_MAX_NUMBER",
                  default=FIRST_ROWS_COLUMNS_MAX_NUMBER,
              ),
              max_bytes=env.int(
                  name="MAX_BYTES", default=FIRST_ROWS_MAX_BYTES
              ),
              max_number=env.int(
                  name="MAX_NUMBER", default=FIRST_ROWS_MAX_NUMBER
              ),
              min_cell_bytes=env.int(
                  name="CELL_MIN_BYTES",
                  default=FIRST_ROWS_CELL_MIN_BYTES,
              ),
              min_number=env.int(
                  name="MIN_NUMBER", default=FIRST_ROWS_MIN_NUMBER
              ),
          )
  
imports: from dataclasses import dataclass, field
  from typing import Optional
  from environs import Env
  from libcommon.config import AssetsConfig, CacheConfig, CommonConfig, LogConfig, ParquetMetadataConfig, QueueConfig, RowsIndexConfig, S3Config
label_desc: Use image node_id 1 for calling the FirstRowsConfig obj's underlying member method code with example usage: obj.from_env(cls) and returns: cls