isofit.debug.ray_bypass ======================= .. py:module:: isofit.debug.ray_bypass .. autoapi-nested-parse:: This module circumvents the ray package while maintaining ray-like syntax in the code. Only the exact ISOFIT use cases of Ray are implemented here. If new uses of Ray are implemented, those uses/functions will have to be defined here as well. To enable, set the environment variable `ISOFIT_DEBUG` to "1". For example: $ export ISOFIT_DEBUG=1 $ python isofit ... Additionally, you may pass it as a temporary environment variable via: $ ISOFIT_DEBUG=1 python isofit ... Attributes ---------- .. autoapisummary:: isofit.debug.ray_bypass.Logger Classes ------- .. autoapisummary:: isofit.debug.ray_bypass.Remote isofit.debug.ray_bypass.util Functions --------- .. autoapisummary:: isofit.debug.ray_bypass.__getattr__ isofit.debug.ray_bypass.remote isofit.debug.ray_bypass.init isofit.debug.ray_bypass.get isofit.debug.ray_bypass.wait isofit.debug.ray_bypass.put isofit.debug.ray_bypass.shutdown Module Contents --------------- .. py:data:: Logger .. py:class:: Remote(obj, *args, **kwargs) .. py:attribute:: obj .. py:attribute:: args :value: () .. py:attribute:: kwargs .. py:method:: __getattr__(key) Returns a Remote object on the key being requested. This enables ray.remote(Class).func.remote() .. py:method:: remote(*args, **kwargs) .. py:method:: get() .. py:method:: __repr__() .. py:function:: __getattr__(key) Reports any call to Ray that is not emulated .. py:function:: remote(*args, **kwargs) .. py:function:: init(*args, **kwargs) .. py:function:: get(jobs) .. py:function:: wait(jobs, num_returns=1, **kwargs) .. py:function:: put(obj) .. py:function:: shutdown(*args, **kwargs) .. py:class:: util .. py:class:: ActorPool(actors) .. py:attribute:: actors .. py:method:: map_unordered(func, iterable)