Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
__init__.py 905 Bytes
Copy Edit Raw Blame History
a76yyyy authored 2022-11-02 16:50 . Organize Imports
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# vim: set et sw=4 ts=4 sts=4 ff=unix fenc=utf8:
# Author: Binux<i@binux.me>
# http://binux.me
# Created on 2014-08-08 20:28:15
import os
import sys
from db.basedb import AlchemyMixin
sys.path.append(os.path.abspath(os.path.dirname(os.path.dirname(__file__))))
from .notepad import Notepad
from .pubtpl import Pubtpl
from .push_request import PushRequest
from .redisdb import RedisDB
from .site import Site
from .task import Task
from .tasklog import Tasklog
from .tpl import Tpl
from .user import User
class DB(AlchemyMixin):
def __init__(self) -> None:
self.user = User()
self.tpl = Tpl()
self.task = Task()
self.tasklog = Tasklog()
self.push_request = PushRequest()
self.redis = RedisDB()
self.site = Site()
self.pubtpl = Pubtpl()
self.notepad = Notepad()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化