🤖 自动格式化代码 [skip ci]

This commit is contained in:
github-actions[bot]
2025-05-23 09:07:54 +00:00
parent 3a44f00bc1
commit 516092494e
2 changed files with 3 additions and 5 deletions

View File

@@ -67,17 +67,16 @@ class StructuredInfo:
value: 要设置的属性值
"""
self.data[key] = value
def get_processed_info(self) -> str:
"""获取处理后的信息
Returns:
str: 处理后的信息字符串
"""
info_str = ""
for key, value in self.data.items():
info_str += f"信息类型:{key},信息内容:{value}\n"
return info_str