Remove basic sql guff and use sql alchemy models instead.

This commit is contained in:
iamBadgers
2026-04-23 17:03:15 -07:00
parent b6cef4f3c1
commit 497298afea
7 changed files with 35 additions and 383 deletions

View File

@@ -1,10 +1,10 @@
import docker
from game_tables import GameTable
from key_tables import KeyTable
import os
import socket
import inspect
from flask import current_app
from game_table_model import GameTable
from key_model import TableKey
def build_container_routing_labels(prefix: str, strip_prefix=True):
@@ -54,7 +54,7 @@ def stop_container(docker_id) -> bool:
return False
def start_foundry_container(table: GameTable, key: KeyTable):
def start_foundry_container(table: GameTable, key: TableKey):
client = docker.from_env()
container = None
networkName = client.containers.get(socket.gethostname()).attrs["HostConfig"][