mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-07-03 05:41:44 +08:00
feat(workflow): implement action contract management for inputs and outputs
This commit is contained in:
@@ -30,6 +30,10 @@ class FetchRssAction(BaseAction):
|
||||
获取RSS资源列表
|
||||
"""
|
||||
|
||||
contract = {
|
||||
"outputs": [{"name": "torrents", "label": "资源", "kind": "list"}],
|
||||
}
|
||||
|
||||
def __init__(self, action_id: str):
|
||||
super().__init__(action_id)
|
||||
self._rss_torrents = []
|
||||
|
||||
Reference in New Issue
Block a user