-
Notifications
You must be signed in to change notification settings - Fork 10
feat!: introduce more field input types to HumanInputNode #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
WH-2099
merged 34 commits into
langgenius:main
from
QuantumGhost:QuantumGhost/hitl-form-dsl
May 13, 2026
Merged
Changes from 13 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
251e265
feat: Introduce new input field types to HumanInput node
QuantumGhost 8246f2a
test: add serialization tests for FormInput Type
QuantumGhost 4b5e7f8
refactor!: Rename `FormInput` and `FormInputDefault`
QuantumGhost b6897a8
refactor!: Rename `PlaceholderType` to `ValueSourceType`
QuantumGhost 54a5c45
chore!: Drop `TEXT_INPUT` form input type
QuantumGhost 95fd712
refactor: remove unused get_all_by_node method
QuantumGhost 03ed965
chore: check protocol compatibility statically for ReadOnlyVariablePool
QuantumGhost d000e45
test: add tests for HumanInputNode.resolve_default_values
QuantumGhost cfb255a
test: add tests for HumanInputNodeData variable mapping extraction
QuantumGhost 7372a71
feat: introduce new input field types for HumanInputNode
QuantumGhost 54cbe8b
chore: ignore PLC1901 in tests
QuantumGhost ba9186b
chore: ignore coverage related files
QuantumGhost f445e74
chore: add editorconfig configuration
QuantumGhost 6dd2793
docs: clarify fields in `VariablePool`
QuantumGhost f88e7f6
refactor: promote `output_variable_name` to base class
QuantumGhost 547db9d
feat: introduce `submitted_data` to HumanInputFormFilledEvent
QuantumGhost dd75bf5
docs: adjust documentation for VariablePool
QuantumGhost 9967c0f
refactor: rename FormInput to FormInputConfig
QuantumGhost 548b6fa
WIP
QuantumGhost f70c911
chore(human-input): use string constant for FormInputType enum values
QuantumGhost 027abb8
chore(human-input): rename form_data to submitted_data in methods and…
QuantumGhost d2f7cf5
chore(human-input): mark methods in protocol as abstract
QuantumGhost d1da838
fixup! chore(human-input): rename form_data to submitted_data in meth…
QuantumGhost 80c820d
fixup! chore(human-input): rename form_data to submitted_data in meth…
QuantumGhost e122712
fixup! chore(human-input): rename form_data to submitted_data in meth…
QuantumGhost 91941bf
refactor(human-input): unify special output creation
QuantumGhost b99ebd0
Merge remote-tracking branch 'upstream' into QuantumGhost/hitl-form-dsl
QuantumGhost 70b417c
docs: add a short docstring to FileReferenceFactoryProtocol.
QuantumGhost e10abc1
test(human-input): move tests for human input definition to test_enti…
QuantumGhost 3d82420
chore: suppress SLF001 for tests
QuantumGhost 5539d04
feat(human-input): remove restore_submitted_data from HumanInputNodeR…
QuantumGhost b8f72b5
chore(test): remove SLF001 ignore in code
QuantumGhost a6d4c1a
refactor(human-input): ensure all form data are converted to runtime …
QuantumGhost 2287be4
refactor(human-input): move _InvalidSubmittedDataError to _exc
QuantumGhost File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| root = true | ||
|
|
||
| [*] | ||
| end_of_line = lf | ||
| insert_final_newline = true | ||
| trim_trailing_whitespace = true | ||
| charset = utf-8 | ||
|
|
||
| [*.py] | ||
| indent_style = space | ||
| indent_size = 4 | ||
|
|
||
| [*.toml] | ||
| indent_style = space | ||
| indent_size = 4 | ||
|
|
||
| [*.md] | ||
| trim_trailing_whitespace = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| from graphon.file.enums import FileTransferMethod | ||
|
|
||
|
|
||
| class InvalidConfigError(Exception): | ||
| pass | ||
|
|
||
|
|
||
| class InvalidTransferMethodError(InvalidConfigError): | ||
| transfer_method: FileTransferMethod | ||
|
|
||
| def __init__(self, transfer_method: FileTransferMethod) -> None: | ||
| self.transfer_method = transfer_method | ||
| super().__init__(f"invalid file transfer method: {transfer_method}") | ||
|
|
||
|
|
||
| class ExtensionsNotSetErrorValueError(InvalidConfigError): | ||
| def __init__(self) -> None: | ||
| super().__init__("allowed_file_extensions not set") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.