corva-worker-python 2.3.6__py3-none-any.whl → 2.3.7__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: corva-worker-python
3
- Version: 2.3.6
3
+ Version: 2.3.7
4
4
  Summary: SDK for interacting with Corva
5
5
  Home-page: https://github.com/corva-ai/corva-worker-python
6
6
  Author: Jordan Ambra <jordan.ambra@corva.ai>, Mohammadreza Kamyab <m.kamyab@corva.ai>
@@ -15,7 +15,7 @@ worker/constants.py,sha256=beZCoZk6Tl32EzHCxP6WNtH4QPsG_Tay6sfZSnddYYI,1480
15
15
  worker/exceptions.py,sha256=ABjo2tay2TI40cVFSaKBE4i_ZqIC3IJZCw88qo2iLws,309
16
16
  worker/app/__init__.py,sha256=-PEDBW7xCBbbc3fE6pxA5JBKM_5SJaCaVFqvzS5aNxc,11596
17
17
  worker/app/modules/__init__.py,sha256=wJV7Jo_DSlkgDQqQRcmzplXGBG1SGfJIL9JHFi5hWgo,8871
18
- worker/app/modules/activity_module.py,sha256=ot1zHSBhOP76gu9RV4OWnQY1JNAq-r3nkRLtgpwdmU0,5046
18
+ worker/app/modules/activity_module.py,sha256=2qRpZK5Vej0JLKcS9SjuSu1DfVTzkjCok_Op2cycUPs,5298
19
19
  worker/app/modules/connection_module.py,sha256=qvaDgTBrf3NMA9Q1A-490fhjlhPVh_iskaMvLYK09lc,575
20
20
  worker/app/modules/depth_activity_module.py,sha256=0enhx_fhDiLRaPwVh4BDcu2KkWPzG_9Bkqt1p7RzHbQ,572
21
21
  worker/app/modules/scheduler.py,sha256=oZVLQH2p7aEQJUFXi4zL-QsGcfXGF859grI31TIt7bc,1448
@@ -70,7 +70,7 @@ worker/wellbore/model/enums.py,sha256=DZm-o9ZCM1hSRHw_CcOK4Oy2Q_bmpDM7Gx3GlKQ_bv
70
70
  worker/wellbore/model/hole.py,sha256=LYikxOMJfxhc2yoKZN12pDBIl6W8apJcAGtGR3ZuvhM,10046
71
71
  worker/wellbore/model/hole_section.py,sha256=4sfP19xiY--wV1Ve2MtRoNqpya-FdPhNNmTgxLb90uk,1630
72
72
  worker/wellbore/model/riser.py,sha256=ElxvQMfdFTGGpJ1Jba_DNVue3zGAsm-05zDl1HBXwDk,824
73
- corva_worker_python-2.3.6.dist-info/METADATA,sha256=DfUtQ2YywKMe21jxSo0C7Qk4R7UV1fpGrd6mLfrovJo,1020
74
- corva_worker_python-2.3.6.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
75
- corva_worker_python-2.3.6.dist-info/top_level.txt,sha256=cEiwDUvsc9ITDXhHwrvdLLLBwQNLerUOUhh1q5DZL6g,16
76
- corva_worker_python-2.3.6.dist-info/RECORD,,
73
+ corva_worker_python-2.3.7.dist-info/METADATA,sha256=rR4rsGuF4FuiGGvBswyMNEwjxr7FejdPV2IYYREHkW4,1020
74
+ corva_worker_python-2.3.7.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
75
+ corva_worker_python-2.3.7.dist-info/top_level.txt,sha256=cEiwDUvsc9ITDXhHwrvdLLLBwQNLerUOUhh1q5DZL6g,16
76
+ corva_worker_python-2.3.7.dist-info/RECORD,,
@@ -65,7 +65,10 @@ class ActivityModule(Module):
65
65
  :return:
66
66
  """
67
67
 
68
- previous_string = self.state.get("active_string_id", "")
68
+ # State.get returns the default for a stored None, and older state may hold "", so treat any falsy stored
69
+ # value as "no active string". Otherwise no string compares unequal to no string and every run looks like a
70
+ # change.
71
+ previous_string = self.state.get("active_string_id") or None
69
72
  running_string = constants.get("{}.{}.running-string".format(self.app_key, self.module_key))
70
73
  reset_config = constants.get("{}.{}.reset-config".format(self.app_key, self.module_key))
71
74