def METHOD_NAME(self, config: dict[str, Any]) -> None:
    allowed_config_fields = {"synapse"}
    if not config:
        pass
    if not set(config.keys()).issubset(allowed_config_fields):
        raise ConfigNonAllowedFieldError(
            "Non allowed fields in asset_store of configuration file.",
            list(config.keys()),
            list(allowed_config_fields),
        )
    self._synapse_config = SynapseConfig(**config["synapse"])