mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
import fixes
This commit is contained in:
parent
343cdf55c1
commit
d30cc41e8b
4 changed files with 3 additions and 12 deletions
|
|
@ -1,7 +1,5 @@
|
|||
Splitter = "__splitter__"
|
||||
|
||||
from .exceptions import ObjAlreadyExist, AbortException
|
||||
from .lib import RestMethods, CustomNone, CallbackResult, RequestInfo
|
||||
from .lib import RestMethods, CallbackResult, RequestInfo, Splitter
|
||||
from .factory import _RestApiFactory
|
||||
|
||||
RestApiFactory = _RestApiFactory()
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import os
|
||||
import re
|
||||
import json
|
||||
import datetime
|
||||
import traceback
|
||||
import http.server
|
||||
from http import HTTPStatus
|
||||
|
|
@ -144,7 +145,6 @@ class Handler(http.server.SimpleHTTPRequestHandler):
|
|||
except Exception as exc:
|
||||
log_message = "Unexpected Exception was raised (this is bug!)"
|
||||
log.error(log_message, exc_info=True)
|
||||
replace_helper = 0
|
||||
items = [log_message]
|
||||
items += traceback.extract_tb(exc.__traceback__).format()
|
||||
message = "\n".join(items)
|
||||
|
|
|
|||
|
|
@ -1,12 +1,8 @@
|
|||
import os
|
||||
import re
|
||||
import enum
|
||||
from http import HTTPStatus
|
||||
from urllib.parse import urlencode, parse_qs
|
||||
|
||||
from pypeapp import Logger
|
||||
|
||||
log = Logger().get_logger("RestApiServer")
|
||||
Splitter = "__splitter__"
|
||||
|
||||
|
||||
class RestMethods(enum.Enum):
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
import os
|
||||
import re
|
||||
import collections
|
||||
import threading
|
||||
import socket
|
||||
import socketserver
|
||||
from Qt import QtCore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue