15 lines
425 B
Python
15 lines
425 B
Python
"""真实 API 档位占位:有官方接口时在此实现。"""
|
|
|
|
from __future__ import annotations
|
|
|
|
from .base import AdapterBase, ExampleItem, ExampleResult
|
|
|
|
|
|
class RealApiAdapter(AdapterBase):
|
|
name = "real_api"
|
|
|
|
def do_batch(self, target: str, items: list[ExampleItem]) -> ExampleResult:
|
|
raise NotImplementedError(
|
|
"RealApiAdapter: 复制 example_adapter 后在此对接真实 API"
|
|
)
|