zhmiscellany 6.2.2__py3-none-any.whl → 6.2.3__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.
@@ -281,7 +281,7 @@ def synchronous_class_multiprocess(cls, *args, disable_warning=False, **kwargs):
281
281
  if not RAY_AVAILABLE:
282
282
  print("synchronous_class_multiprocess() only supports Windows! Returning None")
283
283
  return None
284
-
284
+
285
285
  if _ray_state == 'disabled':
286
286
  if not disable_warning:
287
287
  logging.warning("zhmiscellany didn't detect that you were going to be using multiprocessing functions, and ray was not initialized preemptively.\n\
@@ -295,12 +295,12 @@ All this means is that ray is still being initialized and this call to multiproc
295
295
  If you want to avoid this in the future and wait until ray is ready you can add this line just after importing zhmiscellany: (Or you can pass disable_warning=True to this function call)\n\
296
296
  from zhmiscellany._processing_supportfuncs import _ray_init_thread; _ray_init_thread.join()")
297
297
  _ray_init_thread.join()
298
-
298
+
299
299
  def _ready(self):
300
300
  return True
301
301
 
302
302
  cls._ready = _ready
303
-
304
- remote_cls = ray.remote(cls)
303
+
304
+ remote_cls = ray.remote(num_cpus=0)(cls)
305
305
  actor_instance = remote_cls.remote(*args, **kwargs)
306
306
  return RayActorWrapper(actor_instance)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zhmiscellany
3
- Version: 6.2.2
3
+ Version: 6.2.3
4
4
  Summary: A collection of useful/interesting python libraries made by zh.
5
5
  Home-page: https://discord.gg/ThBBAuueVJ
6
6
  Author: zh
@@ -2,7 +2,7 @@ zhmiscellany/__init__.py,sha256=Oh3gAJRWq2aUEgkolmQyiZOQ3iey5OC4NA2XaTHuVv4,1139
2
2
  zhmiscellany/_discord_supportfuncs.py,sha256=RotSpurqFtL5q6v_ST1e2Y_1qJMaHp1CDsF5i-gR4ec,6524
3
3
  zhmiscellany/_fileio_supportfuncs.py,sha256=soibLv9nOR79sHQ2MGQH2O6MhnqdXqI7ybxHSN2Tfac,434
4
4
  zhmiscellany/_misc_supportfuncs.py,sha256=RH1keGtoVjJOFh7MWOTJ2BJijLLeEvsMy9tNumdd6Uk,9944
5
- zhmiscellany/_processing_supportfuncs.py,sha256=Vicz7_v2HSOrUcrnbiq-6a-bP7grS3Wk36wENF9GTnA,11091
5
+ zhmiscellany/_processing_supportfuncs.py,sha256=K6BDWce22tOKQEcfryC9hmvyQihLJHjsKq7MVJIAGmQ,11091
6
6
  zhmiscellany/_py_resources.py,sha256=HqJs5aRLymLZ2J5Io8g6bY58pGWhN9b8vCktC2DW4KQ,229009
7
7
  zhmiscellany/_resource_files_lookup.py,sha256=hsgPW0dngokgqWrAVAv5rUo-eobzJPjvWHt4xrOG5l0,856
8
8
  zhmiscellany/cpp.py,sha256=XEUEoIKCDCdY5VgwNWE5oXrGjtsmGdz_MnaVwQmi2dk,179
@@ -21,7 +21,7 @@ zhmiscellany/pipes.py,sha256=zETvWP4PF-PuSzYwR1UCodY4ftNAgmCChb9DUMofXok,4657
21
21
  zhmiscellany/processing.py,sha256=CUHgbNp8RetXDpc6DuojThi3T2iu_DX09P_WD8iUZ7s,11014
22
22
  zhmiscellany/rust.py,sha256=znN6DYNoa_p-braTuDZKvUnXX8reWLFu_dG4fv2vLR0,442
23
23
  zhmiscellany/string.py,sha256=xyqE6V5YF2nieZDcg5ZrXTIrH2D9oDRbZ5vQGz8rPys,4787
24
- zhmiscellany-6.2.2.dist-info/METADATA,sha256=lTQiC99cquo9TsWwBfhOFBgxjC8ckoazB9ThxwocBj4,43872
25
- zhmiscellany-6.2.2.dist-info/WHEEL,sha256=hPN0AlP2dZM_3ZJZWP4WooepkmU9wzjGgCLCeFjkHLA,92
26
- zhmiscellany-6.2.2.dist-info/top_level.txt,sha256=ioDtsrevCI52rTxZntMPljRIBsZs73tD0hI00HektiE,13
27
- zhmiscellany-6.2.2.dist-info/RECORD,,
24
+ zhmiscellany-6.2.3.dist-info/METADATA,sha256=6oliDhPeUlJVWkiEUz3veak3sMV8V0sYvbTMCizR8a0,43872
25
+ zhmiscellany-6.2.3.dist-info/WHEEL,sha256=hPN0AlP2dZM_3ZJZWP4WooepkmU9wzjGgCLCeFjkHLA,92
26
+ zhmiscellany-6.2.3.dist-info/top_level.txt,sha256=ioDtsrevCI52rTxZntMPljRIBsZs73tD0hI00HektiE,13
27
+ zhmiscellany-6.2.3.dist-info/RECORD,,