def remove_config(self, key: str): self._run_command( pb.BackendInput( set_config_json=pb.SetConfigJson(key=key, remove=pb.Empty())))
def set_config_json(self, key: str, val: Any): self._run_command( pb.BackendInput(set_config_json=pb.SetConfigJson( key=key, val=orjson.dumps(val))))