diff --git a/pillarsdk/__init__.py b/pillarsdk/__init__.py index 66500cd..9e56c22 100644 --- a/pillarsdk/__init__.py +++ b/pillarsdk/__init__.py @@ -1,7 +1,6 @@ from .api import Api from .resource import Resource from .nodes import Node -from .nodes import NodeType from .users import User from .files import File from .tokens import Token diff --git a/pillarsdk/nodes.py b/pillarsdk/nodes.py index cc781f2..01ac525 100755 --- a/pillarsdk/nodes.py +++ b/pillarsdk/nodes.py @@ -163,14 +163,3 @@ class Node(List, Find, Create, Post, Update, Delete, Replace): import mimetypes mimetype, _ = mimetypes.guess_type(filename, strict=False) return mimetype - - -class NodeType(List, Find, Create, Post, Delete): - """NodeType class wrapping the REST node_types endpoint - """ - path = "node_types" - - def has_method(self, method): - if method in self.allowed_methods: - return True - return False