LICENSE added + fixed some imports

This commit is contained in:
ahmadbilalkhalid 2019-12-03 16:49:10 +05:00
commit abc2c6fe51
8 changed files with 684 additions and 6 deletions

View file

@ -1,5 +1,6 @@
import json
import os
from uuid import uuid4
from ucloud.config import etcd_client, env_vars

View file

@ -4,6 +4,7 @@ import random
import subprocess as sp
import requests
from pyotp import TOTP
from ucloud.config import vm_pool, env_vars

View file

@ -13,7 +13,7 @@ from ucloud.common.request import RequestEntry, RequestType
from ucloud.config import (etcd_client, request_pool, vm_pool, host_pool, env_vars, image_storage_handler)
from . import schemas
from .helper import generate_mac, mac2ipv6
from ucloud.api import logger
from . import logger
app = Flask(__name__)
api = Api(app)