sync update from LAN repo (source dhk-1 @ 3b1ec5b4)
This commit is contained in:
1 parent
da6521b6cb
commit
264e2200d6
995 files changed
+148105
-13399
No files matched your search
@@ -95,6 +95,15 @@ class SkillStore(ABC):
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
async def list_name_zh(self, names: list[str]) -> dict[str, str]:
|
||||
"""Map skill names to their configured Chinese display names.
|
||||
|
||||
Only names that have a non-empty ``name_zh`` are returned. The default
|
||||
is empty so stores that have not implemented the lookup stay safe.
|
||||
"""
|
||||
del names
|
||||
return {}
|
||||
|
||||
@abstractmethod
|
||||
async def list_favorite_skill_names(self, user_id: str) -> set[str]:
|
||||
"""Return the skill names in ``user_id``'s "我的技能" collection.
|
||||
|
||||
Reference in new issue
Block a user