code: def from_env(cls) -> "ConfigNamesConfig":
      env = Env(expand_vars=True)
      with env.prefixed("CONFIG_NAMES_"):
          return cls(
              max_number=env.int(
                  name="MAX_NUMBER", default=CONFIG_NAMES_MAX_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 ConfigNamesConfig obj's underlying member method code with example usage: obj.from_env(cls) and returns: cls