Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if init or start were not invoked before stop _algorithm may be None #104

Merged
merged 4 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions hkube_python_wrapper/wrapper/algorunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from hkube_python_wrapper.communication.streaming.StreamingManager import StreamingManager
from hkube_python_wrapper.util.queueImpl import Queue, Empty
from hkube_python_wrapper.util.timerImpl import Timer
from hkube_python_wrapper.util.logger import log ,algorithmLogger
from hkube_python_wrapper.util.logger import log, algorithmLogger
from hkube_python_wrapper.util.url_encode_impl import url_encode
from hkube_python_wrapper.util.stdout_redirector import stdout_redirector
import os
Expand Down Expand Up @@ -310,8 +310,9 @@ def _log_message(self, data):
pass

def _getMethod(self, name):
return self._algorithm.get(name)

if (self._algorithm):
return self._algorithm.get(name)
return None
def _init(self, options):
redirector = None
try:
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.5.0-dev10
current_version = 2.6.0-dev1
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

here = os.path.abspath(os.path.dirname(__file__))

VERSION = '2.5.0-dev10'
VERSION = '2.6.0-dev1'



Expand Down
Loading