Skip to content

Commit c335a40

Browse files
committed
changed name to IOResolverPlugin
1 parent 6bac753 commit c335a40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/kedro_graphql/plugins/plugins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from kedro_graphql.decorators import gql
33
from kedro_graphql.models import ParameterInput, DataSetInput
44

5-
class ResolverPlugin(ABC):
5+
class IOResolverPlugin(ABC):
66
"""
77
Implement this class to define custom behavior for pipeline inputs and
88
outputs. The methods of the class will called prior to pipeline
@@ -17,7 +17,7 @@ def __submit__(self, input: ParameterInput | DataSetInput) -> ParameterInput | D
1717
pass
1818

1919
@gql(name = "text_in")
20-
class ExampleTextInPlugin(ResolverPlugin):
20+
class ExampleTextInPlugin(IOResolverPlugin):
2121

2222
def __input__(self, input: ParameterInput | DataSetInput) -> [ParameterInput | DataSetInput]:
2323
print("plugin example", input)

0 commit comments

Comments
 (0)