def METHOD_NAME(self):
    """Return dictionary of environment for the service commands.
    This method maps to the extension's `service_environment` method.
    """
    return (self._should_compile() and
            self._service_environment() or {})