mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-28 00:31:14 +00:00
connect driver-adapter-matcher
This commit is contained in:
@ -4,10 +4,12 @@
|
||||
from typing import Optional
|
||||
from ipaddress import IPv4Address
|
||||
|
||||
from nonebot.config import Config
|
||||
|
||||
|
||||
class BaseDriver(object):
|
||||
|
||||
def __init__(self):
|
||||
def __init__(self, config: Config):
|
||||
raise NotImplementedError
|
||||
|
||||
@property
|
||||
@ -34,3 +36,6 @@ class BaseDriver(object):
|
||||
|
||||
async def _handle_ws_reverse(self):
|
||||
raise NotImplementedError
|
||||
|
||||
async def _handle_http_api(self):
|
||||
raise NotImplementedError
|
||||
|
Reference in New Issue
Block a user