19 lines
637 B
Python
19 lines
637 B
Python
"""
|
|
This file is part of Linspector (https://linspector.org/)
|
|
Copyright (c) 2022 Johannes Findeisen <you@hanez.org>. All Rights Reserved.
|
|
See LICENSE (MIT license).
|
|
"""
|
|
from linspector.task import Task
|
|
|
|
|
|
def create(configuration, environment, log):
|
|
return SQLiteTask(configuration, environment, log)
|
|
|
|
|
|
# TODO: check for all required configuration options and set defaults if needed.
|
|
class SQLiteTask(Task):
|
|
def __init__(self, configuration, environment, log):
|
|
super().__init__(configuration, environment, log)
|
|
self.__configuration = configuration
|
|
self.__environment = environment
|
|
self.__log = log
|