File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -387,16 +387,7 @@ def __init__(
387387 self ,
388388 code : str ,
389389 * ,
390- type : str
391- | int
392- | bool
393- | S3Connection
394- | CustomConnection
395- | DHIS2Connection
396- | IASOConnection
397- | PostgreSQLConnection
398- | GCSConnection
399- | Dataset ,
390+ type : type ,
400391 name : str | None = None ,
401392 choices : typing .Sequence | None = None ,
402393 help : str | None = None ,
@@ -562,17 +553,7 @@ def validate_parameters(parameters: list[Parameter]):
562553def parameter (
563554 code : str ,
564555 * ,
565- type : str
566- | int
567- | bool
568- | float
569- | DHIS2Connection
570- | IASOConnection
571- | PostgreSQLConnection
572- | GCSConnection
573- | S3Connection
574- | CustomConnection
575- | Dataset ,
556+ type : type ,
576557 name : str | None = None ,
577558 choices : typing .Sequence | None = None ,
578559 help : str | None = None ,
You can’t perform that action at this time.
0 commit comments