mirror of
https://github.com/langgenius/dify.git
synced 2026-04-29 06:58:05 +08:00
feat(api): Add app_id field to HumanInputForm model
This ensures that `HumanInputForm` could be associated to a specific application without relying on `WorkflowRun`, providing us a smoother migration path if we want to implement test form.
This commit is contained in:
@ -42,6 +42,14 @@ class Form:
|
||||
def workflow_run_id(self) -> str:
|
||||
return self._record.workflow_run_id
|
||||
|
||||
@property
|
||||
def tenant_id(self) -> str:
|
||||
return self._record.tenant_id
|
||||
|
||||
@property
|
||||
def app_id(self) -> str:
|
||||
return self._record.app_id
|
||||
|
||||
@property
|
||||
def recipient_id(self) -> str | None:
|
||||
return self._record.recipient_id
|
||||
|
||||
Reference in New Issue
Block a user