code: def from_env(cls) -> "OptInOutUrlsScanConfig":
      env = Env(expand_vars=True)
      with env.prefixed("OPT_IN_OUT_URLS_SCAN_"):
          return cls(
              columns_max_number=env.int(
                  name="COLUMNS_MAX_NUMBER",
                  default=OPT_IN_OUT_URLS_SCAN_COLUMNS_MAX_NUMBER,
              ),
              max_concurrent_requests_number=env.int(
                  name="MAX_CONCURRENT_REQUESTS_NUMBER",
                  default=OPT_IN_OUT_URLS_SCAN_MAX_CONCURRENT_REQUESTS_NUMBER,
              ),
              max_requests_per_second=env.int(
                  name="MAX_REQUESTS_PER_SECOND",
                  default=OPT_IN_OUT_URLS_SCAN_MAX_REQUESTS_PER_SECOND,
              ),
              rows_max_number=env.int(
                  name="ROWS_MAX_NUMBER",
                  default=OPT_IN_OUT_URLS_SCAN_ROWS_MAX_NUMBER,
              ),
              spawning_token=env.str(
                  name="SPAWNING_TOKEN",
                  default=OPT_IN_OUT_URLS_SCAN_SPAWNING_TOKEN,
              ),
              spawning_url=env.str(
                  name="SPAWNING_URL",
                  default=OPT_IN_OUT_URLS_SCAN_SPAWNING_URL,
              ),
              urls_number_per_batch=env.int(
                  name="URLS_NUMBER_PER_BATCH",
                  default=OPT_IN_OUT_URLS_SCAN_URLS_NUMBER_PER_BATCH,
              ),
          )
  
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 OptInOutUrlsScanConfig obj's underlying member method code with example usage: obj.from_env(cls) and returns: cls