chore: apply ty checks on api code with script and ci action (#24653)
This commit is contained in:
parent
c373b734bc
commit
7b379e2a61
48 changed files with 188 additions and 142 deletions
|
|
@ -229,7 +229,7 @@ class MCPToolManageService:
|
|||
provider_controller = MCPToolProviderController._from_db(mcp_provider)
|
||||
tool_configuration = ProviderConfigEncrypter(
|
||||
tenant_id=mcp_provider.tenant_id,
|
||||
config=list(provider_controller.get_credentials_schema()),
|
||||
config=list(provider_controller.get_credentials_schema()), # ty: ignore [invalid-argument-type]
|
||||
provider_config_cache=NoOpProviderCredentialCache(),
|
||||
)
|
||||
credentials = tool_configuration.encrypt(credentials)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue