From 41a426e3a31452492856cb861ebb526b73e4795f Mon Sep 17 00:00:00 2001 From: Oleg Date: Mon, 22 Jan 2024 13:28:54 +0300 Subject: [PATCH] fix for input --- python/sandbox/das_gate/dasgate.py | 1 - python/sandbox/das_gate/test_das.metta | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/python/sandbox/das_gate/dasgate.py b/python/sandbox/das_gate/dasgate.py index 7fcd72d85..abb8ddb71 100644 --- a/python/sandbox/das_gate/dasgate.py +++ b/python/sandbox/das_gate/dasgate.py @@ -152,7 +152,6 @@ def add(self, atom): -# def create_new_space(host='104.238.183.115', port='8081'): def create_new_space(host, port): return [G(SpaceRef(DASpace(remote=True, host=host.__repr__(), port=port.__repr__())))] diff --git a/python/sandbox/das_gate/test_das.metta b/python/sandbox/das_gate/test_das.metta index 6dbc068d2..654eb5b51 100644 --- a/python/sandbox/das_gate/test_das.metta +++ b/python/sandbox/das_gate/test_das.metta @@ -1,7 +1,7 @@ !(extend-py! dasgate) ;!(bind! &das (new-das)) -!(bind! &das (new-remote-das 104.238.183.115 8081)) +!(bind! &das (new-remote-das (Error "Put your IP here" ()) 8081)) !(add-atom &das (Test (Test 2))) !(add-atom &das (Best (Test 2)))