Skip to content

Commit

Permalink
Merge pull request #34 from GACWR/main_dev_branch
Browse files Browse the repository at this point in the history
Main dev branch
  • Loading branch information
Jovonni authored Apr 9, 2020
2 parents ab55f09 + d2a72a4 commit 5636a7b
Show file tree
Hide file tree
Showing 59 changed files with 459 additions and 199 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ core/__pycache__/*
core/.mypy_cache/*
/core/__pycache__/*
/core/.mypy_cache/*
/core/*pycache*/
*.pyc
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ check:
hash.py \
hash_test.py \
--ignore-missing-imports ;
describe_model:
cd core/ ; python3.7 core.py describe_model ${model_name};
uis: #ui server
cd interface/ ; node server.js
rd: # react development server
Expand Down
2 changes: 1 addition & 1 deletion core/.mypy_cache/3.7/core.data.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{".class": "MypyFile", "_fullname": "core", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "API": {".class": "SymbolTableNode", "cross_ref": "api.API", "kind": "Gdef"}, "CORS": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "core.CORS", "name": "CORS", "type": {".class": "AnyType", "missing_import_name": "core.CORS", "source_any": null, "type_of_any": 3}}}, "Core": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "core.Core", "name": "Core", "type_vars": []}, "flags": [], "fullname": "core.Core", "metaclass_type": null, "metadata": {}, "module_name": "core", "mro": ["core.Core", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "core.Core.__init__", "name": "__init__", "type": null}}, "display": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "core.Core.display", "name": "display", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "initiate": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "core.Core.initiate", "name": "initiate", "type": null}}, "run_display_information_job": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "core.Core.run_display_information_job", "name": "run_display_information_job", "type": null}}, "run_scheduler_job": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "core.Core.run_scheduler_job", "name": "run_scheduler_job", "type": null}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Display": {".class": "SymbolTableNode", "cross_ref": "display.Display", "kind": "Gdef"}, "Flask": {".class": "SymbolTableNode", "cross_ref": "flask.app.Flask", "kind": "Gdef"}, "ModelEngine": {".class": "SymbolTableNode", "cross_ref": "model.ModelEngine", "kind": "Gdef"}, "ModelLibrary": {".class": "SymbolTableNode", "cross_ref": "model.ModelLibrary", "kind": "Gdef"}, "ProcessEngine": {".class": "SymbolTableNode", "cross_ref": "process.ProcessEngine", "kind": "Gdef"}, "Test": {".class": "SymbolTableNode", "cross_ref": "test.Test", "kind": "Gdef"}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "core.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "core.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "core.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "core.__package__", "name": "__package__", "type": "builtins.str"}}, "coloredlogs": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "core.coloredlogs", "name": "coloredlogs", "type": {".class": "AnyType", "missing_import_name": "core.coloredlogs", "source_any": null, "type_of_any": 3}}}, "core": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "core.core", "name": "core", "type": "core.Core"}}, "delete_model": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["model_name"], "flags": ["is_decorated"], "fullname": "core.delete_model", "name": "delete_model", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "delete_model", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["model_name"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "delete_model", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "display": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["display_type"], "flags": ["is_decorated"], "fullname": "core.display", "name": "display", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "display", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["display_type"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "display", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "install_model": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["model_name"], "flags": ["is_decorated"], "fullname": "core.install_model", "name": "install_model", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "install_model", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["model_name"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "install_model", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "jsonify": {".class": "SymbolTableNode", "cross_ref": "flask.json.jsonify", "kind": "Gdef"}, "logging": {".class": "SymbolTableNode", "cross_ref": "logging", "kind": "Gdef"}, "scheduler_run": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["name"], "flags": [], "fullname": "core.scheduler_run", "name": "scheduler_run", "type": null}}, "server": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "core.server", "name": "server", "type": "flask.app.Flask"}}, "sys": {".class": "SymbolTableNode", "cross_ref": "sys", "kind": "Gdef"}, "threading": {".class": "SymbolTableNode", "cross_ref": "threading", "kind": "Gdef"}, "time": {".class": "SymbolTableNode", "cross_ref": "time", "kind": "Gdef"}, "trace": {".class": "SymbolTableNode", "cross_ref": "trace", "kind": "Gdef"}, "unittest": {".class": "SymbolTableNode", "cross_ref": "unittest", "kind": "Gdef"}}, "path": "core.py"}
{".class": "MypyFile", "_fullname": "core", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "API": {".class": "SymbolTableNode", "cross_ref": "api.API", "kind": "Gdef"}, "CORS": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "core.CORS", "name": "CORS", "type": {".class": "AnyType", "missing_import_name": "core.CORS", "source_any": null, "type_of_any": 3}}}, "Core": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "core.Core", "name": "Core", "type_vars": []}, "flags": [], "fullname": "core.Core", "metaclass_type": null, "metadata": {}, "module_name": "core", "mro": ["core.Core", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "core.Core.__init__", "name": "__init__", "type": null}}, "display": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "core.Core.display", "name": "display", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "initiate": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "core.Core.initiate", "name": "initiate", "type": null}}, "run_display_information_job": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "core.Core.run_display_information_job", "name": "run_display_information_job", "type": null}}, "run_scheduler_job": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "core.Core.run_scheduler_job", "name": "run_scheduler_job", "type": null}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "DescribeModel": {".class": "SymbolTableNode", "cross_ref": "model.DescribeModel", "kind": "Gdef"}, "Display": {".class": "SymbolTableNode", "cross_ref": "display.Display", "kind": "Gdef"}, "Flask": {".class": "SymbolTableNode", "cross_ref": "flask.app.Flask", "kind": "Gdef"}, "ModelEngine": {".class": "SymbolTableNode", "cross_ref": "model.ModelEngine", "kind": "Gdef"}, "ModelLibrary": {".class": "SymbolTableNode", "cross_ref": "model.ModelLibrary", "kind": "Gdef"}, "ProcessEngine": {".class": "SymbolTableNode", "cross_ref": "process.ProcessEngine", "kind": "Gdef"}, "Test": {".class": "SymbolTableNode", "cross_ref": "test.Test", "kind": "Gdef"}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "core.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "core.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "core.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "core.__package__", "name": "__package__", "type": "builtins.str"}}, "coloredlogs": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "core.coloredlogs", "name": "coloredlogs", "type": {".class": "AnyType", "missing_import_name": "core.coloredlogs", "source_any": null, "type_of_any": 3}}}, "component": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "core.component", "name": "component", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}}}, "core": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "core.core", "name": "core", "type": "core.Core"}}, "delete_model": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["model_name"], "flags": ["is_decorated"], "fullname": "core.delete_model", "name": "delete_model", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "delete_model", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["model_name"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "delete_model", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "display": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["display_type"], "flags": ["is_decorated"], "fullname": "core.display", "name": "display", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "display", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["display_type"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "display", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "install_model": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["model_name"], "flags": ["is_decorated"], "fullname": "core.install_model", "name": "install_model", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_ready"], "fullname": null, "name": "install_model", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["model_name"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "install_model", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "variables": []}}}}, "jsonify": {".class": "SymbolTableNode", "cross_ref": "flask.json.jsonify", "kind": "Gdef"}, "logging": {".class": "SymbolTableNode", "cross_ref": "logging", "kind": "Gdef"}, "model_description": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "core.model_description", "name": "model_description", "type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "builtins.dict"}}}, "model_name": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "core.model_name", "name": "model_name", "type": "builtins.str"}}, "scheduler_run": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["name"], "flags": [], "fullname": "core.scheduler_run", "name": "scheduler_run", "type": null}}, "server": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "core.server", "name": "server", "type": "flask.app.Flask"}}, "sys": {".class": "SymbolTableNode", "cross_ref": "sys", "kind": "Gdef"}, "threading": {".class": "SymbolTableNode", "cross_ref": "threading", "kind": "Gdef"}, "time": {".class": "SymbolTableNode", "cross_ref": "time", "kind": "Gdef"}, "trace": {".class": "SymbolTableNode", "cross_ref": "trace", "kind": "Gdef"}, "unittest": {".class": "SymbolTableNode", "cross_ref": "unittest", "kind": "Gdef"}}, "path": "core.py"}
2 changes: 1 addition & 1 deletion core/.mypy_cache/3.7/core.meta.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"data_mtime": 1585799489, "dep_lines": [21, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 33, 1, 1, 1, 1, 1, 1, 1, 22, 34], "dep_prios": [5, 10, 10, 10, 5, 5, 5, 5, 5, 10, 10, 10, 5, 30, 30, 30, 30, 30, 30, 5, 10], "dependencies": ["flask", "logging", "threading", "time", "model", "test", "process", "api", "display", "unittest", "trace", "sys", "builtins", "abc", "flask.app", "flask.helpers", "flask.json", "types", "typing"], "hash": "a36f175a4ea5dc54642662cd70727682", "id": "core", "ignore_all": false, "interface_hash": "f18d53ceb6248cf626f3d74bec300287", "mtime": 1585770166, "options": {"allow_redefinition": false, "allow_untyped_globals": false, "always_false": [], "always_true": [], "bazel": false, "check_untyped_defs": false, "disallow_any_decorated": false, "disallow_any_explicit": false, "disallow_any_expr": false, "disallow_any_generics": false, "disallow_any_unimported": false, "disallow_incomplete_defs": false, "disallow_subclassing_any": false, "disallow_untyped_calls": false, "disallow_untyped_decorators": false, "disallow_untyped_defs": false, "follow_imports": "normal", "follow_imports_for_stubs": false, "ignore_errors": false, "ignore_missing_imports": true, "implicit_reexport": true, "local_partial_types": false, "mypyc": false, "no_implicit_optional": false, "platform": "darwin", "plugins": [], "show_none_errors": true, "strict_equality": false, "strict_optional": true, "strict_optional_whitelist": null, "warn_no_return": true, "warn_return_any": false, "warn_unreachable": false, "warn_unused_ignores": false}, "path": "core.py", "plugin_data": null, "size": 4171, "suppressed": ["flask_cors", "coloredlogs"], "version_id": "0.761"}
{"data_mtime": 1586406478, "dep_lines": [21, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 33, 1, 1, 1, 1, 1, 1, 1, 22, 34], "dep_prios": [5, 10, 10, 10, 5, 5, 5, 5, 5, 10, 10, 10, 5, 30, 30, 30, 30, 30, 30, 5, 10], "dependencies": ["flask", "logging", "threading", "time", "model", "test", "process", "api", "display", "unittest", "trace", "sys", "builtins", "abc", "flask.app", "flask.helpers", "flask.json", "types", "typing"], "hash": "cc8ceda05f7d9e6b25b108944d994c8b", "id": "core", "ignore_all": false, "interface_hash": "60777785ed3f6ac5619f4a5d37c1c13f", "mtime": 1586392653, "options": {"allow_redefinition": false, "allow_untyped_globals": false, "always_false": [], "always_true": [], "bazel": false, "check_untyped_defs": false, "disallow_any_decorated": false, "disallow_any_explicit": false, "disallow_any_expr": false, "disallow_any_generics": false, "disallow_any_unimported": false, "disallow_incomplete_defs": false, "disallow_subclassing_any": false, "disallow_untyped_calls": false, "disallow_untyped_decorators": false, "disallow_untyped_defs": false, "follow_imports": "normal", "follow_imports_for_stubs": false, "ignore_errors": false, "ignore_missing_imports": true, "implicit_reexport": true, "local_partial_types": false, "mypyc": false, "no_implicit_optional": false, "platform": "darwin", "plugins": [], "show_none_errors": true, "strict_equality": false, "strict_optional": true, "strict_optional_whitelist": null, "warn_no_return": true, "warn_return_any": false, "warn_unreachable": false, "warn_unused_ignores": false}, "path": "core.py", "plugin_data": null, "size": 4654, "suppressed": ["flask_cors", "coloredlogs"], "version_id": "0.761"}
2 changes: 1 addition & 1 deletion core/.mypy_cache/3.7/dataset.data.json

Large diffs are not rendered by default.

Loading

0 comments on commit 5636a7b

Please sign in to comment.