Skip to content

refactor(knowledgebase): 添加STS token支持并优化代码格式#72

Merged
OhYee merged 1 commit intomainfrom
add-ots-kb
Mar 24, 2026
Merged

refactor(knowledgebase): 添加STS token支持并优化代码格式#72
OhYee merged 1 commit intomainfrom
add-ots-kb

Conversation

@Sodawyx
Copy link
Collaborator

@Sodawyx Sodawyx commented Mar 24, 2026

本次提交主要完成了以下改进:

  1. 在多个数据API类中添加了STS token的支持
  2. 对长参数列表进行了适当的换行处理,提高代码可读性
  3. 更新相关单元测试以验证新的STS token功能

这些改动增强了系统的安全性和灵活性,同时保持了良好的代码风格。

Co-developed-by: Aone Copilot noreply@alibaba-inc.com

Thank you for creating a pull request to contribute to Serverless Devs agentrun-sdk-python code! Before you open the request please answer the following questions to help it be more easily integrated. Please check the boxes "[ ]" with "[x]" when done too.
Please select one of the PR types below to complete


Fix bugs

Bug detail

The specific manifestation of the bug or the associated issue.

Pull request tasks

  • Add test cases for the changes
  • Passed the CI test

Update docs

Reason for update

Why do you need to update your documentation?

Pull request tasks

  • Update Chinese documentation
  • Update English documentation

Add contributor

Contributed content

  • Code
  • Document

Content detail

if content_type == 'code' || content_type == 'document':
    please tell us `PR url`,like: https://github.com/Serverless-Devs/agentrun-sdk-python/pull/1
else:
    please describe your contribution in detail

Others

Reason for update

Why do you need to update your documentation?

本次提交主要完成了以下改进:
1. 在多个数据API类中添加了STS token的支持
2. 对长参数列表进行了适当的换行处理,提高代码可读性
3. 更新相关单元测试以验证新的STS token功能

这些改动增强了系统的安全性和灵活性,同时保持了良好的代码风格。

Co-developed-by: Aone Copilot <noreply@alibaba-inc.com>
Signed-off-by: Sodawyx <sodawyx@126.com>
@OhYee OhYee merged commit 9bde321 into main Mar 24, 2026
2 checks passed
@OhYee OhYee deleted the add-ots-kb branch March 24, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants