(self, name: str)
return value
Fetch parameters from environment variables.

        `get_value` is only called in `optuna.integration.allennlp.AllenNLPPruningCallback`.
Fetch parameters from environment variables.
Fetch parameters from environment variables .
def get_value(self, name: str) -> Optional[str]:
        """Fetch parameters from environment variables.

        `get_value` is only called in `optuna.integration.allennlp.AllenNLPPruningCallback`.

        """
        key = self._get_key(name).format(self.target_pid)
        value = os.environ.get(key)
        assert value is not None, f"{key} is not found in environment variables."

        return value
def get_value ( self , name : str ) -> Optional [ str ] : key = self . _get_key ( name ) . format ( self . target_pid ) value = os . environ . get ( key ) assert value is not None , f"{key} is not found in environment variables." return value