def from_config_file(
        cls, env_file: str, callback_manager: Optional[CallbackManager] = None
    ) -> "ContributorQueryEngineClient":
        """Convenience constructor from a custom env file."""
        config = ContributorQueryEngineClientSettings(_env_file=env_file)
        return cls(callback_manager=callback_manager, config=config)
Convenience constructor from a custom env file.
llama-index-networks/llama_index/networks/contributor/query_engine/client.py