Added model_id and contents dict to directories in MODEL_SPEC for helper modules
This commit is contained in:
parent
88fb528b29
commit
3f33f4b639
|
@ -1,4 +1,5 @@
|
|||
MODEL_SPEC = {
|
||||
'model_id': 'mymodel',
|
||||
'args': {
|
||||
'blank': {'type': 'freestyle_string'},
|
||||
'a': {'type': 'integer'},
|
||||
|
@ -6,7 +7,7 @@ MODEL_SPEC = {
|
|||
'c': {'type': 'freestyle_string'},
|
||||
'foo': {'type': 'file'},
|
||||
'bar': {'type': 'file'},
|
||||
'data_dir': {'type': 'directory'},
|
||||
'data_dir': {'type': 'directory', 'contents': {}},
|
||||
'raster': {'type': 'raster'},
|
||||
'vector': {'type': 'vector'},
|
||||
'simple_table': {'type': 'csv'},
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
MODEL_SPEC = {
|
||||
'model_id': 'mymodel',
|
||||
'args': {
|
||||
'foo': {'type': 'file'},
|
||||
'bar': {'type': 'file'},
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
MODEL_SPEC = {
|
||||
'model_id': 'mymodel',
|
||||
'args': {
|
||||
'some_file': {'type': 'file'},
|
||||
'data_dir': {'type': 'directory'},
|
||||
'data_dir': {'type': 'directory', 'contents': {}},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
MODEL_SPEC = {
|
||||
'model_id': 'raster_model',
|
||||
'args': {
|
||||
'raster': {'type': 'raster'},
|
||||
}
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
MODEL_SPEC = {
|
||||
'model_id': 'mymodel',
|
||||
'args': {
|
||||
'a': {'type': 'integer'},
|
||||
'b': {'type': 'freestyle_string'},
|
||||
'c': {'type': 'freestyle_string'},
|
||||
'd': {'type': 'freestyle_string'},
|
||||
'workspace_dir': {'type': 'directory'},
|
||||
'workspace_dir': {'type': 'directory', 'contents': {}},
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
MODEL_SPEC = {
|
||||
'model_id': 'mymodel',
|
||||
'args': {
|
||||
'foo': {'type': 'freestyle_string'},
|
||||
'bar': {'type': 'freestyle_string'},
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
MODEL_SPEC = {
|
||||
'model_id': 'vec_model',
|
||||
'args': {
|
||||
'vector': {'type': 'vector'},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue