✨ Add several northbound apis#3223
Quality Gate failed
Failed conditions
C Reliability Rating on New Code (required ≥ A)
See analysis details on SonarQube Cloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarQube for IDE
Annotations
Check failure on line 154 in test/sdk/core/tools/test_knowledge_base_search_tool.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 24 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2VCt7nt5E6mVijY&open=AZ62g2VCt7nt5E6mVijY&pullRequest=3223
Check warning on line 793 in test/backend/services/test_northbound_service.py
sonarqubecloud / SonarCloud Code Analysis
Use asynchronous features in this function or remove the `async` keyword.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62vCejGsjIl0JYSyoI&open=AZ62vCejGsjIl0JYSyoI&pullRequest=3223
Check failure on line 5531 in test/backend/agents/test_create_agent_info.py
sonarqubecloud / SonarCloud Code Analysis
Change this argument; Function "_build_internal_s3_url" expects a different type
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2D9t7nt5E6mVijV&open=AZ62g2D9t7nt5E6mVijV&pullRequest=3223
Check warning on line 207 in backend/apps/northbound_app.py
sonarqubecloud / SonarCloud Code Analysis
Use "Annotated" type hints for FastAPI dependency injection
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2X9t7nt5E6mVijf&open=AZ62g2X9t7nt5E6mVijf&pullRequest=3223
Check warning on line 195 in backend/apps/northbound_app.py
sonarqubecloud / SonarCloud Code Analysis
Use "Annotated" type hints for FastAPI dependency injection
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2X9t7nt5E6mVijd&open=AZ62g2X9t7nt5E6mVijd&pullRequest=3223
Check failure on line 125 in test/sdk/core/tools/test_knowledge_base_search_tool.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 29 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2VCt7nt5E6mVijX&open=AZ62g2VCt7nt5E6mVijX&pullRequest=3223
Check failure on line 718 in test/backend/services/test_northbound_service.py
sonarqubecloud / SonarCloud Code Analysis
Save this task in a variable to prevent premature garbage collection.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62vCejGsjIl0JYSyoH&open=AZ62vCejGsjIl0JYSyoH&pullRequest=3223
Check warning on line 147 in backend/apps/northbound_app.py
sonarqubecloud / SonarCloud Code Analysis
Use "Annotated" type hints for FastAPI dependency injection
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2X9t7nt5E6mVijb&open=AZ62g2X9t7nt5E6mVijb&pullRequest=3223
Check warning on line 819 in test/backend/services/test_northbound_service.py
sonarqubecloud / SonarCloud Code Analysis
Use asynchronous features in this function or remove the `async` keyword.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62vCejGsjIl0JYSyoJ&open=AZ62vCejGsjIl0JYSyoJ&pullRequest=3223
Check failure on line 5530 in test/backend/agents/test_create_agent_info.py
sonarqubecloud / SonarCloud Code Analysis
Change this argument; Function "_build_internal_s3_url" expects a different type
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2D9t7nt5E6mVijU&open=AZ62g2D9t7nt5E6mVijU&pullRequest=3223
Check warning on line 189 in backend/apps/northbound_app.py
sonarqubecloud / SonarCloud Code Analysis
Use "Annotated" type hints for FastAPI dependency injection
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2X9t7nt5E6mVijc&open=AZ62g2X9t7nt5E6mVijc&pullRequest=3223
Check warning on line 426 in test/backend/services/test_northbound_service.py
sonarqubecloud / SonarCloud Code Analysis
Use asynchronous features in this function or remove the `async` keyword.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62vCejGsjIl0JYSyoF&open=AZ62vCejGsjIl0JYSyoF&pullRequest=3223
Check warning on line 213 in backend/apps/northbound_app.py
sonarqubecloud / SonarCloud Code Analysis
Use "Annotated" type hints for FastAPI dependency injection
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2X9t7nt5E6mVijg&open=AZ62g2X9t7nt5E6mVijg&pullRequest=3223
Check warning on line 451 in test/backend/services/test_northbound_service.py
sonarqubecloud / SonarCloud Code Analysis
Use asynchronous features in this function or remove the `async` keyword.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62vCejGsjIl0JYSyoG&open=AZ62vCejGsjIl0JYSyoG&pullRequest=3223
Check failure on line 100 in backend/services/northbound_service.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 18 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2Xet7nt5E6mVija&open=AZ62g2Xet7nt5E6mVija&pullRequest=3223
Check warning on line 244 in backend/apps/northbound_app.py
sonarqubecloud / SonarCloud Code Analysis
Use "Annotated" type hints for FastAPI dependency injection
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2X9t7nt5E6mVijh&open=AZ62g2X9t7nt5E6mVijh&pullRequest=3223
Check warning on line 201 in backend/apps/northbound_app.py
sonarqubecloud / SonarCloud Code Analysis
Use "Annotated" type hints for FastAPI dependency injection
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2X9t7nt5E6mVije&open=AZ62g2X9t7nt5E6mVije&pullRequest=3223
Check failure on line 633 in backend/agents/create_agent_info.py
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 55 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2Y_t7nt5E6mViji&open=AZ62g2Y_t7nt5E6mViji&pullRequest=3223
Check failure on line 5532 in test/backend/agents/test_create_agent_info.py
sonarqubecloud / SonarCloud Code Analysis
Change this argument; Function "_build_internal_s3_url" expects a different type
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2D9t7nt5E6mVijW&open=AZ62g2D9t7nt5E6mVijW&pullRequest=3223
Check warning on line 1616 in test/sdk/core/tools/test_knowledge_base_search_tool.py
sonarqubecloud / SonarCloud Code Analysis
Delete this unreachable code or refactor the code to make it reachable.
See more on https://sonarcloud.io/project/issues?id=ModelEngine-Group_nexent&issues=AZ62g2VCt7nt5E6mVijZ&open=AZ62g2VCt7nt5E6mVijZ&pullRequest=3223