taskflow 5.5.0__py3-none-any.whl → 5.6.0__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.
- taskflow/jobs/backends/impl_redis.py +1 -5
- taskflow/tests/unit/jobs/test_redis_job.py +4 -4
- {taskflow-5.5.0.dist-info → taskflow-5.6.0.dist-info}/METADATA +1 -1
- {taskflow-5.5.0.dist-info → taskflow-5.6.0.dist-info}/RECORD +10 -10
- taskflow-5.6.0.dist-info/pbr.json +1 -0
- taskflow-5.5.0.dist-info/pbr.json +0 -1
- {taskflow-5.5.0.dist-info → taskflow-5.6.0.dist-info}/AUTHORS +0 -0
- {taskflow-5.5.0.dist-info → taskflow-5.6.0.dist-info}/LICENSE +0 -0
- {taskflow-5.5.0.dist-info → taskflow-5.6.0.dist-info}/WHEEL +0 -0
- {taskflow-5.5.0.dist-info → taskflow-5.6.0.dist-info}/entry_points.txt +0 -0
- {taskflow-5.5.0.dist-info → taskflow-5.6.0.dist-info}/top_level.txt +0 -0
|
@@ -584,12 +584,8 @@ return cmsgpack.pack(result)
|
|
|
584
584
|
sentinels = [(client_conf.pop('host'), client_conf.pop('port'))]
|
|
585
585
|
for fallback in conf.get('sentinel_fallbacks', []):
|
|
586
586
|
sentinels.append(cls._parse_sentinel(fallback))
|
|
587
|
-
sentinel_kwargs = conf.get('sentinel_kwargs', {})
|
|
588
|
-
for key in ('username', 'password', 'socket_timeout'):
|
|
589
|
-
if key in conf:
|
|
590
|
-
sentinel_kwargs.setdefault(key, conf[key])
|
|
591
587
|
s = sentinel.Sentinel(sentinels,
|
|
592
|
-
sentinel_kwargs=sentinel_kwargs,
|
|
588
|
+
sentinel_kwargs=conf.get('sentinel_kwargs'),
|
|
593
589
|
**client_conf)
|
|
594
590
|
return s.master_for(conf['sentinel'])
|
|
595
591
|
else:
|
|
@@ -128,7 +128,7 @@ class RedisJobboardTest(test.TestCase, base.BoardTestMixin):
|
|
|
128
128
|
'namespace': 'test',
|
|
129
129
|
'sentinel': 'mymaster',
|
|
130
130
|
'sentinel_kwargs': {
|
|
131
|
-
'username': '
|
|
131
|
+
'username': 'default',
|
|
132
132
|
'password': 'senitelsecret'
|
|
133
133
|
}}
|
|
134
134
|
with mock.patch('redis.sentinel.Sentinel') as mock_sentinel:
|
|
@@ -140,7 +140,7 @@ class RedisJobboardTest(test.TestCase, base.BoardTestMixin):
|
|
|
140
140
|
mock_sentinel.assert_called_once_with(
|
|
141
141
|
[('127.0.0.1', 26379)],
|
|
142
142
|
sentinel_kwargs={
|
|
143
|
-
'username': '
|
|
143
|
+
'username': 'default',
|
|
144
144
|
'password': 'senitelsecret'
|
|
145
145
|
},
|
|
146
146
|
**test_conf)
|
|
@@ -179,6 +179,7 @@ class RedisJobboardTest(test.TestCase, base.BoardTestMixin):
|
|
|
179
179
|
'password': 'secret',
|
|
180
180
|
'namespace': 'test',
|
|
181
181
|
'sentinel': 'mymaster',
|
|
182
|
+
'sentinel_kwargs': {'password': 'senitelsecret'},
|
|
182
183
|
'ssl': True,
|
|
183
184
|
'ssl_ca_certs': '/etc/ssl/certs'}
|
|
184
185
|
with mock.patch('redis.sentinel.Sentinel') as mock_sentinel:
|
|
@@ -191,7 +192,6 @@ class RedisJobboardTest(test.TestCase, base.BoardTestMixin):
|
|
|
191
192
|
}
|
|
192
193
|
mock_sentinel.assert_called_once_with(
|
|
193
194
|
[('127.0.0.1', 26379)],
|
|
194
|
-
sentinel_kwargs={
|
|
195
|
-
'username': 'default', 'password': 'secret'},
|
|
195
|
+
sentinel_kwargs={'password': 'senitelsecret'},
|
|
196
196
|
**test_conf)
|
|
197
197
|
mock_sentinel().master_for.assert_called_once_with('mymaster')
|
|
@@ -105,7 +105,7 @@ taskflow/examples/resume_many_flows/run_flow.py,sha256=MOD78Zg7IaSAVRoLPap36njTZ
|
|
|
105
105
|
taskflow/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
106
106
|
taskflow/jobs/base.py,sha256=nowX7pKESnTz-_iPmg1vUQJ0bgO3HLOOtytOKOy12kA,22463
|
|
107
107
|
taskflow/jobs/backends/__init__.py,sha256=ILlqq_U0FPM77nPQgx_OexjHxUvC5Tl4RXkX-IznSfw,2902
|
|
108
|
-
taskflow/jobs/backends/impl_redis.py,sha256=
|
|
108
|
+
taskflow/jobs/backends/impl_redis.py,sha256=ZgxVSlAOncTE089a6c1qjafSIzv8_ekLQKvq1G_n7IE,43925
|
|
109
109
|
taskflow/jobs/backends/impl_zookeeper.py,sha256=1Noi75aTH0NCx-qlsRExsx-QKBtY5j2PJb6RIi_Cm5o,37644
|
|
110
110
|
taskflow/listeners/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
111
111
|
taskflow/listeners/base.py,sha256=vhbh4CcTW9iulQCG-A5G0iJDp7-j1m1XALYRewOanik,7391
|
|
@@ -187,7 +187,7 @@ taskflow/tests/unit/action_engine/test_scoping.py,sha256=wIB9C3LMgfsqO6cdz_ZdhQc
|
|
|
187
187
|
taskflow/tests/unit/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
188
188
|
taskflow/tests/unit/jobs/base.py,sha256=wYv5ziDeVdYn2nhuMSfYTWU39Xxpv8lRKvJbGsB79lM,8447
|
|
189
189
|
taskflow/tests/unit/jobs/test_entrypoint.py,sha256=t2m5zeYhjb2pmPxBgGO_0AMWR0dabWxglDBODzLE0fY,2220
|
|
190
|
-
taskflow/tests/unit/jobs/test_redis_job.py,sha256=
|
|
190
|
+
taskflow/tests/unit/jobs/test_redis_job.py,sha256=Ko8s96Sr8ilRUe6p_yybZUKs5FVTiRl0nMERMJswy2M,7540
|
|
191
191
|
taskflow/tests/unit/jobs/test_zk_job.py,sha256=e5CdkqmiQY_jzNtcHsxKcsS9uY7k-D8CMGkqt1J_bqE,13789
|
|
192
192
|
taskflow/tests/unit/patterns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
193
193
|
taskflow/tests/unit/patterns/test_graph_flow.py,sha256=g5x6RdEgD6Sws3C5zmgz3kFpbJLEoi6i42RSEk5Vlso,12452
|
|
@@ -232,11 +232,11 @@ taskflow/utils/persistence_utils.py,sha256=GWceOcxdfsf-MtrdR74xmC2khClF8im6DpZmR
|
|
|
232
232
|
taskflow/utils/redis_utils.py,sha256=zJBvXmlNZUQ_gwGZAaNLySVtCtou3YayHAkGSCNKDUw,4345
|
|
233
233
|
taskflow/utils/schema_utils.py,sha256=Zf6eL0NK0_TVFD_Sc1yEZYswFz9K0tet1Dmj48F8uMA,1434
|
|
234
234
|
taskflow/utils/threading_utils.py,sha256=eiaNUK127DOBr_zfj3-j4Oi5a2dsD7VunVeTYN6NjPo,5849
|
|
235
|
-
taskflow-5.
|
|
236
|
-
taskflow-5.
|
|
237
|
-
taskflow-5.
|
|
238
|
-
taskflow-5.
|
|
239
|
-
taskflow-5.
|
|
240
|
-
taskflow-5.
|
|
241
|
-
taskflow-5.
|
|
242
|
-
taskflow-5.
|
|
235
|
+
taskflow-5.6.0.dist-info/AUTHORS,sha256=tle5nZW61YeKYzeIWT7GN7FJ6_Y0UkBX_oYE2tDMgKc,4530
|
|
236
|
+
taskflow-5.6.0.dist-info/LICENSE,sha256=0t4vVm0tDgtQn7DqH6Nmn0kGSrHeIcV0U8qzdQojTo8,10143
|
|
237
|
+
taskflow-5.6.0.dist-info/METADATA,sha256=4sOTaS700K8VJhSUNMhUUPNhbK99iEZGRPmGbz2cFkM,5150
|
|
238
|
+
taskflow-5.6.0.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
|
|
239
|
+
taskflow-5.6.0.dist-info/entry_points.txt,sha256=MGjjnng_YpSJs9BMAJBC2hJnljMV0pNllXl_5VoHJV0,1183
|
|
240
|
+
taskflow-5.6.0.dist-info/pbr.json,sha256=sOEouTVPek9jsny8UcBxoKL_PTvTR-_fZPHqbhIepFk,47
|
|
241
|
+
taskflow-5.6.0.dist-info/top_level.txt,sha256=PsdN41vwysesDlqHCSVVXH4mkTMdMiZFW_yHEAXiZE4,9
|
|
242
|
+
taskflow-5.6.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"git_version": "39440b74", "is_release": true}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"git_version": "b389cb5e", "is_release": true}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|