mirror of
https://github.com/ThearchyHelios/AgentLab.git
synced 2026-11-25 20:45:56 +00:00
期 5 验收修复 N1 第 2 轮:取自遮罩格的指标只按确定取自遮罩列的认、转抄上游口径卡的也认;显示文字核对不误判正常写法,总览有一项无法核对就不给绿色的通过
复核第 1 轮(abb2707)找到四处:写作目录按证据面板宁可多遮的那一套认指标出处,SQL 认不准时没碰号码列的销售额也成了
「已遮罩」,正式运行引用它就判失败(相对基线回退);「紧挨着负号」连破折号「——」「—」和汉字「一」都算,「运费统一10元」
「合计——7,036.50元」原样导出变红(相对基线回退);紧挨着改字只堵住了数字、负号、小数点,接「万」、画删除线、从右往左
书写的字母、l / I / O 照样全绿,根子在总览把无法核对的项也给绿色;第二张口径卡转抄遮罩指标(nodes.<卡>.metrics[0].value、
vars.<assign_to>.metrics[0].value、nodes.<卡>.text)时号码照样进写作目录、文档证据目录和可验证报告。
取自遮罩格的指标只按确定的那一套认(写作目录、报告自查、可验证报告同一个判断)
- 写作目录(api/evidence.py 的 withheld_metrics)认指标出处时遮罩列只认确定取自遮罩列的(_InputMasks 的 sure:读得出来的
快照按单元格引用自查的 _cited_masks,读不出来的按数据源现在设的列名),和 [[v:…]] 引用同一格的自查同一个口径:WITH 写了
列名表、VALUES 当表、子查询里有没起别名的号码表达式、只装着分档标签的列,指标照常显示、照常引用;改了名字、套了函数的
号码列照旧「已遮罩」。证据面板、推演照旧宁可多遮。报告自查按目录里记的 masked 认,跟着同一个判断
- 可验证报告认老文档(证据目录里还写着原值,整份只给哈希)按同一个判断:api/bundle.py 先按证据面板的那一套认好每份查询
快照里确定取自遮罩列的列和这次运行查到过的遮罩值(certain_masks),交给 build_bundle(sure_columns、sure_secrets),
_Store.metric_word 的 sure 按它们认。认口径卡能不能随文件附带照旧宁可多遮(卡上记着输入的值),SQL 认不准的卡同基线只给 id
转抄上游口径卡的指标按上游那个指标认
- recompute.card_input 认出输入转抄了哪张卡的哪几个指标:nodes.<卡>.metrics[i].value、vars.<卡的 assign_to>.metrics[i]、
整个指标、输入、渲染算转抄那个指标;整张卡、清单文字、整份指标列表、下标不是字面量的同整份查询结果(值里有遮罩值才不给,
数指标个数的照给);只取名称、单位、口径名的不算
- 证据面板 / 写作目录(_InputMasks._copied)、可验证报告(_Store._copied_kind)都用同一个 _metric_masks / metric_word 往上追,
上游取自遮罩格,转抄的也不给;追了 CARD_DEPTH(8)张还没追到头(循环里抄自己上一轮的产出)的宁可多遮
- 写作目录读快照前把运行状态里每张口径卡的输入一并读好,不在事件循环里读盘
显示文字核对(verifier.js)
- 判不通过只剩紧挨着的数字、小数点,和真当负号用的三个(半角连字符减号、数学减号、全角减号)紧挨着数字开头、前面又不是
字母数字时(「SKU-12」「A-3」的连字符是编号的一部分)。破折号(——、—、–、―,小号的、竖排的)、波浪线、汉字「一」、
假名长音、制表符横线这些易混字当普通的字。连字符、不断行连字符、上下标负号、粗减号这类平时不当负号用的短横紧挨着数字
开头判无法核对(以前判不通过;基线也是无法核对)
- 判无法核对(带原因):后面接着量级单位(万、亿、千、百、兆、萬、億、%、‰、‱、k、K、M、B 及全角,中间隔着空格也算;
核对过的字以「万」「亿」结尾再接一个也算),核对过的字画着删除线或紧挨着画了删除线的字,紧挨着长得像数字的字母和数字
符号(l、I、O、上下标数字、圈码、罗马数字、汉字〇),从右往左书写的字母和方向控制字符(照旧)
- 总览(overallOf):一项无法核对都没有、每份报告都核对上才是绿色的「全部通过」;有无法核对的写中性的「可核对的项全部通过,
另有 N 项无法核对」,下面醒目地写明这个文件判断不了真伪,要在系统中核对封存(运行 ID、GET /api/runs/<id>/verify、定时任务
通知里的清单哈希前 12 位)。以前无法核对的项照样给绿色,伪造者只要让读者看到的那个数落进无法核对就行
- 交出 layoutOf 给 node 里逐条核排法;开发数据 39 份报告 1591 处、验收数据 58 份报告 1695 处引用按新规则扫过,没有一处判
不通过或无法核对
测试
- 新增 tests/test_report_masked_metric_sure.py(四种 SQL 认不准的销售额、分档标签照给照引、确定取自号码列的照旧遮、老文档
照常附带、写作目录和可验证报告逐个指标同一个判断)、tests/test_report_masked_card_copies.py(三种转抄写法在写作目录、文档、
自查、证据面板、可验证报告里都不给号码,没有报告的运行、老文档,转抄普通指标照给,认转抄的各种写法,追不到头的宁可多遮)、
tests/test_bundle_prose_export.py(「统一」「——」「—」「SKU-」「共…家」「–」真跑报告撰写节点、从接口导出,全部通过、总览绿)
- test_bundle_shown:负号只认三个、前面是汉字的照判不通过;像负号的短横、量级单位、删除线、长得像数字的字母各自判无法核对、
总览中性;正常写法原样导出全绿;总览只在一项无法核对都没有时是绿的
- 样本页新增 prose(写作者自己写在引用旁边的普通文字,原样导出全绿);check-bundle 补数学减号、紧挨着汉字加负号判不通过,
接万(隔空格)、接亿元、接 %、接 k、订单号接万、画删除线另写一个数、前面加小写 L、后面接大写 O、长得像负号的连字符判无法
核对,各自点名原因、总览中性并写明去系统里核对;有无法核对项的样本页(base、legacy、continued、missing-card、masked-card、
masked-source、nan)总览改断言中性,从右往左书写的字母那条不再断言总览是绿的
- 每处改动都做了「去掉实现、测试变红」:写作目录不用 sure、老文档不用 sure、sure 列不用、转抄认不出(三处各自)、追不到头
按核对不了、负号的字母数字例外、负号恢复成 \p{Pd} 全部、数学减号全角减号不算、量级单位、隔空格、以万结尾、删除线、像数字
的字母、像负号的短横、总览有无法核对照样绿
This commit is contained in:
@@ -21,7 +21,7 @@ from fastapi.responses import Response
|
||||
from sqlalchemy import select
|
||||
|
||||
from app.api.coded import CodedHTTPException
|
||||
from app.api.evidence import RUN_NOT_FOUND, _mask_fingerprint, _sealed
|
||||
from app.api.evidence import RUN_NOT_FOUND, _mask_fingerprint, _Masks, _sealed, certain_masks
|
||||
from app.bundle.build import attachment_name, build_bundle, content_disposition, render_html
|
||||
from app.core.artifact_store import read_bytes
|
||||
from app.db.base import SessionLocal
|
||||
@@ -60,11 +60,15 @@ async def export_bundle(run_id: str) -> Response:
|
||||
.where(RunEvent.run_id == run_id, RunEvent.seq > bound).order_by(RunEvent.seq))]
|
||||
# 数据源现在设的遮罩:事后加的遮罩同样生效,和证据面板一个道理
|
||||
masks = await _mask_fingerprint()
|
||||
# 每份查询快照里确定取自遮罩列的列、这次运行查到过的遮罩值:认老文档时指标的值给不给,和报告撰写节点的写作目录
|
||||
# 同一个口径(SQL 认不准时不因此算遮罩列)。要查库、按 SQL 血缘认,在这里认好交进去
|
||||
sure, secrets = await certain_masks(sealed, _Masks(sealed))
|
||||
exported_at = datetime.now(timezone.utc).isoformat(timespec="seconds")
|
||||
# 读工件、算哈希、base64 是同步的活,快照大的时候不该占着事件循环
|
||||
page = await asyncio.to_thread(lambda: render_html(build_bundle(
|
||||
info, [*sealed.events, *later], manifest_seq=bound, manifest_hash=str(sealed.manifest_hash or ""),
|
||||
legacy=bool(sealed.seal.get("legacy")), graph=sealed.graph, source_masks=masks,
|
||||
sure_columns=sure, sure_secrets=secrets,
|
||||
read=lambda artifact: read_bytes(artifact, verify=False), exported_at=exported_at)))
|
||||
return Response(page, media_type="text/html; charset=utf-8", headers={
|
||||
"Content-Disposition": content_disposition(attachment_name(info), run_id=run_id),
|
||||
|
||||
+99
-12
@@ -21,7 +21,8 @@ artifacts 表可以事后插行,run.output 是可以改写的一列,封存
|
||||
options.mask_columns 里的列换成「已遮罩」,SQL 里给它们起了别名、套了函数得来的结果列也换
|
||||
(_mask_sets,和可验证报告同一个函数,合并查询另按合并 SQL 认);用到这些列的指标,指标步骤的值、
|
||||
证据图的标签也不给(_metric_masks,和推演同一个判断;报告撰写节点写作之前按同一个判断把这类指标在目录里写成「已遮罩」,
|
||||
withheld_metrics);SQL、合并警告里写着的遮罩值(这次运行里确定取自遮罩列的值)
|
||||
withheld_metrics,只是遮罩列只认确定的那一套,和单元格引用的自查同一个口径;可验证报告认老文档也按这个口径,
|
||||
certain_masks);SQL、合并警告里写着的遮罩值(这次运行里确定取自遮罩列的值)
|
||||
展示时换掉。一份快照的遮罩分析、收到的值按快照工件记在进程里(_MEMO),之后的请求不再读盘、不再分析
|
||||
——在有身份体系之前,这只减少暴露,不是安全边界:知道工件 id 的人照样能取到整份快照。
|
||||
|
||||
@@ -979,8 +980,8 @@ def _held_word(held: _Held) -> str:
|
||||
|
||||
|
||||
async def _metric_masks(metric: dict[str, Any], card_node: str, artifact: str, sealed: _Sealed,
|
||||
masks: _Masks, *, output: Callable[[Any], Any] | None = None, by_value: bool = True
|
||||
) -> tuple[dict[str, _Held], str | None]:
|
||||
masks: _Masks, *, output: Callable[[Any], Any] | None = None, by_value: bool = True,
|
||||
sure: bool = False, depth: int = 0) -> tuple[dict[str, _Held], str | None]:
|
||||
"""一个指标的输入里哪些不给值(路径 → _Held),指标本身的值给不给(None 照给,否则是写在值那里的字:「已遮罩」
|
||||
「无法核对」)。证据面板的指标步骤、证据图的标签、报告撰写节点的写作目录(withheld_metrics)都按这一个函数认,和推演
|
||||
同一套分类、同一个判断(recompute.withheld_value):
|
||||
@@ -993,8 +994,12 @@ async def _metric_masks(metric: dict[str, Any], card_node: str, artifact: str, s
|
||||
|
||||
output(节点 id → 那个节点的产出)给了的,按位置取的一格顺着它走取值链,不去封存的事件里找口径卡算这一次之前的产出:
|
||||
报告撰写节点写作时运行还没封存,产出就在运行状态里。by_value 为假(报告撰写节点的写作目录):认不出出处的输入不按值认,
|
||||
也不因此按值认指标的值——只按出处认,见 withheld_metrics。"""
|
||||
hide = _InputMasks(sealed, masks, card_node, artifact, output=output)
|
||||
也不因此按值认指标的值——只按出处认,见 withheld_metrics。sure 为真(写作目录、可验证报告认老文档):遮罩列只按确定的
|
||||
那一套认(_InputMasks 的 sure),不跟着证据面板宁可多遮。
|
||||
|
||||
转抄上游口径卡的输入(nodes.<卡>.metrics[0].value、nodes.<卡>.text,recompute.card_input)按上游那几个指标认,同一个
|
||||
函数往上追(depth 记追了几张卡,最多 recompute.CARD_DEPTH)。"""
|
||||
hide = _InputMasks(sealed, masks, card_node, artifact, output=output, by_value=by_value, sure=sure, depth=depth)
|
||||
held: dict[str, _Held] = {}
|
||||
uncertain = False
|
||||
for item in metric.get("inputs") or []:
|
||||
@@ -1037,7 +1042,12 @@ async def withheld_metrics(catalog: dict[str, Any], *, nodes: dict[str, Any], le
|
||||
产出走取值链(口径卡算的时候读到的就是它们)
|
||||
- 查询快照的数据源按证据台账认(ledger 的 query 条目),这次运行查到过的遮罩值从台账里的查询快照收
|
||||
遮没遮核对不了的(「无法核对」)不算:写作时快照和产出刚落下,读不出来的只能是坏了的文件,宁可照给、不让写作者因此
|
||||
改不掉;可验证报告那边另有兜底(bundle/build.py 只给哈希)。"""
|
||||
改不掉;可验证报告那边另有兜底(bundle/build.py 只给哈希)。
|
||||
|
||||
遮罩列只按确定的那一套认(sure,和单元格引用的自查同一个口径:_cited_masks):SQL 认不准、证据面板整份遮的快照里,
|
||||
没确定取自遮罩列的普通金额、计数、只装着分档标签的列照给。以前跟着证据面板宁可多遮,WITH 写了列名表、VALUES 当表的
|
||||
销售额也成了「已遮罩」,正式运行引用它就判失败;同一格按 [[v:…]] 引用却不报违规。转抄上游口径卡的指标
|
||||
(nodes.<卡>.metrics[0].value、nodes.<卡>.text)按上游那个指标认(_InputMasks._copied)。"""
|
||||
queries = {str(e["artifact"]): {k: e[k] for k in ("node_id", "tool", "source", "via", "call_id", "exec")
|
||||
if e.get(k) is not None}
|
||||
for e in ledger if isinstance(e, dict) and e.get("kind") == "query" and e.get("artifact")}
|
||||
@@ -1055,8 +1065,12 @@ async def withheld_metrics(catalog: dict[str, Any], *, nodes: dict[str, Any], le
|
||||
found.append((alias, card_node, str(entry.get("artifact") or ""), metric))
|
||||
if not found:
|
||||
return []
|
||||
# cell()、Agent 字段落在的快照先在线程里读好(读盘、复验哈希):在运行里认,不占着事件循环
|
||||
await masks.prefetch(str(item["artifact"]) for *_, metric in found for item in metric.get("inputs") or []
|
||||
# cell()、Agent 字段落在的快照先在线程里读好(读盘、复验哈希):在运行里认,不占着事件循环。转抄上游口径卡的指标要顺着
|
||||
# 上游卡的输入认,运行状态里每张口径卡的输入一并读好
|
||||
cards = [card for card in nodes.values() if isinstance(card, dict) and card.get("kind") == "metric_set"]
|
||||
await masks.prefetch(str(item["artifact"]) for metric in [*(m for *_, m in found),
|
||||
*(m for card in cards for m in card.get("metrics") or [])]
|
||||
if isinstance(metric, dict) for item in metric.get("inputs") or []
|
||||
if isinstance(item, dict) and isinstance(item.get("artifact"), str) and item["artifact"])
|
||||
|
||||
def output(node_id: Any) -> Any:
|
||||
@@ -1064,14 +1078,35 @@ async def withheld_metrics(catalog: dict[str, Any], *, nodes: dict[str, Any], le
|
||||
|
||||
out: list[str] = []
|
||||
for alias, card_node, artifact, metric in found:
|
||||
_, word = await _metric_masks(metric, card_node, artifact, view, masks, output=output, by_value=False)
|
||||
_, word = await _metric_masks(metric, card_node, artifact, view, masks, output=output, by_value=False,
|
||||
sure=True)
|
||||
if word == MASKED:
|
||||
out.append(alias)
|
||||
return out
|
||||
|
||||
|
||||
async def certain_masks(sealed: _Sealed, masks: _Masks) -> tuple[dict[str, frozenset[str]], Any]:
|
||||
"""可验证报告认老文档时用的遮罩(bundle/build.py 的 _Store.metric_word,sure):(封存范围内每份读得出来的查询快照 →
|
||||
确定取自遮罩列的结果列(小写,_cited_masks 的键,和写作目录同一个口径), 这次运行查到过的遮罩值(run_secrets))。
|
||||
|
||||
可验证报告在线程里构建、不查库,这几样按证据面板的那一套先在这里认好交进去:老文档整份只给哈希的判断和写作目录
|
||||
逐个指标一样(SQL 认不准时不因此算遮罩列),不另写一套。读不出来、和哈希对不上的快照不在里面:可验证报告按它的数据源
|
||||
现在设的遮罩认,同 _InputMasks。"""
|
||||
await masks.prefetch(sealed.queries)
|
||||
out: dict[str, frozenset[str]] = {}
|
||||
for artifact, info in sealed.queries.items():
|
||||
snap, ok = masks.fetch(artifact)
|
||||
if ok is True and isinstance(snap, dict):
|
||||
out[artifact] = frozenset(await masks.cited(artifact, (info or {}).get("source"), snap))
|
||||
return out, await masks.run_secrets()
|
||||
|
||||
|
||||
#: tool_cell、Agent 字段落在的查询快照读不出来:只知道数据源现在设的遮罩,查询当时记下的在快照里,遮没遮核对不了
|
||||
SNAPSHOT_UNVERIFIED = "查询快照无法读取,核对不了这一格是否取自设置了遮罩的列"
|
||||
#: 转抄的上游口径卡指标遮没遮核对不了(它的输入落在读不出来的快照上这类)
|
||||
CARD_UNVERIFIED = "转抄的上游口径卡指标核对不了是否取自设置了遮罩的列"
|
||||
#: 口径卡一张抄一张,追了 recompute.CARD_DEPTH 张还没追到头(或者循环里抄自己上一轮的产出):宁可多遮
|
||||
CARD_TOO_DEEP = f"转抄上游口径卡超过 {recompute.CARD_DEPTH} 层,追不到这个值最初取自哪里,按取自设置了遮罩的列处理"
|
||||
|
||||
|
||||
class _InputMasks:
|
||||
@@ -1088,15 +1123,24 @@ class _InputMasks:
|
||||
|
||||
一次请求里同一件工件只读一次、同一份快照的遮罩只认一次(记在 _Masks 上):按位置取了十几格的指标,不必把写变量的
|
||||
节点那几 MB 的产出重读十几遍;证据图给每个指标认一遍输入,也不必把同一份快照反复读盘。
|
||||
|
||||
sure(写作目录、可验证报告认老文档):遮罩列只按确定的那一套认——读得出来的快照按单元格引用自查的 _cited_masks(_mask_sets
|
||||
的 sure,再按血缘排除值确实不取自遮罩列的),读不出来的按数据源现在设的列名。证据面板、推演照旧按 hidden 宁可多遮。
|
||||
|
||||
转抄上游口径卡的输入(recompute.card_input:nodes.<卡>.metrics[0].value、vars.<卡的 assign_to>.metrics[0].value、
|
||||
nodes.<卡>.text)按上游那几个指标认(_copied,同一个 _metric_masks 往上追):上游的指标取自遮罩格,转抄它的这个输入
|
||||
同样不给值。整张卡、清单文字这种不一定把哪个指标的值带进来的,同整份查询结果(table),指标的值另按值认。
|
||||
"""
|
||||
|
||||
def __init__(self, sealed: _Sealed, masks: _Masks, card_node: str, artifact: str, *,
|
||||
output: Callable[[Any], Any] | None = None) -> None:
|
||||
output: Callable[[Any], Any] | None = None, by_value: bool = True, sure: bool = False,
|
||||
depth: int = 0) -> None:
|
||||
self._sealed, self._masks = sealed, masks
|
||||
self._card, self._artifact = card_node, artifact
|
||||
self._outputs: dict[str, str] | None = None
|
||||
# 报告撰写节点写作时(withheld_metrics):节点的产出就在运行状态里,不从封存的事件里找
|
||||
self._given = output
|
||||
self._by_value, self._sure, self._depth = by_value, sure, depth
|
||||
|
||||
def _fetch(self, artifact: str) -> tuple[Any, bool | None]:
|
||||
return self._masks.fetch(artifact)
|
||||
@@ -1106,7 +1150,8 @@ class _InputMasks:
|
||||
为假,值按值认(_metric_masks)。"""
|
||||
origin = recompute.input_origin(item, self._output, wide=True)
|
||||
if origin is None:
|
||||
return None, False
|
||||
copied = recompute.card_input(item, self._output)
|
||||
return (await self._copied(copied), True) if copied is not None else (None, False)
|
||||
if origin.unverified is not None:
|
||||
return _Held("unverified", list(origin.columns), origin.unverified), True
|
||||
used = list(dict.fromkeys(origin.columns))
|
||||
@@ -1134,7 +1179,37 @@ class _InputMasks:
|
||||
|
||||
async def _hidden(self, artifact: str | None, source: str | None, snap: dict[str, Any] | None) -> set[str]:
|
||||
info = self._sealed.queries.get(artifact) if artifact else None
|
||||
return (await self._masks.sets(artifact, (info or {}).get("source") or source, snap)).hidden
|
||||
name = (info or {}).get("source") or source
|
||||
if self._sure and snap is not None:
|
||||
return await self._masks.cited(artifact, name, snap)
|
||||
sets = await self._masks.sets(artifact, name, snap)
|
||||
return sets.sure if self._sure else sets.hidden
|
||||
|
||||
async def _copied(self, copied: recompute.CardInput) -> _Held | None:
|
||||
"""转抄上游口径卡的输入不给值的原因:上游带着值的那几个指标里,有不给的(「已遮罩」)就不给,有遮没遮核对不了的
|
||||
就核对不了;整张卡、清单文字(whole)同整份查询结果,记 table、指标的值另按值认。追得太深(卡抄卡超过
|
||||
recompute.CARD_DEPTH 张,循环里一张卡抄自己上一轮的产出)的追不到最初取自哪里,宁可多遮,按取自遮罩格算:
|
||||
核对不了的不给写作目录拦,号码就从这里出去了。"""
|
||||
if self._depth >= recompute.CARD_DEPTH:
|
||||
return _Held("masked", [], CARD_TOO_DEEP)
|
||||
artifact = str(copied.card.get("artifact") or "")
|
||||
words: list[str] = []
|
||||
columns: list[str] = []
|
||||
for index in copied.picked:
|
||||
metric = copied.card["metrics"][index]
|
||||
if not isinstance(metric, dict) or not metric.get("inputs"):
|
||||
continue
|
||||
held, word = await _metric_masks(metric, copied.node_id, artifact, self._sealed, self._masks,
|
||||
output=self._given, by_value=self._by_value, sure=self._sure,
|
||||
depth=self._depth + 1)
|
||||
if word is not None:
|
||||
words.append(word)
|
||||
columns.extend(c for h in held.values() if h.reason is None for c in h.columns)
|
||||
if MASKED in words:
|
||||
return _Held("table" if copied.whole else "masked", list(dict.fromkeys(columns)))
|
||||
if UNVERIFIED_VALUE in words:
|
||||
return _Held("table" if copied.whole else "unverified", [], CARD_UNVERIFIED)
|
||||
return None
|
||||
|
||||
|
||||
def _card_outputs(sealed: _Sealed, card_node: str, artifact: str) -> dict[str, str]:
|
||||
@@ -1449,6 +1524,7 @@ class _Masks:
|
||||
self._collected = False
|
||||
self._read: dict[str, tuple[Any, bool | None]] = {}
|
||||
self._sets: dict[tuple[str | None, str], _MaskSets] = {}
|
||||
self._cited: dict[tuple[str, str], set[str]] = {}
|
||||
|
||||
def fetch(self, artifact: str) -> tuple[Any, bool | None]:
|
||||
"""取回一件工件(_fetch):一次请求里同一件只读一次。证据图要给每个指标认一遍输入,同一份快照、同一个节点的
|
||||
@@ -1475,6 +1551,17 @@ class _Masks:
|
||||
self._sets[key] = found
|
||||
return self._sets[key]
|
||||
|
||||
async def cited(self, artifact: str | None, source: Any, snap: dict[str, Any]) -> set[str]:
|
||||
"""一份读得出来的查询快照里确定取自遮罩列的结果列(小写,_cited_masks 的键:单元格引用的自查按它判违规),一次请求里
|
||||
同一份只认一次(_owned_columns 要按 SQL 血缘认,指标一个个认输入时不必反复算)。调用方只读不改。"""
|
||||
key = (str(artifact or ""), str(source or ""))
|
||||
if not artifact or key not in self._cited:
|
||||
found = set(await _cited_masks(snap, source, self, artifact))
|
||||
if not artifact:
|
||||
return found
|
||||
self._cited[key] = found
|
||||
return self._cited[key]
|
||||
|
||||
async def of(self, source: Any) -> tuple[set[str], bool]:
|
||||
name = str(source or "")
|
||||
if not name:
|
||||
|
||||
Reference in New Issue
Block a user