From 68d8befa348367cb870069706f9484306e6261e4 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 29 Apr 2023 15:28:44 +0200 Subject: [PATCH] Removed some vestigial commented code. --- platypush/plugins/variable/__init__.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/platypush/plugins/variable/__init__.py b/platypush/plugins/variable/__init__.py index 870f108d88..204fc6903b 100644 --- a/platypush/plugins/variable/__init__.py +++ b/platypush/plugins/variable/__init__.py @@ -1,7 +1,6 @@ from typing import Collection, Dict, Iterable, Optional, Union from typing_extensions import override -# from platypush.common.db import Base from platypush.entities import EntityManager from platypush.entities.variables import Variable from platypush.plugins import Plugin, action @@ -22,7 +21,6 @@ class VariablePlugin(Plugin, EntityManager): self._db_vars: Dict[str, Optional[str]] = {} """ Local cache for db variables. """ - # db.create_all(db.get_engine(), Base) with db.get_session() as session: self._db_vars.update( { # type: ignore