Skip to content

Commit

Permalink
[WAYANG-#8] Change in names for readibility
Browse files Browse the repository at this point in the history
Signed-off-by: bertty <[email protected]>
  • Loading branch information
Bertty Contreras-Rojas authored and berttty committed Apr 8, 2022
1 parent cdd1147 commit 553d492
Show file tree
Hide file tree
Showing 15 changed files with 20 additions and 22 deletions.
2 changes: 1 addition & 1 deletion python/src/pywy/core/plan.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from typing import ( Iterable, Set )

from pywy.graph.graph import WayangGraph
from pywy.graph.graphtypes import ( NodeOperator, WGraphOfVec, NodeVec )
from pywy.graph.types import ( NodeOperator, WGraphOfVec, NodeVec )
from pywy.operators.sink import SinkOperator
from pywy.core.plugin import Plugin

Expand Down
2 changes: 1 addition & 1 deletion python/src/pywy/core/translator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from pywy.graph.graphtypes import ( WGraphOfVec, NodeVec )
from pywy.graph.types import ( WGraphOfVec, NodeVec )
from pywy.core.plugin import Plugin
from pywy.core.plan import PywyPlan
from pywy.core.mapping import Mapping
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from typing import List

from pywy.graph.graphtypes import WGraphOfOperator, NodeOperator
from pywy.graph.types import WGraphOfOperator, NodeOperator
from pywy.core import Channel
from pywy.core import Executor
from pywy.core import PywyPlan
from pywy.platforms.python.operators.PyExecutionOperator import PyExecutionOperator
from pywy.platforms.python.operator.py_execution_operator import PyExecutionOperator


class PyExecutor(Executor):
Expand Down
2 changes: 1 addition & 1 deletion python/src/pywy/platforms/python/mappings.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pywy.core import Mapping
from pywy.platforms.python.operators import *
from pywy.platforms.python.operator import *


PywyOperatorMappings = Mapping()
Expand Down
11 changes: 11 additions & 0 deletions python/src/pywy/platforms/python/operator/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from pywy.platforms.python.operator.py_execution_operator import PyExecutionOperator
from pywy.platforms.python.operator.py_unary_filter import PyFilterOperator
from pywy.platforms.python.operator.py_source_textfile import PyTextFileSourceOperator
from pywy.platforms.python.operator.py_sink_textfile import PyTextFileSinkOperator

__ALL__ = [
PyExecutionOperator,
PyFilterOperator,
PyTextFileSourceOperator,
PyTextFileSinkOperator
]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Set
from pywy.operators.sink import TextFileSink
from pywy.platforms.python.operators.PyExecutionOperator import PyExecutionOperator
from pywy.platforms.python.operator.py_execution_operator import PyExecutionOperator
from pywy.platforms.python.channels import (
Channel,
ChannelDescriptor,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Set
from pywy.operators.source import TextFileSource
from pywy.platforms.python.operators.PyExecutionOperator import PyExecutionOperator
from pywy.platforms.python.operator.py_execution_operator import PyExecutionOperator
from pywy.platforms.python.channels import (
Channel,
ChannelDescriptor,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Set
from pywy.operators.unary import FilterOperator
from pywy.platforms.python.operators.PyExecutionOperator import PyExecutionOperator
from pywy.platforms.python.operator.py_execution_operator import PyExecutionOperator
from pywy.platforms.python.channels import (
Channel,
ChannelDescriptor,
Expand Down
11 changes: 0 additions & 11 deletions python/src/pywy/platforms/python/operators/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion python/src/pywy/platforms/python/platform/__init__.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pywy.core import Executor
from pywy.platforms.python.execution.executor import PyExecutor
from pywy.platforms.python.execution import PyExecutor
from pywy.platforms.python.platform import PythonPlatform
from pywy.core import Plugin
from pywy.platforms.python.mappings import PywyOperatorMappings
Expand Down
1 change: 0 additions & 1 deletion python/src/pywy/platforms/python/plugin/__init__.py

This file was deleted.

0 comments on commit 553d492

Please sign in to comment.