<reponame>rgreinho/pyconsql<gh_stars>0
"""Define the connexion settings for a local setup."""
import os

# pylint: disable=wildcard-import,unused-wildcard-import
from pyconsql.api.settings.common import *  # noqa

DEBUG = True
if os.environ.get("KUBERNETES_PORT"):
    minikube_ip = os.environ.get("MINIKUBE_IP", "192.168.99.100")
    BASE_URL = f"http://api.{minikube_ip}.nip.io"
else:
    BASE_URL = f"http://0.0.0.0:{PORT}"  # noqa: F405

DATABASE = {
    "URI": "sqlite:///petstore.db",
}

"""Define the connexion settings for a local setup."""
import os

# pylint: disable=wildcard-import,unused-wildcard-import
from pyconsql.api.settings.common import *  # noqa

DEBUG = True
if os.environ.get("KUBERNETES_PORT"):
    minikube_ip = os.environ.get("MINIKUBE_IP", "192.168.99.100")
    BASE_URL = f"http://api.{minikube_ip}.nip.io"
else:
    BASE_URL = f"http://0.0.0.0:{PORT}"  # noqa: F405

DATABASE = {
    "URI": "sqlite:///petstore.db",
}
Define the connexion settings for a local setup. # pylint: disable=wildcard-import,unused-wildcard-import # noqa # noqa: F405