first commit

This commit is contained in:
Sandro Fuetsch Titan
2026-05-26 19:23:46 +02:00
commit 7a46ef3759
24 changed files with 636 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
from baseStrategy import BaseStrategy
import setup
class Manager:
def __init__(self, strategy: BaseStrategy, ):
self.strategy = strategy
def setStrategy(self, strategy: BaseStrategy):
self.strategy = strategy
def setQueries(self, queries: dict[str, str]):
self.strategy.set_queries(queries)
# Only Postgresql and MariaDb available at the moment
def setup_db(self, index_config):
setup.setupBoth(index_config)
def execute(self):
self.strategy.run()