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_SPEC = {
|
||||||
|
'model_id': 'mymodel',
|
||||||
'args': {
|
'args': {
|
||||||
'blank': {'type': 'freestyle_string'},
|
'blank': {'type': 'freestyle_string'},
|
||||||
'a': {'type': 'integer'},
|
'a': {'type': 'integer'},
|
||||||
|
@ -6,7 +7,7 @@ MODEL_SPEC = {
|
||||||
'c': {'type': 'freestyle_string'},
|
'c': {'type': 'freestyle_string'},
|
||||||
'foo': {'type': 'file'},
|
'foo': {'type': 'file'},
|
||||||
'bar': {'type': 'file'},
|
'bar': {'type': 'file'},
|
||||||
'data_dir': {'type': 'directory'},
|
'data_dir': {'type': 'directory', 'contents': {}},
|
||||||
'raster': {'type': 'raster'},
|
'raster': {'type': 'raster'},
|
||||||
'vector': {'type': 'vector'},
|
'vector': {'type': 'vector'},
|
||||||
'simple_table': {'type': 'csv'},
|
'simple_table': {'type': 'csv'},
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
MODEL_SPEC = {
|
MODEL_SPEC = {
|
||||||
|
'model_id': 'mymodel',
|
||||||
'args': {
|
'args': {
|
||||||
'foo': {'type': 'file'},
|
'foo': {'type': 'file'},
|
||||||
'bar': {'type': 'file'},
|
'bar': {'type': 'file'},
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
MODEL_SPEC = {
|
MODEL_SPEC = {
|
||||||
|
'model_id': 'mymodel',
|
||||||
'args': {
|
'args': {
|
||||||
'some_file': {'type': 'file'},
|
'some_file': {'type': 'file'},
|
||||||
'data_dir': {'type': 'directory'},
|
'data_dir': {'type': 'directory', 'contents': {}},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
MODEL_SPEC = {
|
MODEL_SPEC = {
|
||||||
|
'model_id': 'raster_model',
|
||||||
'args': {
|
'args': {
|
||||||
'raster': {'type': 'raster'},
|
'raster': {'type': 'raster'},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
MODEL_SPEC = {
|
MODEL_SPEC = {
|
||||||
|
'model_id': 'mymodel',
|
||||||
'args': {
|
'args': {
|
||||||
'a': {'type': 'integer'},
|
'a': {'type': 'integer'},
|
||||||
'b': {'type': 'freestyle_string'},
|
'b': {'type': 'freestyle_string'},
|
||||||
'c': {'type': 'freestyle_string'},
|
'c': {'type': 'freestyle_string'},
|
||||||
'd': {'type': 'freestyle_string'},
|
'd': {'type': 'freestyle_string'},
|
||||||
'workspace_dir': {'type': 'directory'},
|
'workspace_dir': {'type': 'directory', 'contents': {}},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
MODEL_SPEC = {
|
MODEL_SPEC = {
|
||||||
|
'model_id': 'mymodel',
|
||||||
'args': {
|
'args': {
|
||||||
'foo': {'type': 'freestyle_string'},
|
'foo': {'type': 'freestyle_string'},
|
||||||
'bar': {'type': 'freestyle_string'},
|
'bar': {'type': 'freestyle_string'},
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
MODEL_SPEC = {
|
MODEL_SPEC = {
|
||||||
|
'model_id': 'vec_model',
|
||||||
'args': {
|
'args': {
|
||||||
'vector': {'type': 'vector'},
|
'vector': {'type': 'vector'},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue