Skip to content

Commit b02d10d

Browse files
Change class method _check_request to staticmethod
1 parent 48b8599 commit b02d10d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyslicer/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ def _handler_request(self, req):
131131
self._set_properties_values(sd_response)
132132
return sd_response.result
133133

134-
def _check_request(self, request):
134+
@staticmethod
135+
def _check_request(request):
135136
"""Check if the request was successful
136137
137138
Keyword arguments:

0 commit comments

Comments
 (0)