-
Notifications
You must be signed in to change notification settings - Fork 21.2k
[Refactor/Chore] ERROR Unexpected keyword argument #32592
Copy link
Copy link
Closed
Labels
good first issueGood first issue for newcomersGood first issue for newcomers🐞 bugSomething isn't workingSomething isn't working🙏 help wantedExtra attention is neededExtra attention is needed
Description
Self Checks
- I have read the Contributing Guide and Language Policy.
- This is only for refactors or chores; if you would like to ask a question, please head to Discussions.
- I have searched for existing issues search for existing issues, including closed ones.
- I confirm that I am using English to submit this report, otherwise it will be closed.
- 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
- Please do not modify this template :) and fill in all the required fields.
Description
ERROR Unexpected keyword argument `icon_dark` in function `models.tools.ApiToolProvider.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/tools/test_tools_transform_service.py:50:17
|
50 | icon_dark='{"background": "#252525", "content": "🔧"}',
| ^^^^^^^^^
|
ERROR Unexpected keyword argument `credentials` in function `models.tools.ApiToolProvider.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/tools/test_tools_transform_service.py:53:17
|
53 | credentials={"auth_type": "api_key_header", "api_key": "test_key"},
| ^^^^^^^^^^^
|
ERROR Unexpected keyword argument `provider_type` in function `models.tools.ApiToolProvider.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/tools/test_tools_transform_service.py:54:17
|
54 | provider_type="api",
| ^^^^^^^^^^^^^
|
ERROR Unexpected keyword argument `description` in function `models.tools.BuiltinToolProvider.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/tools/test_tools_transform_service.py:59:17
|
59 | description=fake.text(max_nb_chars=100),
| ^^^^^^^^^^^
|
ERROR Unexpected keyword argument `icon` in function `models.tools.BuiltinToolProvider.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/tools/test_tools_transform_service.py:60:17
|
60 | icon="🔧",
| ^^^^
|
ERROR Unexpected keyword argument `icon_dark` in function `models.tools.BuiltinToolProvider.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/tools/test_tools_transform_service.py:61:17
|
61 | icon_dark="🔧",
| ^^^^^^^^^
|
ERROR Unexpected keyword argument `credentials` in function `models.tools.BuiltinToolProvider.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/tools/test_tools_transform_service.py:65:17
|
65 | credentials={"api_key": "test_key"},
| ^^^^^^^^^^^
|
ERROR Unexpected keyword argument `icon_dark` in function `models.tools.WorkflowToolProvider.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/tools/test_tools_transform_service.py:72:17
|
72 | icon_dark='{"background": "#252525", "content": "🔧"}',
| ^^^^^^^^^
|
ERROR Unexpected keyword argument `workflow_id` in function `models.tools.WorkflowToolProvider.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/tools/test_tools_transform_service.py:75:17
|
75 | workflow_id="test_workflow_id",
| ^^^^^^^^^^^
|
ERROR Unexpected keyword argument `description` in function `models.tools.MCPToolProvider.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/tools/test_tools_transform_service.py:80:17
|
80 | description=fake.text(max_nb_chars=100),
| ^^^^^^^^^^^
|
ERROR Unexpected keyword argument `provider_icon` in function `models.tools.MCPToolProvider.__init__` [unexpected-keyword]
--> tests/test_containers_integration_tests/services/tools/test_tools_transform_service.py:81:17
|
81 | provider_icon='{"background": "#FF6B6B", "content": "🔧"}',
| ^^^^^^^^^^^^^
|
Motivation
No response
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood first issue for newcomersGood first issue for newcomers🐞 bugSomething isn't workingSomething isn't working🙏 help wantedExtra attention is neededExtra attention is needed