Upload
get_component(args, name, component_type, text)
Generate an upload field and its functionality for a given component of the evaluations.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name |
str
|
The name of the component as it should be recorded in the session state and as it exists in the args. |
required |
component_type |
Any
|
The type of the component (to ensure that only the expected object can be uploaded) |
required |
text |
str
|
The human-readable text to display to the user as part of the element. |
required |
Source code in src/nhssynth/modules/dashboard/Upload.py
parse_args()
These arguments allow a user to automatically load the required data for the dashboard from disk.
Returns:
Type | Description |
---|---|
Namespace
|
The parsed arguments. |