forked from platypush/platypush
Removed some vestigial commented code.
This commit is contained in:
parent
23b851e9d7
commit
68d8befa34
1 changed files with 0 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
from typing import Collection, Dict, Iterable, Optional, Union
|
from typing import Collection, Dict, Iterable, Optional, Union
|
||||||
from typing_extensions import override
|
from typing_extensions import override
|
||||||
|
|
||||||
# from platypush.common.db import Base
|
|
||||||
from platypush.entities import EntityManager
|
from platypush.entities import EntityManager
|
||||||
from platypush.entities.variables import Variable
|
from platypush.entities.variables import Variable
|
||||||
from platypush.plugins import Plugin, action
|
from platypush.plugins import Plugin, action
|
||||||
|
@ -22,7 +21,6 @@ class VariablePlugin(Plugin, EntityManager):
|
||||||
self._db_vars: Dict[str, Optional[str]] = {}
|
self._db_vars: Dict[str, Optional[str]] = {}
|
||||||
""" Local cache for db variables. """
|
""" Local cache for db variables. """
|
||||||
|
|
||||||
# db.create_all(db.get_engine(), Base)
|
|
||||||
with db.get_session() as session:
|
with db.get_session() as session:
|
||||||
self._db_vars.update(
|
self._db_vars.update(
|
||||||
{ # type: ignore
|
{ # type: ignore
|
||||||
|
|
Loading…
Reference in a new issue