优化工单模块,增加企微模块
This commit is contained in:
33
sg_wechat_enterprise/we_api/__init__.py
Normal file
33
sg_wechat_enterprise/we_api/__init__.py
Normal file
@@ -0,0 +1,33 @@
|
||||
from __future__ import absolute_import, unicode_literals
|
||||
import logging
|
||||
try:
|
||||
from pkgutil import extend_path
|
||||
__path__ = extend_path(__path__, __name__)
|
||||
except ImportError:
|
||||
from pkg_resources import declare_namespace
|
||||
declare_namespace(__name__)
|
||||
|
||||
from wechatpy.parser import parse_message # NOQA
|
||||
from wechatpy.replies import create_reply # NOQA
|
||||
from wechatpy.client import WeChatClient # NOQA
|
||||
from wechatpy.exceptions import WeChatException # NOQA
|
||||
from wechatpy.exceptions import WeChatClientException # NOQA
|
||||
from wechatpy.oauth import WeChatOAuth # NOQA
|
||||
from wechatpy.exceptions import WeChatOAuthException # NOQA
|
||||
from wechatpy.pay import WeChatPay # NOQA
|
||||
from wechatpy.exceptions import WeChatPayException # NOQA
|
||||
from wechatpy.component import WeChatComponent # NOQA
|
||||
|
||||
|
||||
__version__ = '1.3.1'
|
||||
__author__ = 'messense'
|
||||
|
||||
# Set default logging handler to avoid "No handler found" warnings.
|
||||
try: # Python 2.7+
|
||||
from logging import NullHandler
|
||||
except ImportError:
|
||||
class NullHandler(logging.Handler):
|
||||
def emit(self, record):
|
||||
pass
|
||||
|
||||
logging.getLogger(__name__).addHandler(NullHandler())
|
||||
Reference in New Issue
Block a user