code: def from_env(cls) -> "UvicornConfig":
      env = Env(expand_vars=True)
      with env.prefixed("WORKER_UVICORN_"):
          return cls(
              hostname=env.str(
                  name="HOSTNAME", default=WORKER_UVICORN_HOSTNAME
              ),
              num_workers=env.int(
                  name="NUM_WORKERS", default=WORKER_UVICORN_NUM_WORKERS
              ),
              port=env.int(name="PORT", default=WORKER_UVICORN_PORT),
          )
  
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 UvicornConfig obj's underlying member method code with example usage: obj.from_env(cls) and returns: cls