<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def save(self):
 """ Save settings. """

        with open(self.path, "w") as f:
            self.config["project_templates"] = list(filter(lambda template: template.get("url"), self.config["project_templates"]))
            yaml.dump(self.config, f, default_flow_style=False)