mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-07-06 23:31:28 +08:00
add workflow lifecycle
This commit is contained in:
@@ -21,6 +21,7 @@ class FetchRssAction(BaseAction):
|
||||
"""
|
||||
获取RSS资源列表
|
||||
"""
|
||||
|
||||
@property
|
||||
def name(self) -> str:
|
||||
return "获取RSS资源列表"
|
||||
@@ -31,3 +32,9 @@ class FetchRssAction(BaseAction):
|
||||
|
||||
async def execute(self, params: FetchRssParams, context: ActionContext) -> ActionContext:
|
||||
pass
|
||||
|
||||
def is_done(self, context: ActionContext) -> bool:
|
||||
pass
|
||||
|
||||
def is_success(self, context: ActionContext) -> bool:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user