def METHOD_NAME(
    self,
    env_name: str,
    schema: Dict[str, Any],
) -> Dict[str, Any]:
    """
    Get an object from the environment.
    Args:
        env_name: Environment variable name.
        schema: Schema for the value we are retrieving.
    Returns:
        Value retrieved from the environment.
    """
    result: Dict[str, Any] = {}
    if env_name != "":
        env_name += self.env_delimiter
    for child_key, child_schema in schema["properties"].items():
        child_env_name = (env_name + child_key).upper()
        value = self._get(child_env_name, child_schema)
        if value:
            result[child_key] = value
    return result