Jelajahi Sumber

Reorganization

Andrei Bondarenko 4 tahun lalu
induk
melakukan
f44c888ace

state/__init__.py → core/__init__.py


state/test/__init__.py → core/manager.py


state/test/fixtures/__init__.py → services/__init__.py


+ 0 - 0
services/bottom/__init__.py


state/base.py → services/bottom/base.py


+ 1 - 1
state/devstate.py

@@ -1,4 +1,4 @@
-from state.pystate import PyState
+from services.bottom.pystate import PyState
 
 
 class DevState(PyState):

+ 1 - 1
state/pystate.py

@@ -1,6 +1,6 @@
 from typing import Any, List, Tuple, Optional
 
-from state.base import State, Node, Edge, Element
+from services.bottom.base import State, Node, Edge, Element
 
 
 class PyState(State):

+ 0 - 0
services/bottom/test/__init__.py


state/test/conftest.py → services/bottom/test/conftest.py


+ 0 - 0
services/bottom/test/fixtures/__init__.py


+ 1 - 1
state/test/fixtures/state.py

@@ -1,5 +1,5 @@
 import pytest
-from state.pystate import PyState
+from services.bottom.pystate import PyState
 # from state.rdfstate import RDFState
 # from state.neo4jstate import Neo4jState
 

state/test/test_create_dict.py → services/bottom/test/test_create_dict.py


state/test/test_create_edge.py → services/bottom/test/test_create_edge.py


state/test/test_create_node.py → services/bottom/test/test_create_node.py


state/test/test_create_nodevalue.py → services/bottom/test/test_create_nodevalue.py


state/test/test_delete_edge.py → services/bottom/test/test_delete_edge.py


state/test/test_delete_node.py → services/bottom/test/test_delete_node.py


state/test/test_read_dict.py → services/bottom/test/test_read_dict.py


state/test/test_read_dict_edge.py → services/bottom/test/test_read_dict_edge.py


state/test/test_read_dict_keys.py → services/bottom/test/test_read_dict_keys.py


state/test/test_read_dict_node.py → services/bottom/test/test_read_dict_node.py


state/test/test_read_edge.py → services/bottom/test/test_read_edge.py


state/test/test_read_incoming.py → services/bottom/test/test_read_incoming.py


state/test/test_read_outgoing.py → services/bottom/test/test_read_outgoing.py


state/test/test_read_reverse_dict.py → services/bottom/test/test_read_reverse_dict.py


state/test/test_read_value.py → services/bottom/test/test_read_value.py