mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
Merge origin/v3 into codex/feat/plugin-data-query-sdk-v3
This commit is contained in:
+3
-3
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"application": {
|
||||
"covered_lines": 10068,
|
||||
"percent": 78.81,
|
||||
"statements": 12775
|
||||
"covered_lines": 10084,
|
||||
"percent": 78.89,
|
||||
"statements": 12782
|
||||
},
|
||||
"domain": {
|
||||
"covered_lines": 3392,
|
||||
|
||||
+17
-12
@@ -1441,8 +1441,8 @@
|
||||
"runtime_only": true
|
||||
}
|
||||
},
|
||||
"edge_count": 6940,
|
||||
"edge_sha256": "9e3e8485c94c46a75eb577ccfc24708c80d4296b6422ec66ab9f23ef9964568f",
|
||||
"edge_count": 6944,
|
||||
"edge_sha256": "9f6be750c55150ef9e061f54ade997c328561b7950f6ec44bce6ada373d01f3e",
|
||||
"edges": [
|
||||
"app -> app.runtime",
|
||||
"app -> app.runtime.compat",
|
||||
@@ -2587,7 +2587,7 @@
|
||||
"app.agent.tools.impl.query_workflows -> app.agent.tools.base",
|
||||
"app.agent.tools.impl.query_workflows -> app.agent.tools.tags",
|
||||
"app.agent.tools.impl.query_workflows -> app.application",
|
||||
"app.agent.tools.impl.query_workflows -> app.application.agentdata",
|
||||
"app.agent.tools.impl.query_workflows -> app.application.workflow",
|
||||
"app.agent.tools.impl.query_workflows -> app.runtime",
|
||||
"app.agent.tools.impl.query_workflows -> app.runtime.log",
|
||||
"app.agent.tools.impl.read_file -> app.agent",
|
||||
@@ -3979,7 +3979,6 @@
|
||||
"app.application.backup -> app.runtime.log",
|
||||
"app.application.chain.context -> app.application",
|
||||
"app.application.chain.context -> app.application.chain",
|
||||
"app.application.chain.context -> app.application.chain.data",
|
||||
"app.application.chain.context -> app.application.chain.events",
|
||||
"app.application.chain.context -> app.application.configuration",
|
||||
"app.application.chain.context -> app.runtime",
|
||||
@@ -4344,6 +4343,8 @@
|
||||
"app.application.servarr -> app.schemas.types",
|
||||
"app.application.server.report -> app.schemas",
|
||||
"app.application.server.report -> app.schemas.media",
|
||||
"app.application.server.share -> app.application",
|
||||
"app.application.server.share -> app.application.workflow",
|
||||
"app.application.server.share -> app.schemas",
|
||||
"app.application.server.share -> app.schemas.media",
|
||||
"app.application.service -> app.schemas",
|
||||
@@ -4476,10 +4477,11 @@
|
||||
"app.application.transfer.workflow -> app.schemas.tmdb",
|
||||
"app.application.transfer.workflow -> app.schemas.transfer",
|
||||
"app.application.transfer.workflow -> app.schemas.types",
|
||||
"app.application.workflow -> app.schemas",
|
||||
"app.application.workflow -> app.schemas.common",
|
||||
"app.chain -> app.application",
|
||||
"app.chain -> app.application.chain",
|
||||
"app.chain -> app.application.chain.context",
|
||||
"app.chain -> app.application.chain.data",
|
||||
"app.chain -> app.application.configuration",
|
||||
"app.chain -> app.chain._messaging",
|
||||
"app.chain -> app.chain._recognition",
|
||||
@@ -5064,8 +5066,6 @@
|
||||
"app.chain.webhook -> app.schemas",
|
||||
"app.chain.webhook -> app.schemas.types",
|
||||
"app.chain.workflow -> app.application",
|
||||
"app.chain.workflow -> app.application.chain",
|
||||
"app.chain.workflow -> app.application.chain.data",
|
||||
"app.chain.workflow -> app.application.workflow",
|
||||
"app.chain.workflow -> app.chain",
|
||||
"app.chain.workflow -> app.runtime",
|
||||
@@ -5215,6 +5215,8 @@
|
||||
"app.db.adapters.workflow -> app.db.oper",
|
||||
"app.db.adapters.workflow -> app.db.oper.workflow",
|
||||
"app.db.adapters.workflow -> app.db.uow",
|
||||
"app.db.adapters.workflow -> app.schemas",
|
||||
"app.db.adapters.workflow -> app.schemas.common",
|
||||
"app.db.base -> app.db",
|
||||
"app.db.base -> app.db.uow",
|
||||
"app.db.base -> app.runtime",
|
||||
@@ -7583,6 +7585,7 @@
|
||||
"app.scheduler -> app.application.plugin.runtime",
|
||||
"app.scheduler -> app.application.scheduling",
|
||||
"app.scheduler -> app.application.site",
|
||||
"app.scheduler -> app.application.workflow",
|
||||
"app.scheduler -> app.chain",
|
||||
"app.scheduler -> app.chain.mediaserver",
|
||||
"app.scheduler -> app.chain.recommend",
|
||||
@@ -7608,7 +7611,6 @@
|
||||
"app.scheduler -> app.schemas.message",
|
||||
"app.scheduler -> app.schemas.system",
|
||||
"app.scheduler -> app.schemas.types",
|
||||
"app.scheduler -> app.schemas.workflow",
|
||||
"app.schemas -> app.schemas.exports",
|
||||
"app.schemas.agent -> app.schemas",
|
||||
"app.schemas.agent -> app.schemas.common",
|
||||
@@ -7730,6 +7732,11 @@
|
||||
"app.sdk._legacy.user -> app.db",
|
||||
"app.sdk._legacy.user -> app.db.oper",
|
||||
"app.sdk._legacy.user -> app.db.oper.user",
|
||||
"app.sdk._legacy.workflow -> app.application",
|
||||
"app.sdk._legacy.workflow -> app.application.workflow",
|
||||
"app.sdk._legacy.workflow -> app.db",
|
||||
"app.sdk._legacy.workflow -> app.db.oper",
|
||||
"app.sdk._legacy.workflow -> app.db.oper.workflow",
|
||||
"app.sdk.browser -> app.adapters",
|
||||
"app.sdk.browser -> app.adapters.network",
|
||||
"app.sdk.browser -> app.adapters.network.browser",
|
||||
@@ -8209,14 +8216,11 @@
|
||||
"app.testing.bootstrap -> app.startup.initializers.database",
|
||||
"app.testing.bootstrap -> app.startup.initializers.domain",
|
||||
"app.workflow -> app.application",
|
||||
"app.workflow -> app.application.chain",
|
||||
"app.workflow -> app.application.chain.data",
|
||||
"app.workflow -> app.application.workflow",
|
||||
"app.workflow -> app.foundation",
|
||||
"app.workflow -> app.foundation.reflection",
|
||||
"app.workflow -> app.foundation.singleton",
|
||||
"app.workflow -> app.runtime",
|
||||
"app.workflow -> app.runtime.config",
|
||||
"app.workflow -> app.runtime.events",
|
||||
"app.workflow -> app.runtime.log",
|
||||
"app.workflow -> app.runtime.stop",
|
||||
@@ -8385,7 +8389,7 @@
|
||||
"app.workflow.actions.transfer_file -> app.workflow",
|
||||
"app.workflow.actions.transfer_file -> app.workflow.actions"
|
||||
],
|
||||
"module_count": 849,
|
||||
"module_count": 850,
|
||||
"modules": [
|
||||
"app",
|
||||
"app.adapters",
|
||||
@@ -9179,6 +9183,7 @@
|
||||
"app.sdk._legacy.transfer",
|
||||
"app.sdk._legacy.transferpending",
|
||||
"app.sdk._legacy.user",
|
||||
"app.sdk._legacy.workflow",
|
||||
"app.sdk.browser",
|
||||
"app.sdk.cache",
|
||||
"app.sdk.config",
|
||||
|
||||
+8
-9
@@ -848,7 +848,7 @@
|
||||
"arg-type": 7
|
||||
},
|
||||
"app/api/dependencies/workflow.py": {
|
||||
"arg-type": 4,
|
||||
"arg-type": 3,
|
||||
"redundant-cast": 2
|
||||
},
|
||||
"app/api/endpoints/agent.py": {
|
||||
@@ -1107,7 +1107,7 @@
|
||||
"no-any-return": 4
|
||||
},
|
||||
"app/application/agentdata.py": {
|
||||
"attr-defined": 10
|
||||
"attr-defined": 9
|
||||
},
|
||||
"app/application/agenttask.py": {
|
||||
"type-arg": 1
|
||||
@@ -1299,7 +1299,6 @@
|
||||
"type-arg": 5
|
||||
},
|
||||
"app/application/server/share.py": {
|
||||
"no-any-return": 1,
|
||||
"type-arg": 6
|
||||
},
|
||||
"app/application/service.py": {
|
||||
@@ -1588,13 +1587,13 @@
|
||||
"index": 1
|
||||
},
|
||||
"app/chain/workflow.py": {
|
||||
"arg-type": 2,
|
||||
"arg-type": 1,
|
||||
"assignment": 1,
|
||||
"call-arg": 1,
|
||||
"index": 4,
|
||||
"misc": 1,
|
||||
"no-any-return": 10,
|
||||
"no-untyped-def": 3,
|
||||
"no-any-return": 7,
|
||||
"no-untyped-def": 2,
|
||||
"truthy-function": 2,
|
||||
"type-arg": 17,
|
||||
"union-attr": 4,
|
||||
@@ -3232,7 +3231,7 @@
|
||||
"unused-ignore": 1
|
||||
},
|
||||
"app/scheduler.py": {
|
||||
"arg-type": 8,
|
||||
"arg-type": 7,
|
||||
"attr-defined": 1,
|
||||
"import-untyped": 1,
|
||||
"misc": 1,
|
||||
@@ -3406,7 +3405,7 @@
|
||||
"misc": 1,
|
||||
"no-any-return": 2,
|
||||
"no-untyped-call": 33,
|
||||
"no-untyped-def": 13,
|
||||
"no-untyped-def": 12,
|
||||
"return-value": 5
|
||||
},
|
||||
"app/startup/initializers/plugins.py": {
|
||||
@@ -3448,7 +3447,7 @@
|
||||
"no-untyped-call": 2
|
||||
},
|
||||
"app/workflow/__init__.py": {
|
||||
"arg-type": 2,
|
||||
"arg-type": 1,
|
||||
"assignment": 2,
|
||||
"index": 1,
|
||||
"no-any-return": 1,
|
||||
|
||||
-28
@@ -291,9 +291,6 @@
|
||||
"F401": 1,
|
||||
"I001": 1
|
||||
},
|
||||
"app/application/agentdata.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/application/agenttask.py": {
|
||||
"I001": 1
|
||||
},
|
||||
@@ -380,9 +377,6 @@
|
||||
"app/application/torrent_cache.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/application/workflow.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/chain/_music.py": {
|
||||
"E402": 5
|
||||
},
|
||||
@@ -401,9 +395,6 @@
|
||||
"app/db/adapters/transaction.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/db/adapters/workflow.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/db/base.py": {
|
||||
"I001": 1
|
||||
},
|
||||
@@ -482,9 +473,6 @@
|
||||
"app/db/oper/userconfig.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/db/oper/workflow.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"app/db/session.py": {
|
||||
"I001": 1
|
||||
},
|
||||
@@ -1050,9 +1038,6 @@
|
||||
"E402": 27,
|
||||
"F401": 1
|
||||
},
|
||||
"app/workflow/__init__.py": {
|
||||
"F401": 1
|
||||
},
|
||||
"scripts/architecture/task_ownership.py": {
|
||||
"I001": 1
|
||||
},
|
||||
@@ -1219,9 +1204,6 @@
|
||||
"E402": 4,
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_chain_runtime_context.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_cli_auto_update.py": {
|
||||
"I001": 1
|
||||
},
|
||||
@@ -1266,9 +1248,6 @@
|
||||
"tests/test_db_lazy_engine.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_db_oper_layer.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_db_oper_layer_extra.py": {
|
||||
"I001": 1
|
||||
},
|
||||
@@ -1353,10 +1332,6 @@
|
||||
"tests/test_health_probes.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_host_runtime_context.py": {
|
||||
"F401": 1,
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_indexer_spider_search_url.py": {
|
||||
"I001": 1
|
||||
},
|
||||
@@ -1777,9 +1752,6 @@
|
||||
"tests/test_workflow_authorization.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_workflow_execution.py": {
|
||||
"I001": 1
|
||||
},
|
||||
"tests/test_workflow_runtime_config.py": {
|
||||
"I001": 1
|
||||
}
|
||||
|
||||
+22
-8
@@ -284,9 +284,9 @@
|
||||
"app.db.workflow_oper": {
|
||||
"introduced": "v3.0.0",
|
||||
"is_package": false,
|
||||
"owner": "db",
|
||||
"replacement": "app.db.oper.workflow",
|
||||
"target": "app.db.oper.workflow"
|
||||
"owner": "sdk",
|
||||
"replacement": "app.application.workflow.WorkflowExecutionPort",
|
||||
"target": "app.sdk._legacy.workflow"
|
||||
},
|
||||
"app.domain.string": {
|
||||
"introduced": "v3.0.0",
|
||||
@@ -926,6 +926,13 @@
|
||||
"target_name": "MediaInteractionChain"
|
||||
}
|
||||
},
|
||||
"app.db.oper": {
|
||||
"WorkflowOper": {
|
||||
"replacement": "app.application.workflow.WorkflowExecutionPort",
|
||||
"target_module": "app.sdk._legacy.workflow",
|
||||
"target_name": "WorkflowOper"
|
||||
}
|
||||
},
|
||||
"app.domain.media": {
|
||||
"MEDIA_SOURCE_ALIASES": {
|
||||
"replacement": "app.schemas.media.MEDIA_SOURCE_ALIASES",
|
||||
@@ -1184,6 +1191,13 @@
|
||||
"target_module": "app.runtime.log",
|
||||
"target_name": "log_settings"
|
||||
}
|
||||
},
|
||||
"app.workflow": {
|
||||
"WorkFlowManager": {
|
||||
"replacement": "app.workflow.WorkflowManager",
|
||||
"target_module": "app.workflow",
|
||||
"target_name": "WorkflowManager"
|
||||
}
|
||||
}
|
||||
},
|
||||
"virtual_packages": [
|
||||
@@ -1440,12 +1454,12 @@
|
||||
"caller": "app.workflow",
|
||||
"dynamic": true,
|
||||
"events": [],
|
||||
"fingerprint": "042068d816db7e46ab4da6e96f8549af97b57bd9d75ba710cc1ff4fec7e5e188",
|
||||
"fingerprint": "b99f557080a8ddb6dc9d2870d02c4cabc4b265b0daac086369c3bf1d51073c09",
|
||||
"handler": "self._handle_event",
|
||||
"invalid": false,
|
||||
"method": "add_event_listener",
|
||||
"priority": "<default>",
|
||||
"qualname": "WorkFlowManager.register_workflow_event",
|
||||
"qualname": "WorkflowManager.register_workflow_event",
|
||||
"receiver_kind": "canonical_singleton",
|
||||
"registration_kind": "listener"
|
||||
}
|
||||
@@ -1836,7 +1850,7 @@
|
||||
"50704edda70674af0932e769ddda40d2c21d50b134155c975d675035d7c933cd"
|
||||
],
|
||||
"producer_fingerprints": [
|
||||
"611abaaf708f0c2d555d3b963ff540c015f2155ff493ed17b92d7c7f0bd45e96"
|
||||
"b92d348c57dac3ba348079b4e71d02a0c13933bbf14b7e81188b042c3c5e2db3"
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -2980,10 +2994,10 @@
|
||||
"events": [
|
||||
"EventType.WorkflowExecute"
|
||||
],
|
||||
"fingerprint": "611abaaf708f0c2d555d3b963ff540c015f2155ff493ed17b92d7c7f0bd45e96",
|
||||
"fingerprint": "b92d348c57dac3ba348079b4e71d02a0c13933bbf14b7e81188b042c3c5e2db3",
|
||||
"invalid": false,
|
||||
"method": "send_event",
|
||||
"qualname": "WorkFlowManager._trigger_workflow",
|
||||
"qualname": "WorkflowManager._trigger_workflow",
|
||||
"receiver_kind": "canonical_singleton"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -300,7 +300,7 @@
|
||||
},
|
||||
{
|
||||
"caller": "app.workflow",
|
||||
"qualname": "WorkFlowManager.register_workflow_event",
|
||||
"qualname": "WorkflowManager.register_workflow_event",
|
||||
"method": "add_event_listener",
|
||||
"receiver_kind": "canonical_singleton",
|
||||
"events": [],
|
||||
@@ -309,7 +309,7 @@
|
||||
"handler": "self._handle_event",
|
||||
"registration_kind": "listener",
|
||||
"priority": "<default>",
|
||||
"fingerprint": "042068d816db7e46ab4da6e96f8549af97b57bd9d75ba710cc1ff4fec7e5e188",
|
||||
"fingerprint": "b99f557080a8ddb6dc9d2870d02c4cabc4b265b0daac086369c3bf1d51073c09",
|
||||
"classification": "approved_dynamic_exception",
|
||||
"owner": "app.workflow",
|
||||
"reason": "工作流配置在运行期决定事件类型,receiver 与 handler 仍可静态证明。"
|
||||
|
||||
Reference in New Issue
Block a user