Skip to content

Commit 761d71c

Browse files
authoredJun 27, 2017
shutdown_requested Should not be Abstract (#57)
Existing users should be able to upgrade the library without issues. Removed the abstract decorator to ensure that existing users' applications continue to work normally.
1 parent 1eee85c commit 761d71c

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed
 

‎amazon_kclpy/kcl.py

-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ def shutdown(self, checkpointer, reason):
220220
'''
221221
raise NotImplementedError
222222

223-
@abc.abstractmethod
224223
def shutdown_requested(self, checkpointer):
225224
"""
226225
Called by a KCLProcess instance to indicate that this record processor is about to be be shutdown. This gives

‎amazon_kclpy/v2/processor.py

-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ def shutdown(self, shutdown_input):
7373
"""
7474
raise NotImplementedError
7575

76-
@abc.abstractmethod
7776
def shutdown_requested(self, shutdown_requested_input):
7877
"""
7978
Called by a KCLProcess instance to indicate that this record processor is about to be be shutdown. This gives

0 commit comments

Comments
 (0)
Please sign in to comment.