Coverage report: 50%

Files Functions Classes

coverage.py v7.6.1, created at 2025-03-26 01:28 +0500

File function statements missing excluded branches partial coverage
src/integry/__init__.py (no function) 3 0 0 0 0 100%
src/integry/client.py Integry.__init__ 9 2 0 4 2 69%
src/integry/client.py (no function) 9 0 0 0 0 100%
src/integry/exceptions.py FunctionCallError.__init__ 2 2 0 0 0 0%
src/integry/exceptions.py FunctionCallError.__str__ 1 1 0 0 0 0%
src/integry/exceptions.py (no function) 6 0 0 0 0 100%
src/integry/resources/apps/api.py Apps.list 1 0 0 0 0 100%
src/integry/resources/apps/api.py Apps.get 3 0 0 0 0 100%
src/integry/resources/apps/api.py Apps.is_connected 4 0 0 0 0 100%
src/integry/resources/apps/api.py (no function) 6 0 0 0 0 100%
src/integry/resources/apps/types.py (no function) 19 0 0 0 0 100%
src/integry/resources/base.py BaseResource.__init__ 4 0 0 0 0 100%
src/integry/resources/base.py BaseResource._get_response_data_or_raise 6 3 0 4 2 50%
src/integry/resources/base.py BaseResource._get_signed_request_headers 2 0 0 0 0 100%
src/integry/resources/base.py AsyncPaginator.__init__ 8 0 0 0 0 100%
src/integry/resources/base.py AsyncPaginator.__aiter__ 1 1 0 0 0 0%
src/integry/resources/base.py AsyncPaginator.__anext__ 5 5 0 4 0 0%
src/integry/resources/base.py AsyncPaginator.__await__ 1 0 0 0 0 100%
src/integry/resources/base.py AsyncPaginator._populate_next_page 1 1 0 0 0 0%
src/integry/resources/base.py AsyncPaginator._get_data 4 1 0 2 1 67%
src/integry/resources/base.py AsyncPaginator._get_next_page 5 0 0 0 0 100%
src/integry/resources/base.py (no function) 24 0 0 0 0 100%
src/integry/resources/functions/api.py Functions.list 2 2 0 0 0 0%
src/integry/resources/functions/api.py Functions.predict 8 8 0 2 0 0%
src/integry/resources/functions/api.py Functions.get 10 10 0 4 0 0%
src/integry/resources/functions/api.py Functions.call 12 12 0 8 0 0%
src/integry/resources/functions/api.py Functions.call_sync 9 9 0 6 0 0%
src/integry/resources/functions/api.py Functions._raise_function_call_exception 10 10 0 4 0 0%
src/integry/resources/functions/api.py Functions._get_query_string 15 15 0 12 0 0%
src/integry/resources/functions/api.py (no function) 15 0 0 2 0 100%
src/integry/resources/functions/types.py Function.__init__ 3 3 0 0 0 0%
src/integry/resources/functions/types.py Function.get_json_schema 1 1 0 0 0 0%
src/integry/resources/functions/types.py Function.get_langchain_tool 3 3 0 0 0 0%
src/integry/resources/functions/types.py Function.get_haystack_tool 2 2 0 0 0 0%
src/integry/resources/functions/types.py Function.get_litellm_tool 2 2 0 0 0 0%
src/integry/resources/functions/types.py Function.get_mistralai_tool 2 2 0 0 0 0%
src/integry/resources/functions/types.py Function.get_llamaindex_tool 3 3 0 0 0 0%
src/integry/resources/functions/types.py Function.register_with_autogen_agents 3 3 0 0 0 0%
src/integry/resources/functions/types.py Function.register_with_autogen_agents.autogen_function 2 2 0 0 0 0%
src/integry/resources/functions/types.py Function.get_smolagent_tool 5 5 0 6 0 0%
src/integry/resources/functions/types.py Function.get_smolagent_tool.add_docstring 4 4 0 0 0 0%
src/integry/resources/functions/types.py Function.get_smolagent_tool.execute_function 3 3 0 0 0 0%
src/integry/resources/functions/types.py Function.__call__ 1 1 0 0 0 0%
src/integry/resources/functions/types.py Function._get_callable 2 2 0 0 0 0%
src/integry/resources/functions/types.py Function._get_callable.callable 1 1 0 0 0 0%
src/integry/resources/functions/types.py Function._get_sync_callable 2 2 0 0 0 0%
src/integry/resources/functions/types.py Function._get_sync_callable.sync_callable 1 1 0 0 0 0%
src/integry/resources/functions/types.py (no function) 52 1 0 2 1 96%
src/integry/tests/test_apps.py TestIntegryFunctionAPI.asyncSetUp 2 0 0 0 0 100%
src/integry/tests/test_apps.py TestIntegryFunctionAPI.test_list_apps 20 0 0 10 0 100%
src/integry/tests/test_apps.py TestIntegryFunctionAPI.test_get_app 13 0 0 2 0 100%
src/integry/tests/test_apps.py TestIntegryFunctionAPI.test_is_connected 3 0 0 0 0 100%
src/integry/tests/test_apps.py (no function) 14 1 0 2 1 88%
src/integry/tool_handlers/lite_llm.py handle_litellm_tool_calls 15 15 0 10 0 0%
src/integry/tool_handlers/lite_llm.py (no function) 9 0 0 0 0 100%
src/integry/utils/__init__.py (no function) 1 0 0 0 0 100%
src/integry/utils/common.py get_hash 2 0 0 0 0 100%
src/integry/utils/common.py generate_docstring_from_schema_for_smolagent 14 14 0 2 0 0%
src/integry/utils/common.py (no function) 4 0 0 0 0 100%
src/integry/utils/pydantic.py get_pydantic_model_from_json_schema 6 6 0 2 0 0%
src/integry/utils/pydantic.py get_pydantic_type_from_json_schema 13 13 0 10 0 0%
src/integry/utils/pydantic.py get_pydantic_field_from_json_schema 13 13 0 6 0 0%
src/integry/utils/pydantic.py (no function) 8 0 0 0 0 100%
Total   434 185 0 104 7 50%

No items found using the specified filter.