dify/api/services
Poojan 5bafb163cc
test: add unit tests for services and tasks part-4 (#33223)
Co-authored-by: akashseth-ifp <akash.seth@infocusp.com>
Co-authored-by: rajatagarwal-oss <rajat.agarwal@infocusp.com>
Co-authored-by: Dev Sharma <50591491+cryptus-neoxys@users.noreply.github.com>
Co-authored-by: sahil-infocusp <73810410+sahil-infocusp@users.noreply.github.com>
2026-04-02 08:35:46 +00:00
..
auth chore(api): align Python support with 3.12 (#34419) 2026-04-02 05:07:32 +00:00
document_indexing_proxy feat: enable tenant isolation on duplicate document indexing tasks (#29080) 2025-12-08 17:54:57 +08:00
enterprise refactor: select in 13 small service files (#34371) 2026-04-01 04:00:05 +00:00
entities refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
errors fix: enterprise API error handling and license enforcement (#33044) 2026-03-15 20:59:41 -07:00
plugin chore(api): align Python support with 3.12 (#34419) 2026-04-02 05:07:32 +00:00
rag_pipeline test: added test for api/services/rag_pipeline folder (#33222) 2026-04-02 06:40:52 +00:00
recommend_app refactor: select in 13 small service files (#34371) 2026-04-01 04:00:05 +00:00
retention chore(api): align Python support with 3.12 (#34419) 2026-04-02 05:07:32 +00:00
tools fix: add tenant/dataset ownership checks to prevent IDOR vulnerabilities (#34436) 2026-04-02 05:45:20 +00:00
trigger refactor(api): replace json.loads with Pydantic validation in services layer (#33704) 2026-03-30 08:22:29 +00:00
workflow chore(api): align Python support with 3.12 (#34419) 2026-04-02 05:07:32 +00:00
__init__.py chore(api/services): apply ruff reformatting (#7599) 2024-08-26 13:43:57 +08:00
account_service.py chore(api): align Python support with 3.12 (#34419) 2026-04-02 05:07:32 +00:00
advanced_prompt_template_service.py chore: adopt StrEnum and auto() for some string-typed enums (#25129) 2025-09-12 21:14:26 +08:00
agent_service.py refactor: select in 10 service files (#34373) 2026-04-01 08:03:49 +00:00
annotation_service.py refactor: port api/controllers/console/app/annotation.py api/controllers/console/explore/trial.py api/controllers/console/workspace/account.py api/controllers/console/workspace/members.py api/controllers/service_api/app/annotation.py to basemodel (#31833) 2026-02-03 09:59:00 +08:00
api_based_extension_service.py refactor: select in 10 service files (#34373) 2026-04-01 08:03:49 +00:00
api_token_service.py fix: redis for api token (#31861) 2026-02-06 16:25:27 +08:00
app_dsl_service.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
app_generate_service.py feat: support redis xstream (#32586) 2026-03-04 13:18:55 +08:00
app_model_config_service.py refactor(api): add TypedDict definitions to models/model.py (#32925) 2026-03-06 08:42:54 +09:00
app_service.py refactor: select in 10 service files (#34373) 2026-04-01 08:03:49 +00:00
app_task_service.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
async_workflow_service.py refactor(api): replace dict/Mapping with TypedDict in trigger.py and workflow.py (#33562) 2026-03-17 13:14:42 +09:00
attachment_service.py Feat/support multimodal embedding (#29115) 2025-12-09 14:41:46 +08:00
audio_service.py refactor: select in 13 small service files (#34371) 2026-04-01 04:00:05 +00:00
billing_service.py chore(api): align Python support with 3.12 (#34419) 2026-04-02 05:07:32 +00:00
clear_free_plan_tenant_expired_logs.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
code_based_extension_service.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
conversation_service.py chore(api): align Python support with 3.12 (#34419) 2026-04-02 05:07:32 +00:00
conversation_variable_updater.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
credit_pool_service.py refactor: select in 13 small service files (#34371) 2026-04-01 04:00:05 +00:00
dataset_service.py fix: add tenant/dataset ownership checks to prevent IDOR vulnerabilities (#34436) 2026-04-02 05:45:20 +00:00
datasource_provider_service.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
end_user_service.py feat: Service API - add end-user lookup endpoint (#32015) 2026-02-09 14:01:22 +08:00
external_knowledge_service.py fix: add tenant/dataset ownership checks to prevent IDOR vulnerabilities (#34436) 2026-04-02 05:45:20 +00:00
feature_service.py fix: enterprise API error handling and license enforcement (#33044) 2026-03-15 20:59:41 -07:00
feedback_service.py refactor: select in 10 service files (#34373) 2026-04-01 08:03:49 +00:00
file_service.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
hit_testing_service.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
human_input_delivery_test_service.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
human_input_service.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
knowledge_service.py refactor: replace dict with BedrockRetrievalSetting BaseModel in knowledge_service (#34080) 2026-03-25 21:33:24 +09:00
message_service.py chore(api): align Python support with 3.12 (#34419) 2026-04-02 05:07:32 +00:00
metadata_service.py fix: add tenant/dataset ownership checks to prevent IDOR vulnerabilities (#34436) 2026-04-02 05:45:20 +00:00
model_load_balancing_service.py refactor: model_load_balancing_service and api_tools_manage_service (#34434) 2026-04-02 04:38:35 +00:00
model_provider_service.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
oauth_server.py use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
operation_service.py more httpx (#25651) 2025-09-22 23:07:09 +08:00
ops_service.py refactor(api): type OpsTraceProviderConfigMap with TracingProviderCon… (#34424) 2026-04-02 01:47:08 +00:00
recommended_app_service.py refactor: select in 10 service files (#34373) 2026-04-01 08:03:49 +00:00
saved_message_service.py chore(api): align Python support with 3.12 (#34419) 2026-04-02 05:07:32 +00:00
summary_index_service.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
tag_service.py refactor: select in tag_service (#34441) 2026-04-02 05:04:36 +00:00
variable_truncator.py test: add unit tests for services and tasks part-4 (#33223) 2026-04-02 08:35:46 +00:00
vector_service.py refactor: select in 10 service files (#34373) 2026-04-01 08:03:49 +00:00
web_conversation_service.py chore(api): align Python support with 3.12 (#34419) 2026-04-02 05:07:32 +00:00
webapp_auth_service.py refactor: select in 13 small service files (#34371) 2026-04-01 04:00:05 +00:00
website_service.py perf: use global httpx client instead of per request create new one (#34311) 2026-04-01 01:19:32 +00:00
workflow_app_service.py chore(api): align Python support with 3.12 (#34419) 2026-04-02 05:07:32 +00:00
workflow_draft_variable_service.py chore: normalize frozenset literals and myscale typing (#34327) 2026-03-31 08:21:22 +00:00
workflow_event_snapshot_service.py refactor(api): use standalone graphon package (#34209) 2026-03-27 21:05:32 +00:00
workflow_restore.py fix: adding a restore API for version control on workflow draft (#33582) 2026-03-20 14:54:23 +08:00
workflow_run_service.py feat(api): Introduce workflow pause state management (#27298) 2025-10-30 14:41:09 +08:00
workflow_service.py refactor: select in 10 service files (#34373) 2026-04-01 08:03:49 +00:00
workspace_service.py refactor: select in 13 small service files (#34371) 2026-04-01 04:00:05 +00:00