Remove basic sql guff and use sql alchemy models instead.
This commit is contained in:
@@ -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"][
|
||||
|
||||
Reference in New Issue
Block a user