ez-a-sync 0.32.10__cp311-cp311-macosx_11_0_arm64.whl → 0.32.12__cp311-cp311-macosx_11_0_arm64.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.

Potentially problematic release.


This version of ez-a-sync might be problematic. Click here for more details.

Files changed (50) hide show
  1. a_sync/_smart.c +1431 -1560
  2. a_sync/_smart.cpython-311-darwin.so +0 -0
  3. a_sync/_smart.pyx +28 -16
  4. a_sync/a_sync/_descriptor.cpython-311-darwin.so +0 -0
  5. a_sync/a_sync/_flags.cpython-311-darwin.so +0 -0
  6. a_sync/a_sync/_helpers.cpython-311-darwin.so +0 -0
  7. a_sync/a_sync/_kwargs.cpython-311-darwin.so +0 -0
  8. a_sync/a_sync/abstract.cpython-311-darwin.so +0 -0
  9. a_sync/a_sync/base.cpython-311-darwin.so +0 -0
  10. a_sync/a_sync/flags.cpython-311-darwin.so +0 -0
  11. a_sync/a_sync/function.cpython-311-darwin.so +0 -0
  12. a_sync/a_sync/method.cpython-311-darwin.so +0 -0
  13. a_sync/a_sync/modifiers/manager.c +614 -937
  14. a_sync/a_sync/modifiers/manager.cpython-311-darwin.so +0 -0
  15. a_sync/a_sync/modifiers/manager.pyx +4 -1
  16. a_sync/a_sync/property.c +250 -244
  17. a_sync/a_sync/property.cpython-311-darwin.so +0 -0
  18. a_sync/a_sync/property.pyx +4 -4
  19. a_sync/async_property/cached.cpython-311-darwin.so +0 -0
  20. a_sync/async_property/proxy.cpython-311-darwin.so +0 -0
  21. a_sync/asyncio/as_completed.cpython-311-darwin.so +0 -0
  22. a_sync/asyncio/create_task.c +735 -579
  23. a_sync/asyncio/create_task.cpython-311-darwin.so +0 -0
  24. a_sync/asyncio/create_task.pyx +7 -4
  25. a_sync/asyncio/gather.cpython-311-darwin.so +0 -0
  26. a_sync/asyncio/igather.cpython-311-darwin.so +0 -0
  27. a_sync/asyncio/sleep.cpython-311-darwin.so +0 -0
  28. a_sync/debugging.cpython-311-darwin.so +0 -0
  29. a_sync/exceptions.cpython-311-darwin.so +0 -0
  30. a_sync/functools.cpython-311-darwin.so +0 -0
  31. a_sync/iter.cpython-311-darwin.so +0 -0
  32. a_sync/primitives/_debug.cpython-311-darwin.so +0 -0
  33. a_sync/primitives/_loggable.cpython-311-darwin.so +0 -0
  34. a_sync/primitives/locks/counter.cpython-311-darwin.so +0 -0
  35. a_sync/primitives/locks/event.c +426 -428
  36. a_sync/primitives/locks/event.cpython-311-darwin.so +0 -0
  37. a_sync/primitives/locks/event.pyx +3 -1
  38. a_sync/primitives/locks/prio_semaphore.c +2623 -1503
  39. a_sync/primitives/locks/prio_semaphore.cpython-311-darwin.so +0 -0
  40. a_sync/primitives/locks/prio_semaphore.pxd +9 -8
  41. a_sync/primitives/locks/prio_semaphore.pyx +65 -22
  42. a_sync/primitives/locks/semaphore.c +1048 -1051
  43. a_sync/primitives/locks/semaphore.cpython-311-darwin.so +0 -0
  44. a_sync/primitives/locks/semaphore.pyx +4 -2
  45. a_sync/utils/repr.cpython-311-darwin.so +0 -0
  46. {ez_a_sync-0.32.10.dist-info → ez_a_sync-0.32.12.dist-info}/METADATA +1 -1
  47. {ez_a_sync-0.32.10.dist-info → ez_a_sync-0.32.12.dist-info}/RECORD +50 -50
  48. {ez_a_sync-0.32.10.dist-info → ez_a_sync-0.32.12.dist-info}/WHEEL +0 -0
  49. {ez_a_sync-0.32.10.dist-info → ez_a_sync-0.32.12.dist-info}/licenses/LICENSE.txt +0 -0
  50. {ez_a_sync-0.32.10.dist-info → ez_a_sync-0.32.12.dist-info}/top_level.txt +0 -0
@@ -1485,7 +1485,6 @@ static const char *__pyx_filename;
1485
1485
 
1486
1486
  static const char *__pyx_f[] = {
1487
1487
  "a_sync/a_sync/modifiers/manager.pyx",
1488
- "<stringsource>",
1489
1488
  "a_sync/a_sync/modifiers/manager.pxd",
1490
1489
  "a_sync/functools.pxd",
1491
1490
  };
@@ -1555,7 +1554,7 @@ struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct__genexpr
1555
1554
  };
1556
1555
 
1557
1556
 
1558
- /* "a_sync/a_sync/modifiers/manager.pyx":187
1557
+ /* "a_sync/a_sync/modifiers/manager.pyx":190
1559
1558
  * return coro_fn
1560
1559
  *
1561
1560
  * def apply_sync_modifiers(self, function: SyncFn[P, T]) -> SyncFn[P, T]: # <<<<<<<<<<<<<<
@@ -2207,6 +2206,9 @@ static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key);
2207
2206
  #define __Pyx_PyObject_Dict_GetItem(obj, name) PyObject_GetItem(obj, name)
2208
2207
  #endif
2209
2208
 
2209
+ /* KeywordStringCheck.proto */
2210
+ static int __Pyx_CheckKeywordStrings(PyObject *kw, const char* function_name, int kw_allowed);
2211
+
2210
2212
  /* PyDictVersioning.proto */
2211
2213
  #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS
2212
2214
  #define __PYX_DICT_VERSION_INIT ((PY_UINT64_T) -1)
@@ -2233,9 +2235,6 @@ static CYTHON_INLINE int __Pyx_object_dict_version_matches(PyObject* obj, PY_UIN
2233
2235
  #define __PYX_PY_DICT_LOOKUP_IF_MODIFIED(VAR, DICT, LOOKUP) (VAR) = (LOOKUP);
2234
2236
  #endif
2235
2237
 
2236
- /* KeywordStringCheck.proto */
2237
- static int __Pyx_CheckKeywordStrings(PyObject *kw, const char* function_name, int kw_allowed);
2238
-
2239
2238
  /* RaiseClosureNameError.proto */
2240
2239
  static CYTHON_INLINE void __Pyx_RaiseClosureNameError(const char *varname);
2241
2240
 
@@ -2444,11 +2443,6 @@ static void* __Pyx_GetVtable(PyTypeObject *type);
2444
2443
  static int __Pyx_MergeVtables(PyTypeObject *type);
2445
2444
  #endif
2446
2445
 
2447
- /* SetupReduce.proto */
2448
- #if !CYTHON_COMPILING_IN_LIMITED_API
2449
- static int __Pyx_setup_reduce(PyObject* type_obj);
2450
- #endif
2451
-
2452
2446
  /* PyObject_GenericGetAttrNoDict.proto */
2453
2447
  #if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
2454
2448
  static CYTHON_INLINE PyObject* __Pyx_PyObject_GenericGetAttrNoDict(PyObject* obj, PyObject* attr_name);
@@ -2735,7 +2729,6 @@ int __pyx_module_is_main_a_sync__a_sync__modifiers__manager = 0;
2735
2729
  static PyObject *__pyx_builtin_object;
2736
2730
  static PyObject *__pyx_builtin_ValueError;
2737
2731
  static PyObject *__pyx_builtin_any;
2738
- static PyObject *__pyx_builtin_TypeError;
2739
2732
  /* #### Code section: string_decls ### */
2740
2733
  static const char __pyx_k_[] = "_";
2741
2734
  static const char __pyx_k_P[] = "P";
@@ -2743,9 +2736,9 @@ static const char __pyx_k_T[] = "T";
2743
2736
  static const char __pyx_k__2[] = "'";
2744
2737
  static const char __pyx_k_gc[] = "gc";
2745
2738
  static const char __pyx_k_Any[] = "Any";
2746
- static const char __pyx_k__12[] = "*";
2747
- static const char __pyx_k__13[] = ".";
2748
- static const char __pyx_k__18[] = "?";
2739
+ static const char __pyx_k__11[] = "*";
2740
+ static const char __pyx_k__12[] = ".";
2741
+ static const char __pyx_k__16[] = "?";
2749
2742
  static const char __pyx_k_any[] = "any";
2750
2743
  static const char __pyx_k_None[] = "None";
2751
2744
  static const char __pyx_k_args[] = "args";
@@ -2781,13 +2774,8 @@ static const char __pyx_k_Iterator[] = "Iterator";
2781
2774
  static const char __pyx_k_P_kwargs[] = "P.kwargs";
2782
2775
  static const char __pyx_k_endswith[] = "endswith";
2783
2776
  static const char __pyx_k_function[] = "function";
2784
- static const char __pyx_k_getstate[] = "__getstate__";
2785
- static const char __pyx_k_setstate[] = "__setstate__";
2786
- static const char __pyx_k_TypeError[] = "TypeError";
2787
2777
  static const char __pyx_k_isenabled[] = "isenabled";
2788
2778
  static const char __pyx_k_modifiers[] = "modifiers";
2789
- static const char __pyx_k_pyx_state[] = "__pyx_state";
2790
- static const char __pyx_k_reduce_ex[] = "__reduce_ex__";
2791
2779
  static const char __pyx_k_semaphore[] = "semaphore";
2792
2780
  static const char __pyx_k_use_cache[] = "use_cache";
2793
2781
  static const char __pyx_k_CoroFn_P_T[] = "CoroFn[P, T]";
@@ -2805,9 +2793,7 @@ static const char __pyx_k_KeysView_str[] = "KeysView[str]";
2805
2793
  static const char __pyx_k_getattribute[] = "__getattribute__";
2806
2794
  static const char __pyx_k_initializing[] = "_initializing";
2807
2795
  static const char __pyx_k_is_coroutine[] = "_is_coroutine";
2808
- static const char __pyx_k_stringsource[] = "<stringsource>";
2809
2796
  static const char __pyx_k_ram_cache_ttl[] = "ram_cache_ttl";
2810
- static const char __pyx_k_reduce_cython[] = "__reduce_cython__";
2811
2797
  static const char __pyx_k_use_semaphore[] = "use_semaphore";
2812
2798
  static const char __pyx_k_ModifierKwargs[] = "ModifierKwargs";
2813
2799
  static const char __pyx_k_ValuesView_Any[] = "ValuesView[Any]";
@@ -2816,7 +2802,6 @@ static const char __pyx_k_null_modifiers[] = "null_modifiers";
2816
2802
  static const char __pyx_k_ModifierManager[] = "ModifierManager";
2817
2803
  static const char __pyx_k_apply_semaphore[] = "apply_semaphore";
2818
2804
  static const char __pyx_k_runs_per_minute[] = "runs_per_minute";
2819
- static const char __pyx_k_setstate_cython[] = "__setstate_cython__";
2820
2805
  static const char __pyx_k_valid_modifiers[] = "valid_modifiers";
2821
2806
  static const char __pyx_k_apply_rate_limit[] = "apply_rate_limit";
2822
2807
  static const char __pyx_k_ItemsView_str_Any[] = "ItemsView[str, Any]";
@@ -2832,59 +2817,56 @@ static const char __pyx_k_ModifierManager_items[] = "ModifierManager.items";
2832
2817
  static const char __pyx_k_apply_async_modifiers[] = "apply_async_modifiers";
2833
2818
  static const char __pyx_k_ModifierManager_values[] = "ModifierManager.values";
2834
2819
  static const char __pyx_k_a_sync_a_sync_modifiers[] = "a_sync.a_sync.modifiers";
2820
+ static const char __pyx_k_ModifierManager___reduce[] = "ModifierManager.__reduce__";
2835
2821
  static const char __pyx_k_user_set_default_modifiers[] = "user_set_default_modifiers";
2836
2822
  static const char __pyx_k_is_not_a_supported_modifier[] = "' is not a supported modifier.";
2837
- static const char __pyx_k_ModifierManager_keys_line_213[] = "ModifierManager.keys (line 213)";
2838
- static const char __pyx_k_ModifierManager_use_semaphore[] = "ModifierManager.use_semaphore.__get__ (line 128)";
2823
+ static const char __pyx_k_ModifierManager_keys_line_216[] = "ModifierManager.keys (line 216)";
2824
+ static const char __pyx_k_ModifierManager_use_semaphore[] = "ModifierManager.use_semaphore.__get__ (line 131)";
2839
2825
  static const char __pyx_k_ModifierManager___getattribute[] = "ModifierManager.__getattribute__ (line 85)";
2840
- static const char __pyx_k_ModifierManager_items_line_233[] = "ModifierManager.items (line 233)";
2826
+ static const char __pyx_k_ModifierManager_items_line_236[] = "ModifierManager.items (line 236)";
2841
2827
  static const char __pyx_k_Determines_if_caching_should_be[] = "Determines if caching should be used.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> manager.use_cache\n True\n ";
2842
2828
  static const char __pyx_k_Gets_the_value_of_a_modifier_by[] = "Gets the value of a modifier by key.\n\n Args:\n modifier_key: The key of the modifier to retrieve.\n\n Returns:\n The value of the modifier.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> manager['cache_type']\n 'memory'\n ";
2843
- static const char __pyx_k_ModifierManager___reduce_cython[] = "ModifierManager.__reduce_cython__";
2844
- static const char __pyx_k_ModifierManager_use_cache___get[] = "ModifierManager.use_cache.__get__ (line 139)";
2845
- static const char __pyx_k_ModifierManager_values_line_223[] = "ModifierManager.values (line 223)";
2829
+ static const char __pyx_k_ModifierManager_use_cache___get[] = "ModifierManager.use_cache.__get__ (line 142)";
2830
+ static const char __pyx_k_ModifierManager_values_line_226[] = "ModifierManager.values (line 226)";
2846
2831
  static const char __pyx_k_a_sync_a_sync_modifiers_manager[] = "a_sync.a_sync.modifiers.manager";
2847
2832
  static const char __pyx_k_Applies_asynchronous_modifiers_t[] = "Applies asynchronous modifiers to a coroutine function.\n\n Args:\n coro_fn: The coroutine function to modify.\n\n Returns:\n The modified coroutine function.\n\n Examples:\n >>> async def my_coro():\n ... pass\n >>> manager = ModifierManager(runs_per_minute=60)\n >>> modified_coro = manager.apply_async_modifiers(my_coro)\n ";
2848
2833
  static const char __pyx_k_Determines_if_a_rate_limiter_sho[] = "Determines if a rate limiter should be used.\n\n Examples:\n >>> manager = ModifierManager(runs_per_minute=60)\n >>> manager.use_limiter\n True\n ";
2849
2834
  static const char __pyx_k_Determines_if_a_semaphore_should[] = "Determines if a semaphore should be used.\n\n Examples:\n >>> manager = ModifierManager(semaphore=SemaphoreSpec())\n >>> manager.use_semaphore\n True\n ";
2850
2835
  static const char __pyx_k_Gets_the_value_of_a_modifier_Arg[] = "Gets the value of a modifier.\n\n Args:\n modifier_key: The key of the modifier to retrieve.\n\n Returns:\n The value of the modifier, or the default value if not set.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> manager.cache_type\n 'memory'\n ";
2851
- static const char __pyx_k_ModifierManager___getitem___line[] = "ModifierManager.__getitem__ (line 276)";
2852
- static const char __pyx_k_ModifierManager___iter___line_25[] = "ModifierManager.__iter__ (line 256)";
2853
- static const char __pyx_k_ModifierManager___setstate_cytho[] = "ModifierManager.__setstate_cython__";
2836
+ static const char __pyx_k_ModifierManager___getitem___line[] = "ModifierManager.__getitem__ (line 279)";
2837
+ static const char __pyx_k_ModifierManager___iter___line_25[] = "ModifierManager.__iter__ (line 259)";
2854
2838
  static const char __pyx_k_ModifierManager_apply_async_modi[] = "ModifierManager.apply_async_modifiers";
2855
2839
  static const char __pyx_k_ModifierManager_apply_sync_modif[] = "ModifierManager.apply_sync_modifiers";
2856
- static const char __pyx_k_ModifierManager_use_limiter___ge[] = "ModifierManager.use_limiter.__get__ (line 117)";
2840
+ static const char __pyx_k_ModifierManager_use_limiter___ge[] = "ModifierManager.use_limiter.__get__ (line 120)";
2857
2841
  static const char __pyx_k_Returns_an_iterator_over_the_mod[] = "Returns an iterator over the modifier keys.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> list(iter(manager))\n ['cache_type']\n ";
2858
2842
  static const char __pyx_k_Returns_the_items_of_the_modifie[] = "Returns the items of the modifiers.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> list(manager.items())\n [('cache_type', 'memory')]\n ";
2859
2843
  static const char __pyx_k_Returns_the_keys_of_the_modifier[] = "Returns the keys of the modifiers.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> list(manager.keys())\n ['cache_type']\n ";
2860
2844
  static const char __pyx_k_Returns_the_values_of_the_modifi[] = "Returns the values of the modifiers.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> list(manager.values())\n ['memory']\n ";
2861
2845
  static const char __pyx_k_Wraps_a_synchronous_function_Not[] = "Wraps a synchronous function.\n\n Note:\n There are no sync modifiers at this time, but they will be added here for convenience.\n\n Args:\n function: The synchronous function to wrap.\n\n Returns:\n The wrapped synchronous function.\n\n Examples:\n >>> def my_function():\n ... pass\n >>> manager = ModifierManager()\n >>> modified_function = manager.apply_sync_modifiers(my_function)\n ";
2862
2846
  static const char __pyx_k_apply_sync_modifiers_locals_sync[] = "apply_sync_modifiers.<locals>.sync_modifier_wrap";
2863
- static const char __pyx_k_no_default___reduce___due_to_non[] = "no default __reduce__ due to non-trivial __cinit__";
2864
2847
  static const char __pyx_k_a_sync_a_sync_modifiers_manager_2[] = "a_sync/a_sync/modifiers/manager.pyx";
2865
- static const char __pyx_k_ModifierManager_apply_async_modi_2[] = "ModifierManager.apply_async_modifiers (line 157)";
2866
- static const char __pyx_k_ModifierManager_apply_sync_modif_2[] = "ModifierManager.apply_sync_modifiers (line 187)";
2848
+ static const char __pyx_k_ModifierManager_apply_async_modi_2[] = "ModifierManager.apply_async_modifiers (line 160)";
2849
+ static const char __pyx_k_ModifierManager_apply_sync_modif_2[] = "ModifierManager.apply_sync_modifiers (line 190)";
2867
2850
  /* #### Code section: decls ### */
2868
2851
  static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_genexpr(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_genexpr_arg_0); /* proto */
2869
2852
  static int __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager___cinit__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_modifiers, int __pyx_v__skip_check); /* proto */
2870
2853
  static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_2__repr__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2871
2854
  static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_4__getattribute__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_modifier_key); /* proto */
2855
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_6__reduce__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2872
2856
  static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_11use_limiter___get__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2873
2857
  static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_13use_semaphore___get__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2874
2858
  static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_9use_cache___get__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2875
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_6apply_async_modifiers(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_coro_fn); /* proto */
2859
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_8apply_async_modifiers(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_coro_fn); /* proto */
2876
2860
  static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20apply_sync_modifiers_sync_modifier_wrap(PyObject *__pyx_self, PyObject *__pyx_v_args, PyObject *__pyx_v_kwargs); /* proto */
2877
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_8apply_sync_modifiers(CYTHON_UNUSED struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_function); /* proto */
2878
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_10keys(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2879
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_12values(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2880
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_14items(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2881
- static int __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16__contains__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_key); /* proto */
2882
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__iter__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2883
- static Py_ssize_t __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__len__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2884
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__getitem__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_modifier_key); /* proto */
2861
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_10apply_sync_modifiers(CYTHON_UNUSED struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_function); /* proto */
2862
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_12keys(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2863
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_14values(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2864
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16items(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2865
+ static int __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__contains__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_key); /* proto */
2866
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__iter__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2867
+ static Py_ssize_t __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__len__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2868
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__getitem__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_modifier_key); /* proto */
2885
2869
  static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_10_modifiers___get__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2886
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self); /* proto */
2887
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_26__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */
2888
2870
  static PyObject *__pyx_tp_new_6a_sync_6a_sync_9modifiers_7manager_ModifierManager(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
2889
2871
  static PyObject *__pyx_tp_new_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct__genexpr(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
2890
2872
  static PyObject *__pyx_tp_new_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/
@@ -2949,21 +2931,20 @@ typedef struct {
2949
2931
  PyObject *__pyx_kp_u_ModifierManager___getattribute;
2950
2932
  PyObject *__pyx_kp_u_ModifierManager___getitem___line;
2951
2933
  PyObject *__pyx_kp_u_ModifierManager___iter___line_25;
2952
- PyObject *__pyx_n_s_ModifierManager___reduce_cython;
2953
- PyObject *__pyx_n_s_ModifierManager___setstate_cytho;
2934
+ PyObject *__pyx_n_s_ModifierManager___reduce;
2954
2935
  PyObject *__pyx_n_s_ModifierManager_apply_async_modi;
2955
2936
  PyObject *__pyx_kp_u_ModifierManager_apply_async_modi_2;
2956
2937
  PyObject *__pyx_n_s_ModifierManager_apply_sync_modif;
2957
2938
  PyObject *__pyx_kp_u_ModifierManager_apply_sync_modif_2;
2958
2939
  PyObject *__pyx_n_s_ModifierManager_items;
2959
- PyObject *__pyx_kp_u_ModifierManager_items_line_233;
2940
+ PyObject *__pyx_kp_u_ModifierManager_items_line_236;
2960
2941
  PyObject *__pyx_n_s_ModifierManager_keys;
2961
- PyObject *__pyx_kp_u_ModifierManager_keys_line_213;
2942
+ PyObject *__pyx_kp_u_ModifierManager_keys_line_216;
2962
2943
  PyObject *__pyx_kp_u_ModifierManager_use_cache___get;
2963
2944
  PyObject *__pyx_kp_u_ModifierManager_use_limiter___ge;
2964
2945
  PyObject *__pyx_kp_u_ModifierManager_use_semaphore;
2965
2946
  PyObject *__pyx_n_s_ModifierManager_values;
2966
- PyObject *__pyx_kp_u_ModifierManager_values_line_223;
2947
+ PyObject *__pyx_kp_u_ModifierManager_values_line_226;
2967
2948
  PyObject *__pyx_kp_u_None;
2968
2949
  PyObject *__pyx_n_s_P;
2969
2950
  PyObject *__pyx_kp_s_P_args;
@@ -2975,13 +2956,12 @@ typedef struct {
2975
2956
  PyObject *__pyx_n_s_SyncFn;
2976
2957
  PyObject *__pyx_kp_s_SyncFn_P_T;
2977
2958
  PyObject *__pyx_n_s_T;
2978
- PyObject *__pyx_n_s_TypeError;
2979
2959
  PyObject *__pyx_n_s_ValueError;
2980
2960
  PyObject *__pyx_kp_s_ValuesView_Any;
2981
2961
  PyObject *__pyx_kp_u_Wraps_a_synchronous_function_Not;
2982
- PyObject *__pyx_n_s__12;
2983
- PyObject *__pyx_kp_u__13;
2984
- PyObject *__pyx_n_s__18;
2962
+ PyObject *__pyx_n_s__11;
2963
+ PyObject *__pyx_kp_u__12;
2964
+ PyObject *__pyx_n_s__16;
2985
2965
  PyObject *__pyx_kp_u__2;
2986
2966
  PyObject *__pyx_n_s_a_sync__typing;
2987
2967
  PyObject *__pyx_n_s_a_sync_a_sync_config;
@@ -3012,7 +2992,6 @@ typedef struct {
3012
2992
  PyObject *__pyx_kp_u_gc;
3013
2993
  PyObject *__pyx_n_s_genexpr;
3014
2994
  PyObject *__pyx_n_s_getattribute;
3015
- PyObject *__pyx_n_s_getstate;
3016
2995
  PyObject *__pyx_n_s_import;
3017
2996
  PyObject *__pyx_n_s_initializing;
3018
2997
  PyObject *__pyx_n_s_is_coroutine;
@@ -3026,28 +3005,21 @@ typedef struct {
3026
3005
  PyObject *__pyx_n_u_memory;
3027
3006
  PyObject *__pyx_n_s_modifiers;
3028
3007
  PyObject *__pyx_n_s_name;
3029
- PyObject *__pyx_kp_s_no_default___reduce___due_to_non;
3030
3008
  PyObject *__pyx_n_s_null_modifiers;
3031
3009
  PyObject *__pyx_n_s_object;
3032
- PyObject *__pyx_n_s_pyx_state;
3033
3010
  PyObject *__pyx_n_s_pyx_vtable;
3034
3011
  PyObject *__pyx_n_s_ram_cache_maxsize;
3035
3012
  PyObject *__pyx_n_s_ram_cache_ttl;
3036
3013
  PyObject *__pyx_n_s_reduce;
3037
- PyObject *__pyx_n_s_reduce_cython;
3038
- PyObject *__pyx_n_s_reduce_ex;
3039
3014
  PyObject *__pyx_n_s_return;
3040
3015
  PyObject *__pyx_n_s_runs_per_minute;
3041
3016
  PyObject *__pyx_n_s_self;
3042
3017
  PyObject *__pyx_n_s_semaphore;
3043
3018
  PyObject *__pyx_n_s_semaphores;
3044
3019
  PyObject *__pyx_n_s_send;
3045
- PyObject *__pyx_n_s_setstate;
3046
- PyObject *__pyx_n_s_setstate_cython;
3047
3020
  PyObject *__pyx_n_s_skip_check;
3048
3021
  PyObject *__pyx_n_s_spec;
3049
3022
  PyObject *__pyx_n_s_startswith;
3050
- PyObject *__pyx_kp_s_stringsource;
3051
3023
  PyObject *__pyx_n_s_sync_modifier_wrap;
3052
3024
  PyObject *__pyx_n_s_test;
3053
3025
  PyObject *__pyx_n_s_throw;
@@ -3058,19 +3030,17 @@ typedef struct {
3058
3030
  PyObject *__pyx_n_s_user_set_default_modifiers;
3059
3031
  PyObject *__pyx_n_s_valid_modifiers;
3060
3032
  PyObject *__pyx_n_s_values;
3061
- PyObject *__pyx_tuple__5;
3033
+ PyObject *__pyx_tuple__6;
3034
+ PyObject *__pyx_tuple__13;
3062
3035
  PyObject *__pyx_tuple__14;
3063
3036
  PyObject *__pyx_tuple__15;
3064
- PyObject *__pyx_tuple__16;
3065
- PyObject *__pyx_tuple__17;
3066
3037
  PyObject *__pyx_codeobj__3;
3067
3038
  PyObject *__pyx_codeobj__4;
3068
- PyObject *__pyx_codeobj__6;
3039
+ PyObject *__pyx_codeobj__5;
3069
3040
  PyObject *__pyx_codeobj__7;
3070
3041
  PyObject *__pyx_codeobj__8;
3071
3042
  PyObject *__pyx_codeobj__9;
3072
3043
  PyObject *__pyx_codeobj__10;
3073
- PyObject *__pyx_codeobj__11;
3074
3044
  } __pyx_mstate;
3075
3045
 
3076
3046
  #if CYTHON_USE_MODULE_STATE
@@ -3138,21 +3108,20 @@ static int __pyx_m_clear(PyObject *m) {
3138
3108
  Py_CLEAR(clear_module_state->__pyx_kp_u_ModifierManager___getattribute);
3139
3109
  Py_CLEAR(clear_module_state->__pyx_kp_u_ModifierManager___getitem___line);
3140
3110
  Py_CLEAR(clear_module_state->__pyx_kp_u_ModifierManager___iter___line_25);
3141
- Py_CLEAR(clear_module_state->__pyx_n_s_ModifierManager___reduce_cython);
3142
- Py_CLEAR(clear_module_state->__pyx_n_s_ModifierManager___setstate_cytho);
3111
+ Py_CLEAR(clear_module_state->__pyx_n_s_ModifierManager___reduce);
3143
3112
  Py_CLEAR(clear_module_state->__pyx_n_s_ModifierManager_apply_async_modi);
3144
3113
  Py_CLEAR(clear_module_state->__pyx_kp_u_ModifierManager_apply_async_modi_2);
3145
3114
  Py_CLEAR(clear_module_state->__pyx_n_s_ModifierManager_apply_sync_modif);
3146
3115
  Py_CLEAR(clear_module_state->__pyx_kp_u_ModifierManager_apply_sync_modif_2);
3147
3116
  Py_CLEAR(clear_module_state->__pyx_n_s_ModifierManager_items);
3148
- Py_CLEAR(clear_module_state->__pyx_kp_u_ModifierManager_items_line_233);
3117
+ Py_CLEAR(clear_module_state->__pyx_kp_u_ModifierManager_items_line_236);
3149
3118
  Py_CLEAR(clear_module_state->__pyx_n_s_ModifierManager_keys);
3150
- Py_CLEAR(clear_module_state->__pyx_kp_u_ModifierManager_keys_line_213);
3119
+ Py_CLEAR(clear_module_state->__pyx_kp_u_ModifierManager_keys_line_216);
3151
3120
  Py_CLEAR(clear_module_state->__pyx_kp_u_ModifierManager_use_cache___get);
3152
3121
  Py_CLEAR(clear_module_state->__pyx_kp_u_ModifierManager_use_limiter___ge);
3153
3122
  Py_CLEAR(clear_module_state->__pyx_kp_u_ModifierManager_use_semaphore);
3154
3123
  Py_CLEAR(clear_module_state->__pyx_n_s_ModifierManager_values);
3155
- Py_CLEAR(clear_module_state->__pyx_kp_u_ModifierManager_values_line_223);
3124
+ Py_CLEAR(clear_module_state->__pyx_kp_u_ModifierManager_values_line_226);
3156
3125
  Py_CLEAR(clear_module_state->__pyx_kp_u_None);
3157
3126
  Py_CLEAR(clear_module_state->__pyx_n_s_P);
3158
3127
  Py_CLEAR(clear_module_state->__pyx_kp_s_P_args);
@@ -3164,13 +3133,12 @@ static int __pyx_m_clear(PyObject *m) {
3164
3133
  Py_CLEAR(clear_module_state->__pyx_n_s_SyncFn);
3165
3134
  Py_CLEAR(clear_module_state->__pyx_kp_s_SyncFn_P_T);
3166
3135
  Py_CLEAR(clear_module_state->__pyx_n_s_T);
3167
- Py_CLEAR(clear_module_state->__pyx_n_s_TypeError);
3168
3136
  Py_CLEAR(clear_module_state->__pyx_n_s_ValueError);
3169
3137
  Py_CLEAR(clear_module_state->__pyx_kp_s_ValuesView_Any);
3170
3138
  Py_CLEAR(clear_module_state->__pyx_kp_u_Wraps_a_synchronous_function_Not);
3171
- Py_CLEAR(clear_module_state->__pyx_n_s__12);
3172
- Py_CLEAR(clear_module_state->__pyx_kp_u__13);
3173
- Py_CLEAR(clear_module_state->__pyx_n_s__18);
3139
+ Py_CLEAR(clear_module_state->__pyx_n_s__11);
3140
+ Py_CLEAR(clear_module_state->__pyx_kp_u__12);
3141
+ Py_CLEAR(clear_module_state->__pyx_n_s__16);
3174
3142
  Py_CLEAR(clear_module_state->__pyx_kp_u__2);
3175
3143
  Py_CLEAR(clear_module_state->__pyx_n_s_a_sync__typing);
3176
3144
  Py_CLEAR(clear_module_state->__pyx_n_s_a_sync_a_sync_config);
@@ -3201,7 +3169,6 @@ static int __pyx_m_clear(PyObject *m) {
3201
3169
  Py_CLEAR(clear_module_state->__pyx_kp_u_gc);
3202
3170
  Py_CLEAR(clear_module_state->__pyx_n_s_genexpr);
3203
3171
  Py_CLEAR(clear_module_state->__pyx_n_s_getattribute);
3204
- Py_CLEAR(clear_module_state->__pyx_n_s_getstate);
3205
3172
  Py_CLEAR(clear_module_state->__pyx_n_s_import);
3206
3173
  Py_CLEAR(clear_module_state->__pyx_n_s_initializing);
3207
3174
  Py_CLEAR(clear_module_state->__pyx_n_s_is_coroutine);
@@ -3215,28 +3182,21 @@ static int __pyx_m_clear(PyObject *m) {
3215
3182
  Py_CLEAR(clear_module_state->__pyx_n_u_memory);
3216
3183
  Py_CLEAR(clear_module_state->__pyx_n_s_modifiers);
3217
3184
  Py_CLEAR(clear_module_state->__pyx_n_s_name);
3218
- Py_CLEAR(clear_module_state->__pyx_kp_s_no_default___reduce___due_to_non);
3219
3185
  Py_CLEAR(clear_module_state->__pyx_n_s_null_modifiers);
3220
3186
  Py_CLEAR(clear_module_state->__pyx_n_s_object);
3221
- Py_CLEAR(clear_module_state->__pyx_n_s_pyx_state);
3222
3187
  Py_CLEAR(clear_module_state->__pyx_n_s_pyx_vtable);
3223
3188
  Py_CLEAR(clear_module_state->__pyx_n_s_ram_cache_maxsize);
3224
3189
  Py_CLEAR(clear_module_state->__pyx_n_s_ram_cache_ttl);
3225
3190
  Py_CLEAR(clear_module_state->__pyx_n_s_reduce);
3226
- Py_CLEAR(clear_module_state->__pyx_n_s_reduce_cython);
3227
- Py_CLEAR(clear_module_state->__pyx_n_s_reduce_ex);
3228
3191
  Py_CLEAR(clear_module_state->__pyx_n_s_return);
3229
3192
  Py_CLEAR(clear_module_state->__pyx_n_s_runs_per_minute);
3230
3193
  Py_CLEAR(clear_module_state->__pyx_n_s_self);
3231
3194
  Py_CLEAR(clear_module_state->__pyx_n_s_semaphore);
3232
3195
  Py_CLEAR(clear_module_state->__pyx_n_s_semaphores);
3233
3196
  Py_CLEAR(clear_module_state->__pyx_n_s_send);
3234
- Py_CLEAR(clear_module_state->__pyx_n_s_setstate);
3235
- Py_CLEAR(clear_module_state->__pyx_n_s_setstate_cython);
3236
3197
  Py_CLEAR(clear_module_state->__pyx_n_s_skip_check);
3237
3198
  Py_CLEAR(clear_module_state->__pyx_n_s_spec);
3238
3199
  Py_CLEAR(clear_module_state->__pyx_n_s_startswith);
3239
- Py_CLEAR(clear_module_state->__pyx_kp_s_stringsource);
3240
3200
  Py_CLEAR(clear_module_state->__pyx_n_s_sync_modifier_wrap);
3241
3201
  Py_CLEAR(clear_module_state->__pyx_n_s_test);
3242
3202
  Py_CLEAR(clear_module_state->__pyx_n_s_throw);
@@ -3247,19 +3207,17 @@ static int __pyx_m_clear(PyObject *m) {
3247
3207
  Py_CLEAR(clear_module_state->__pyx_n_s_user_set_default_modifiers);
3248
3208
  Py_CLEAR(clear_module_state->__pyx_n_s_valid_modifiers);
3249
3209
  Py_CLEAR(clear_module_state->__pyx_n_s_values);
3250
- Py_CLEAR(clear_module_state->__pyx_tuple__5);
3210
+ Py_CLEAR(clear_module_state->__pyx_tuple__6);
3211
+ Py_CLEAR(clear_module_state->__pyx_tuple__13);
3251
3212
  Py_CLEAR(clear_module_state->__pyx_tuple__14);
3252
3213
  Py_CLEAR(clear_module_state->__pyx_tuple__15);
3253
- Py_CLEAR(clear_module_state->__pyx_tuple__16);
3254
- Py_CLEAR(clear_module_state->__pyx_tuple__17);
3255
3214
  Py_CLEAR(clear_module_state->__pyx_codeobj__3);
3256
3215
  Py_CLEAR(clear_module_state->__pyx_codeobj__4);
3257
- Py_CLEAR(clear_module_state->__pyx_codeobj__6);
3216
+ Py_CLEAR(clear_module_state->__pyx_codeobj__5);
3258
3217
  Py_CLEAR(clear_module_state->__pyx_codeobj__7);
3259
3218
  Py_CLEAR(clear_module_state->__pyx_codeobj__8);
3260
3219
  Py_CLEAR(clear_module_state->__pyx_codeobj__9);
3261
3220
  Py_CLEAR(clear_module_state->__pyx_codeobj__10);
3262
- Py_CLEAR(clear_module_state->__pyx_codeobj__11);
3263
3221
  return 0;
3264
3222
  }
3265
3223
  #endif
@@ -3305,21 +3263,20 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
3305
3263
  Py_VISIT(traverse_module_state->__pyx_kp_u_ModifierManager___getattribute);
3306
3264
  Py_VISIT(traverse_module_state->__pyx_kp_u_ModifierManager___getitem___line);
3307
3265
  Py_VISIT(traverse_module_state->__pyx_kp_u_ModifierManager___iter___line_25);
3308
- Py_VISIT(traverse_module_state->__pyx_n_s_ModifierManager___reduce_cython);
3309
- Py_VISIT(traverse_module_state->__pyx_n_s_ModifierManager___setstate_cytho);
3266
+ Py_VISIT(traverse_module_state->__pyx_n_s_ModifierManager___reduce);
3310
3267
  Py_VISIT(traverse_module_state->__pyx_n_s_ModifierManager_apply_async_modi);
3311
3268
  Py_VISIT(traverse_module_state->__pyx_kp_u_ModifierManager_apply_async_modi_2);
3312
3269
  Py_VISIT(traverse_module_state->__pyx_n_s_ModifierManager_apply_sync_modif);
3313
3270
  Py_VISIT(traverse_module_state->__pyx_kp_u_ModifierManager_apply_sync_modif_2);
3314
3271
  Py_VISIT(traverse_module_state->__pyx_n_s_ModifierManager_items);
3315
- Py_VISIT(traverse_module_state->__pyx_kp_u_ModifierManager_items_line_233);
3272
+ Py_VISIT(traverse_module_state->__pyx_kp_u_ModifierManager_items_line_236);
3316
3273
  Py_VISIT(traverse_module_state->__pyx_n_s_ModifierManager_keys);
3317
- Py_VISIT(traverse_module_state->__pyx_kp_u_ModifierManager_keys_line_213);
3274
+ Py_VISIT(traverse_module_state->__pyx_kp_u_ModifierManager_keys_line_216);
3318
3275
  Py_VISIT(traverse_module_state->__pyx_kp_u_ModifierManager_use_cache___get);
3319
3276
  Py_VISIT(traverse_module_state->__pyx_kp_u_ModifierManager_use_limiter___ge);
3320
3277
  Py_VISIT(traverse_module_state->__pyx_kp_u_ModifierManager_use_semaphore);
3321
3278
  Py_VISIT(traverse_module_state->__pyx_n_s_ModifierManager_values);
3322
- Py_VISIT(traverse_module_state->__pyx_kp_u_ModifierManager_values_line_223);
3279
+ Py_VISIT(traverse_module_state->__pyx_kp_u_ModifierManager_values_line_226);
3323
3280
  Py_VISIT(traverse_module_state->__pyx_kp_u_None);
3324
3281
  Py_VISIT(traverse_module_state->__pyx_n_s_P);
3325
3282
  Py_VISIT(traverse_module_state->__pyx_kp_s_P_args);
@@ -3331,13 +3288,12 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
3331
3288
  Py_VISIT(traverse_module_state->__pyx_n_s_SyncFn);
3332
3289
  Py_VISIT(traverse_module_state->__pyx_kp_s_SyncFn_P_T);
3333
3290
  Py_VISIT(traverse_module_state->__pyx_n_s_T);
3334
- Py_VISIT(traverse_module_state->__pyx_n_s_TypeError);
3335
3291
  Py_VISIT(traverse_module_state->__pyx_n_s_ValueError);
3336
3292
  Py_VISIT(traverse_module_state->__pyx_kp_s_ValuesView_Any);
3337
3293
  Py_VISIT(traverse_module_state->__pyx_kp_u_Wraps_a_synchronous_function_Not);
3338
- Py_VISIT(traverse_module_state->__pyx_n_s__12);
3339
- Py_VISIT(traverse_module_state->__pyx_kp_u__13);
3340
- Py_VISIT(traverse_module_state->__pyx_n_s__18);
3294
+ Py_VISIT(traverse_module_state->__pyx_n_s__11);
3295
+ Py_VISIT(traverse_module_state->__pyx_kp_u__12);
3296
+ Py_VISIT(traverse_module_state->__pyx_n_s__16);
3341
3297
  Py_VISIT(traverse_module_state->__pyx_kp_u__2);
3342
3298
  Py_VISIT(traverse_module_state->__pyx_n_s_a_sync__typing);
3343
3299
  Py_VISIT(traverse_module_state->__pyx_n_s_a_sync_a_sync_config);
@@ -3368,7 +3324,6 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
3368
3324
  Py_VISIT(traverse_module_state->__pyx_kp_u_gc);
3369
3325
  Py_VISIT(traverse_module_state->__pyx_n_s_genexpr);
3370
3326
  Py_VISIT(traverse_module_state->__pyx_n_s_getattribute);
3371
- Py_VISIT(traverse_module_state->__pyx_n_s_getstate);
3372
3327
  Py_VISIT(traverse_module_state->__pyx_n_s_import);
3373
3328
  Py_VISIT(traverse_module_state->__pyx_n_s_initializing);
3374
3329
  Py_VISIT(traverse_module_state->__pyx_n_s_is_coroutine);
@@ -3382,28 +3337,21 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
3382
3337
  Py_VISIT(traverse_module_state->__pyx_n_u_memory);
3383
3338
  Py_VISIT(traverse_module_state->__pyx_n_s_modifiers);
3384
3339
  Py_VISIT(traverse_module_state->__pyx_n_s_name);
3385
- Py_VISIT(traverse_module_state->__pyx_kp_s_no_default___reduce___due_to_non);
3386
3340
  Py_VISIT(traverse_module_state->__pyx_n_s_null_modifiers);
3387
3341
  Py_VISIT(traverse_module_state->__pyx_n_s_object);
3388
- Py_VISIT(traverse_module_state->__pyx_n_s_pyx_state);
3389
3342
  Py_VISIT(traverse_module_state->__pyx_n_s_pyx_vtable);
3390
3343
  Py_VISIT(traverse_module_state->__pyx_n_s_ram_cache_maxsize);
3391
3344
  Py_VISIT(traverse_module_state->__pyx_n_s_ram_cache_ttl);
3392
3345
  Py_VISIT(traverse_module_state->__pyx_n_s_reduce);
3393
- Py_VISIT(traverse_module_state->__pyx_n_s_reduce_cython);
3394
- Py_VISIT(traverse_module_state->__pyx_n_s_reduce_ex);
3395
3346
  Py_VISIT(traverse_module_state->__pyx_n_s_return);
3396
3347
  Py_VISIT(traverse_module_state->__pyx_n_s_runs_per_minute);
3397
3348
  Py_VISIT(traverse_module_state->__pyx_n_s_self);
3398
3349
  Py_VISIT(traverse_module_state->__pyx_n_s_semaphore);
3399
3350
  Py_VISIT(traverse_module_state->__pyx_n_s_semaphores);
3400
3351
  Py_VISIT(traverse_module_state->__pyx_n_s_send);
3401
- Py_VISIT(traverse_module_state->__pyx_n_s_setstate);
3402
- Py_VISIT(traverse_module_state->__pyx_n_s_setstate_cython);
3403
3352
  Py_VISIT(traverse_module_state->__pyx_n_s_skip_check);
3404
3353
  Py_VISIT(traverse_module_state->__pyx_n_s_spec);
3405
3354
  Py_VISIT(traverse_module_state->__pyx_n_s_startswith);
3406
- Py_VISIT(traverse_module_state->__pyx_kp_s_stringsource);
3407
3355
  Py_VISIT(traverse_module_state->__pyx_n_s_sync_modifier_wrap);
3408
3356
  Py_VISIT(traverse_module_state->__pyx_n_s_test);
3409
3357
  Py_VISIT(traverse_module_state->__pyx_n_s_throw);
@@ -3414,19 +3362,17 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
3414
3362
  Py_VISIT(traverse_module_state->__pyx_n_s_user_set_default_modifiers);
3415
3363
  Py_VISIT(traverse_module_state->__pyx_n_s_valid_modifiers);
3416
3364
  Py_VISIT(traverse_module_state->__pyx_n_s_values);
3417
- Py_VISIT(traverse_module_state->__pyx_tuple__5);
3365
+ Py_VISIT(traverse_module_state->__pyx_tuple__6);
3366
+ Py_VISIT(traverse_module_state->__pyx_tuple__13);
3418
3367
  Py_VISIT(traverse_module_state->__pyx_tuple__14);
3419
3368
  Py_VISIT(traverse_module_state->__pyx_tuple__15);
3420
- Py_VISIT(traverse_module_state->__pyx_tuple__16);
3421
- Py_VISIT(traverse_module_state->__pyx_tuple__17);
3422
3369
  Py_VISIT(traverse_module_state->__pyx_codeobj__3);
3423
3370
  Py_VISIT(traverse_module_state->__pyx_codeobj__4);
3424
- Py_VISIT(traverse_module_state->__pyx_codeobj__6);
3371
+ Py_VISIT(traverse_module_state->__pyx_codeobj__5);
3425
3372
  Py_VISIT(traverse_module_state->__pyx_codeobj__7);
3426
3373
  Py_VISIT(traverse_module_state->__pyx_codeobj__8);
3427
3374
  Py_VISIT(traverse_module_state->__pyx_codeobj__9);
3428
3375
  Py_VISIT(traverse_module_state->__pyx_codeobj__10);
3429
- Py_VISIT(traverse_module_state->__pyx_codeobj__11);
3430
3376
  return 0;
3431
3377
  }
3432
3378
  #endif
@@ -3486,21 +3432,20 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
3486
3432
  #define __pyx_kp_u_ModifierManager___getattribute __pyx_mstate_global->__pyx_kp_u_ModifierManager___getattribute
3487
3433
  #define __pyx_kp_u_ModifierManager___getitem___line __pyx_mstate_global->__pyx_kp_u_ModifierManager___getitem___line
3488
3434
  #define __pyx_kp_u_ModifierManager___iter___line_25 __pyx_mstate_global->__pyx_kp_u_ModifierManager___iter___line_25
3489
- #define __pyx_n_s_ModifierManager___reduce_cython __pyx_mstate_global->__pyx_n_s_ModifierManager___reduce_cython
3490
- #define __pyx_n_s_ModifierManager___setstate_cytho __pyx_mstate_global->__pyx_n_s_ModifierManager___setstate_cytho
3435
+ #define __pyx_n_s_ModifierManager___reduce __pyx_mstate_global->__pyx_n_s_ModifierManager___reduce
3491
3436
  #define __pyx_n_s_ModifierManager_apply_async_modi __pyx_mstate_global->__pyx_n_s_ModifierManager_apply_async_modi
3492
3437
  #define __pyx_kp_u_ModifierManager_apply_async_modi_2 __pyx_mstate_global->__pyx_kp_u_ModifierManager_apply_async_modi_2
3493
3438
  #define __pyx_n_s_ModifierManager_apply_sync_modif __pyx_mstate_global->__pyx_n_s_ModifierManager_apply_sync_modif
3494
3439
  #define __pyx_kp_u_ModifierManager_apply_sync_modif_2 __pyx_mstate_global->__pyx_kp_u_ModifierManager_apply_sync_modif_2
3495
3440
  #define __pyx_n_s_ModifierManager_items __pyx_mstate_global->__pyx_n_s_ModifierManager_items
3496
- #define __pyx_kp_u_ModifierManager_items_line_233 __pyx_mstate_global->__pyx_kp_u_ModifierManager_items_line_233
3441
+ #define __pyx_kp_u_ModifierManager_items_line_236 __pyx_mstate_global->__pyx_kp_u_ModifierManager_items_line_236
3497
3442
  #define __pyx_n_s_ModifierManager_keys __pyx_mstate_global->__pyx_n_s_ModifierManager_keys
3498
- #define __pyx_kp_u_ModifierManager_keys_line_213 __pyx_mstate_global->__pyx_kp_u_ModifierManager_keys_line_213
3443
+ #define __pyx_kp_u_ModifierManager_keys_line_216 __pyx_mstate_global->__pyx_kp_u_ModifierManager_keys_line_216
3499
3444
  #define __pyx_kp_u_ModifierManager_use_cache___get __pyx_mstate_global->__pyx_kp_u_ModifierManager_use_cache___get
3500
3445
  #define __pyx_kp_u_ModifierManager_use_limiter___ge __pyx_mstate_global->__pyx_kp_u_ModifierManager_use_limiter___ge
3501
3446
  #define __pyx_kp_u_ModifierManager_use_semaphore __pyx_mstate_global->__pyx_kp_u_ModifierManager_use_semaphore
3502
3447
  #define __pyx_n_s_ModifierManager_values __pyx_mstate_global->__pyx_n_s_ModifierManager_values
3503
- #define __pyx_kp_u_ModifierManager_values_line_223 __pyx_mstate_global->__pyx_kp_u_ModifierManager_values_line_223
3448
+ #define __pyx_kp_u_ModifierManager_values_line_226 __pyx_mstate_global->__pyx_kp_u_ModifierManager_values_line_226
3504
3449
  #define __pyx_kp_u_None __pyx_mstate_global->__pyx_kp_u_None
3505
3450
  #define __pyx_n_s_P __pyx_mstate_global->__pyx_n_s_P
3506
3451
  #define __pyx_kp_s_P_args __pyx_mstate_global->__pyx_kp_s_P_args
@@ -3512,13 +3457,12 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
3512
3457
  #define __pyx_n_s_SyncFn __pyx_mstate_global->__pyx_n_s_SyncFn
3513
3458
  #define __pyx_kp_s_SyncFn_P_T __pyx_mstate_global->__pyx_kp_s_SyncFn_P_T
3514
3459
  #define __pyx_n_s_T __pyx_mstate_global->__pyx_n_s_T
3515
- #define __pyx_n_s_TypeError __pyx_mstate_global->__pyx_n_s_TypeError
3516
3460
  #define __pyx_n_s_ValueError __pyx_mstate_global->__pyx_n_s_ValueError
3517
3461
  #define __pyx_kp_s_ValuesView_Any __pyx_mstate_global->__pyx_kp_s_ValuesView_Any
3518
3462
  #define __pyx_kp_u_Wraps_a_synchronous_function_Not __pyx_mstate_global->__pyx_kp_u_Wraps_a_synchronous_function_Not
3519
- #define __pyx_n_s__12 __pyx_mstate_global->__pyx_n_s__12
3520
- #define __pyx_kp_u__13 __pyx_mstate_global->__pyx_kp_u__13
3521
- #define __pyx_n_s__18 __pyx_mstate_global->__pyx_n_s__18
3463
+ #define __pyx_n_s__11 __pyx_mstate_global->__pyx_n_s__11
3464
+ #define __pyx_kp_u__12 __pyx_mstate_global->__pyx_kp_u__12
3465
+ #define __pyx_n_s__16 __pyx_mstate_global->__pyx_n_s__16
3522
3466
  #define __pyx_kp_u__2 __pyx_mstate_global->__pyx_kp_u__2
3523
3467
  #define __pyx_n_s_a_sync__typing __pyx_mstate_global->__pyx_n_s_a_sync__typing
3524
3468
  #define __pyx_n_s_a_sync_a_sync_config __pyx_mstate_global->__pyx_n_s_a_sync_a_sync_config
@@ -3549,7 +3493,6 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
3549
3493
  #define __pyx_kp_u_gc __pyx_mstate_global->__pyx_kp_u_gc
3550
3494
  #define __pyx_n_s_genexpr __pyx_mstate_global->__pyx_n_s_genexpr
3551
3495
  #define __pyx_n_s_getattribute __pyx_mstate_global->__pyx_n_s_getattribute
3552
- #define __pyx_n_s_getstate __pyx_mstate_global->__pyx_n_s_getstate
3553
3496
  #define __pyx_n_s_import __pyx_mstate_global->__pyx_n_s_import
3554
3497
  #define __pyx_n_s_initializing __pyx_mstate_global->__pyx_n_s_initializing
3555
3498
  #define __pyx_n_s_is_coroutine __pyx_mstate_global->__pyx_n_s_is_coroutine
@@ -3563,28 +3506,21 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
3563
3506
  #define __pyx_n_u_memory __pyx_mstate_global->__pyx_n_u_memory
3564
3507
  #define __pyx_n_s_modifiers __pyx_mstate_global->__pyx_n_s_modifiers
3565
3508
  #define __pyx_n_s_name __pyx_mstate_global->__pyx_n_s_name
3566
- #define __pyx_kp_s_no_default___reduce___due_to_non __pyx_mstate_global->__pyx_kp_s_no_default___reduce___due_to_non
3567
3509
  #define __pyx_n_s_null_modifiers __pyx_mstate_global->__pyx_n_s_null_modifiers
3568
3510
  #define __pyx_n_s_object __pyx_mstate_global->__pyx_n_s_object
3569
- #define __pyx_n_s_pyx_state __pyx_mstate_global->__pyx_n_s_pyx_state
3570
3511
  #define __pyx_n_s_pyx_vtable __pyx_mstate_global->__pyx_n_s_pyx_vtable
3571
3512
  #define __pyx_n_s_ram_cache_maxsize __pyx_mstate_global->__pyx_n_s_ram_cache_maxsize
3572
3513
  #define __pyx_n_s_ram_cache_ttl __pyx_mstate_global->__pyx_n_s_ram_cache_ttl
3573
3514
  #define __pyx_n_s_reduce __pyx_mstate_global->__pyx_n_s_reduce
3574
- #define __pyx_n_s_reduce_cython __pyx_mstate_global->__pyx_n_s_reduce_cython
3575
- #define __pyx_n_s_reduce_ex __pyx_mstate_global->__pyx_n_s_reduce_ex
3576
3515
  #define __pyx_n_s_return __pyx_mstate_global->__pyx_n_s_return
3577
3516
  #define __pyx_n_s_runs_per_minute __pyx_mstate_global->__pyx_n_s_runs_per_minute
3578
3517
  #define __pyx_n_s_self __pyx_mstate_global->__pyx_n_s_self
3579
3518
  #define __pyx_n_s_semaphore __pyx_mstate_global->__pyx_n_s_semaphore
3580
3519
  #define __pyx_n_s_semaphores __pyx_mstate_global->__pyx_n_s_semaphores
3581
3520
  #define __pyx_n_s_send __pyx_mstate_global->__pyx_n_s_send
3582
- #define __pyx_n_s_setstate __pyx_mstate_global->__pyx_n_s_setstate
3583
- #define __pyx_n_s_setstate_cython __pyx_mstate_global->__pyx_n_s_setstate_cython
3584
3521
  #define __pyx_n_s_skip_check __pyx_mstate_global->__pyx_n_s_skip_check
3585
3522
  #define __pyx_n_s_spec __pyx_mstate_global->__pyx_n_s_spec
3586
3523
  #define __pyx_n_s_startswith __pyx_mstate_global->__pyx_n_s_startswith
3587
- #define __pyx_kp_s_stringsource __pyx_mstate_global->__pyx_kp_s_stringsource
3588
3524
  #define __pyx_n_s_sync_modifier_wrap __pyx_mstate_global->__pyx_n_s_sync_modifier_wrap
3589
3525
  #define __pyx_n_s_test __pyx_mstate_global->__pyx_n_s_test
3590
3526
  #define __pyx_n_s_throw __pyx_mstate_global->__pyx_n_s_throw
@@ -3595,19 +3531,17 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) {
3595
3531
  #define __pyx_n_s_user_set_default_modifiers __pyx_mstate_global->__pyx_n_s_user_set_default_modifiers
3596
3532
  #define __pyx_n_s_valid_modifiers __pyx_mstate_global->__pyx_n_s_valid_modifiers
3597
3533
  #define __pyx_n_s_values __pyx_mstate_global->__pyx_n_s_values
3598
- #define __pyx_tuple__5 __pyx_mstate_global->__pyx_tuple__5
3534
+ #define __pyx_tuple__6 __pyx_mstate_global->__pyx_tuple__6
3535
+ #define __pyx_tuple__13 __pyx_mstate_global->__pyx_tuple__13
3599
3536
  #define __pyx_tuple__14 __pyx_mstate_global->__pyx_tuple__14
3600
3537
  #define __pyx_tuple__15 __pyx_mstate_global->__pyx_tuple__15
3601
- #define __pyx_tuple__16 __pyx_mstate_global->__pyx_tuple__16
3602
- #define __pyx_tuple__17 __pyx_mstate_global->__pyx_tuple__17
3603
3538
  #define __pyx_codeobj__3 __pyx_mstate_global->__pyx_codeobj__3
3604
3539
  #define __pyx_codeobj__4 __pyx_mstate_global->__pyx_codeobj__4
3605
- #define __pyx_codeobj__6 __pyx_mstate_global->__pyx_codeobj__6
3540
+ #define __pyx_codeobj__5 __pyx_mstate_global->__pyx_codeobj__5
3606
3541
  #define __pyx_codeobj__7 __pyx_mstate_global->__pyx_codeobj__7
3607
3542
  #define __pyx_codeobj__8 __pyx_mstate_global->__pyx_codeobj__8
3608
3543
  #define __pyx_codeobj__9 __pyx_mstate_global->__pyx_codeobj__9
3609
3544
  #define __pyx_codeobj__10 __pyx_mstate_global->__pyx_codeobj__10
3610
- #define __pyx_codeobj__11 __pyx_mstate_global->__pyx_codeobj__11
3611
3545
  /* #### Code section: module_code ### */
3612
3546
  static PyObject *__pyx_gb_6a_sync_6a_sync_9modifiers_7manager_2generator(__pyx_CoroutineObject *__pyx_generator, CYTHON_UNUSED PyThreadState *__pyx_tstate, PyObject *__pyx_sent_value); /* proto */
3613
3547
 
@@ -4450,6 +4384,119 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
4450
4384
  /* "a_sync/a_sync/modifiers/manager.pyx":107
4451
4385
  * )
4452
4386
  *
4387
+ * def __reduce__(self): # <<<<<<<<<<<<<<
4388
+ * return ModifierManager, (self._modifiers, True)
4389
+ *
4390
+ */
4391
+
4392
+ /* Python wrapper */
4393
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_7__reduce__(PyObject *__pyx_v_self,
4394
+ #if CYTHON_METH_FASTCALL
4395
+ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
4396
+ #else
4397
+ PyObject *__pyx_args, PyObject *__pyx_kwds
4398
+ #endif
4399
+ ); /*proto*/
4400
+ PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_6__reduce__, "ModifierManager.__reduce__(self)");
4401
+ static PyMethodDef __pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_7__reduce__ = {"__reduce__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_7__reduce__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_6__reduce__};
4402
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_7__reduce__(PyObject *__pyx_v_self,
4403
+ #if CYTHON_METH_FASTCALL
4404
+ PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
4405
+ #else
4406
+ PyObject *__pyx_args, PyObject *__pyx_kwds
4407
+ #endif
4408
+ ) {
4409
+ #if !CYTHON_METH_FASTCALL
4410
+ CYTHON_UNUSED Py_ssize_t __pyx_nargs;
4411
+ #endif
4412
+ CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
4413
+ PyObject *__pyx_r = 0;
4414
+ __Pyx_RefNannyDeclarations
4415
+ __Pyx_RefNannySetupContext("__reduce__ (wrapper)", 0);
4416
+ #if !CYTHON_METH_FASTCALL
4417
+ #if CYTHON_ASSUME_SAFE_MACROS
4418
+ __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
4419
+ #else
4420
+ __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
4421
+ #endif
4422
+ #endif
4423
+ __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
4424
+ if (unlikely(__pyx_nargs > 0)) {
4425
+ __Pyx_RaiseArgtupleInvalid("__reduce__", 1, 0, 0, __pyx_nargs); return NULL;}
4426
+ if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce__", 0))) return NULL;
4427
+ __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_6__reduce__(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self));
4428
+
4429
+ /* function exit code */
4430
+ __Pyx_RefNannyFinishContext();
4431
+ return __pyx_r;
4432
+ }
4433
+
4434
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_6__reduce__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self) {
4435
+ PyObject *__pyx_r = NULL;
4436
+ __Pyx_TraceDeclarations
4437
+ __Pyx_RefNannyDeclarations
4438
+ PyObject *__pyx_t_1 = NULL;
4439
+ PyObject *__pyx_t_2 = NULL;
4440
+ int __pyx_lineno = 0;
4441
+ const char *__pyx_filename = NULL;
4442
+ int __pyx_clineno = 0;
4443
+ __Pyx_TraceFrameInit(__pyx_codeobj__3)
4444
+ __Pyx_RefNannySetupContext("__reduce__", 1);
4445
+ __Pyx_TraceCall("__reduce__", __pyx_f[0], 107, 0, __PYX_ERR(0, 107, __pyx_L1_error));
4446
+
4447
+ /* "a_sync/a_sync/modifiers/manager.pyx":108
4448
+ *
4449
+ * def __reduce__(self):
4450
+ * return ModifierManager, (self._modifiers, True) # <<<<<<<<<<<<<<
4451
+ *
4452
+ * cdef str get_default(self):
4453
+ */
4454
+ __Pyx_TraceLine(108,0,__PYX_ERR(0, 108, __pyx_L1_error))
4455
+ __Pyx_XDECREF(__pyx_r);
4456
+ __pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 108, __pyx_L1_error)
4457
+ __Pyx_GOTREF(__pyx_t_1);
4458
+ __Pyx_INCREF(__pyx_v_self->_modifiers);
4459
+ __Pyx_GIVEREF(__pyx_v_self->_modifiers);
4460
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self->_modifiers)) __PYX_ERR(0, 108, __pyx_L1_error);
4461
+ __Pyx_INCREF(Py_True);
4462
+ __Pyx_GIVEREF(Py_True);
4463
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, Py_True)) __PYX_ERR(0, 108, __pyx_L1_error);
4464
+ __pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 108, __pyx_L1_error)
4465
+ __Pyx_GOTREF(__pyx_t_2);
4466
+ __Pyx_INCREF((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager);
4467
+ __Pyx_GIVEREF((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager);
4468
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, ((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager))) __PYX_ERR(0, 108, __pyx_L1_error);
4469
+ __Pyx_GIVEREF(__pyx_t_1);
4470
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_1)) __PYX_ERR(0, 108, __pyx_L1_error);
4471
+ __pyx_t_1 = 0;
4472
+ __pyx_r = __pyx_t_2;
4473
+ __pyx_t_2 = 0;
4474
+ goto __pyx_L0;
4475
+
4476
+ /* "a_sync/a_sync/modifiers/manager.pyx":107
4477
+ * )
4478
+ *
4479
+ * def __reduce__(self): # <<<<<<<<<<<<<<
4480
+ * return ModifierManager, (self._modifiers, True)
4481
+ *
4482
+ */
4483
+
4484
+ /* function exit code */
4485
+ __pyx_L1_error:;
4486
+ __Pyx_XDECREF(__pyx_t_1);
4487
+ __Pyx_XDECREF(__pyx_t_2);
4488
+ __Pyx_AddTraceback("a_sync.a_sync.modifiers.manager.ModifierManager.__reduce__", __pyx_clineno, __pyx_lineno, __pyx_filename);
4489
+ __pyx_r = NULL;
4490
+ __pyx_L0:;
4491
+ __Pyx_XGIVEREF(__pyx_r);
4492
+ __Pyx_TraceReturn(__pyx_r, 0);
4493
+ __Pyx_RefNannyFinishContext();
4494
+ return __pyx_r;
4495
+ }
4496
+
4497
+ /* "a_sync/a_sync/modifiers/manager.pyx":110
4498
+ * return ModifierManager, (self._modifiers, True)
4499
+ *
4453
4500
  * cdef str get_default(self): # <<<<<<<<<<<<<<
4454
4501
  * cdef str default = self.__default
4455
4502
  * if default is None:
@@ -4466,66 +4513,66 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_g
4466
4513
  const char *__pyx_filename = NULL;
4467
4514
  int __pyx_clineno = 0;
4468
4515
  __Pyx_RefNannySetupContext("get_default", 1);
4469
- __Pyx_TraceCall("get_default", __pyx_f[0], 107, 0, __PYX_ERR(0, 107, __pyx_L1_error));
4516
+ __Pyx_TraceCall("get_default", __pyx_f[0], 110, 0, __PYX_ERR(0, 110, __pyx_L1_error));
4470
4517
 
4471
- /* "a_sync/a_sync/modifiers/manager.pyx":108
4518
+ /* "a_sync/a_sync/modifiers/manager.pyx":111
4472
4519
  *
4473
4520
  * cdef str get_default(self):
4474
4521
  * cdef str default = self.__default # <<<<<<<<<<<<<<
4475
4522
  * if default is None:
4476
4523
  * if "default" in self._modifiers:
4477
4524
  */
4478
- __Pyx_TraceLine(108,0,__PYX_ERR(0, 108, __pyx_L1_error))
4525
+ __Pyx_TraceLine(111,0,__PYX_ERR(0, 111, __pyx_L1_error))
4479
4526
  __pyx_t_1 = __pyx_v_self->_ModifierManager__default;
4480
4527
  __Pyx_INCREF(__pyx_t_1);
4481
4528
  __pyx_v_default = ((PyObject*)__pyx_t_1);
4482
4529
  __pyx_t_1 = 0;
4483
4530
 
4484
- /* "a_sync/a_sync/modifiers/manager.pyx":109
4531
+ /* "a_sync/a_sync/modifiers/manager.pyx":112
4485
4532
  * cdef str get_default(self):
4486
4533
  * cdef str default = self.__default
4487
4534
  * if default is None: # <<<<<<<<<<<<<<
4488
4535
  * if "default" in self._modifiers:
4489
4536
  * default = self._modifiers["default"]
4490
4537
  */
4491
- __Pyx_TraceLine(109,0,__PYX_ERR(0, 109, __pyx_L1_error))
4538
+ __Pyx_TraceLine(112,0,__PYX_ERR(0, 112, __pyx_L1_error))
4492
4539
  __pyx_t_2 = (__pyx_v_default == ((PyObject*)Py_None));
4493
4540
  if (__pyx_t_2) {
4494
4541
 
4495
- /* "a_sync/a_sync/modifiers/manager.pyx":110
4542
+ /* "a_sync/a_sync/modifiers/manager.pyx":113
4496
4543
  * cdef str default = self.__default
4497
4544
  * if default is None:
4498
4545
  * if "default" in self._modifiers: # <<<<<<<<<<<<<<
4499
4546
  * default = self._modifiers["default"]
4500
4547
  * else:
4501
4548
  */
4502
- __Pyx_TraceLine(110,0,__PYX_ERR(0, 110, __pyx_L1_error))
4549
+ __Pyx_TraceLine(113,0,__PYX_ERR(0, 113, __pyx_L1_error))
4503
4550
  if (unlikely(__pyx_v_self->_modifiers == Py_None)) {
4504
4551
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
4505
- __PYX_ERR(0, 110, __pyx_L1_error)
4552
+ __PYX_ERR(0, 113, __pyx_L1_error)
4506
4553
  }
4507
- __pyx_t_2 = (__Pyx_PyDict_ContainsTF(__pyx_n_u_default, __pyx_v_self->_modifiers, Py_EQ)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 110, __pyx_L1_error)
4554
+ __pyx_t_2 = (__Pyx_PyDict_ContainsTF(__pyx_n_u_default, __pyx_v_self->_modifiers, Py_EQ)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 113, __pyx_L1_error)
4508
4555
  if (__pyx_t_2) {
4509
4556
 
4510
- /* "a_sync/a_sync/modifiers/manager.pyx":111
4557
+ /* "a_sync/a_sync/modifiers/manager.pyx":114
4511
4558
  * if default is None:
4512
4559
  * if "default" in self._modifiers:
4513
4560
  * default = self._modifiers["default"] # <<<<<<<<<<<<<<
4514
4561
  * else:
4515
4562
  * default = USER_DEFAULTS._modifiers["default"]
4516
4563
  */
4517
- __Pyx_TraceLine(111,0,__PYX_ERR(0, 111, __pyx_L1_error))
4564
+ __Pyx_TraceLine(114,0,__PYX_ERR(0, 114, __pyx_L1_error))
4518
4565
  if (unlikely(__pyx_v_self->_modifiers == Py_None)) {
4519
4566
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
4520
- __PYX_ERR(0, 111, __pyx_L1_error)
4567
+ __PYX_ERR(0, 114, __pyx_L1_error)
4521
4568
  }
4522
- __pyx_t_1 = __Pyx_PyDict_GetItem(__pyx_v_self->_modifiers, __pyx_n_u_default); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 111, __pyx_L1_error)
4569
+ __pyx_t_1 = __Pyx_PyDict_GetItem(__pyx_v_self->_modifiers, __pyx_n_u_default); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 114, __pyx_L1_error)
4523
4570
  __Pyx_GOTREF(__pyx_t_1);
4524
- if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("unicode", __pyx_t_1))) __PYX_ERR(0, 111, __pyx_L1_error)
4571
+ if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("unicode", __pyx_t_1))) __PYX_ERR(0, 114, __pyx_L1_error)
4525
4572
  __Pyx_DECREF_SET(__pyx_v_default, ((PyObject*)__pyx_t_1));
4526
4573
  __pyx_t_1 = 0;
4527
4574
 
4528
- /* "a_sync/a_sync/modifiers/manager.pyx":110
4575
+ /* "a_sync/a_sync/modifiers/manager.pyx":113
4529
4576
  * cdef str default = self.__default
4530
4577
  * if default is None:
4531
4578
  * if "default" in self._modifiers: # <<<<<<<<<<<<<<
@@ -4535,42 +4582,42 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_g
4535
4582
  goto __pyx_L4;
4536
4583
  }
4537
4584
 
4538
- /* "a_sync/a_sync/modifiers/manager.pyx":113
4585
+ /* "a_sync/a_sync/modifiers/manager.pyx":116
4539
4586
  * default = self._modifiers["default"]
4540
4587
  * else:
4541
4588
  * default = USER_DEFAULTS._modifiers["default"] # <<<<<<<<<<<<<<
4542
4589
  * self.__default = default
4543
4590
  * return default
4544
4591
  */
4545
- __Pyx_TraceLine(113,0,__PYX_ERR(0, 113, __pyx_L1_error))
4592
+ __Pyx_TraceLine(116,0,__PYX_ERR(0, 116, __pyx_L1_error))
4546
4593
  /*else*/ {
4547
4594
  if (unlikely(USER_DEFAULTS->_modifiers == Py_None)) {
4548
4595
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
4549
- __PYX_ERR(0, 113, __pyx_L1_error)
4596
+ __PYX_ERR(0, 116, __pyx_L1_error)
4550
4597
  }
4551
- __pyx_t_1 = __Pyx_PyDict_GetItem(USER_DEFAULTS->_modifiers, __pyx_n_u_default); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 113, __pyx_L1_error)
4598
+ __pyx_t_1 = __Pyx_PyDict_GetItem(USER_DEFAULTS->_modifiers, __pyx_n_u_default); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 116, __pyx_L1_error)
4552
4599
  __Pyx_GOTREF(__pyx_t_1);
4553
- if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("unicode", __pyx_t_1))) __PYX_ERR(0, 113, __pyx_L1_error)
4600
+ if (!(likely(PyUnicode_CheckExact(__pyx_t_1))||((__pyx_t_1) == Py_None) || __Pyx_RaiseUnexpectedTypeError("unicode", __pyx_t_1))) __PYX_ERR(0, 116, __pyx_L1_error)
4554
4601
  __Pyx_DECREF_SET(__pyx_v_default, ((PyObject*)__pyx_t_1));
4555
4602
  __pyx_t_1 = 0;
4556
4603
  }
4557
4604
  __pyx_L4:;
4558
4605
 
4559
- /* "a_sync/a_sync/modifiers/manager.pyx":114
4606
+ /* "a_sync/a_sync/modifiers/manager.pyx":117
4560
4607
  * else:
4561
4608
  * default = USER_DEFAULTS._modifiers["default"]
4562
4609
  * self.__default = default # <<<<<<<<<<<<<<
4563
4610
  * return default
4564
4611
  *
4565
4612
  */
4566
- __Pyx_TraceLine(114,0,__PYX_ERR(0, 114, __pyx_L1_error))
4613
+ __Pyx_TraceLine(117,0,__PYX_ERR(0, 117, __pyx_L1_error))
4567
4614
  __Pyx_INCREF(__pyx_v_default);
4568
4615
  __Pyx_GIVEREF(__pyx_v_default);
4569
4616
  __Pyx_GOTREF(__pyx_v_self->_ModifierManager__default);
4570
4617
  __Pyx_DECREF(__pyx_v_self->_ModifierManager__default);
4571
4618
  __pyx_v_self->_ModifierManager__default = __pyx_v_default;
4572
4619
 
4573
- /* "a_sync/a_sync/modifiers/manager.pyx":109
4620
+ /* "a_sync/a_sync/modifiers/manager.pyx":112
4574
4621
  * cdef str get_default(self):
4575
4622
  * cdef str default = self.__default
4576
4623
  * if default is None: # <<<<<<<<<<<<<<
@@ -4579,21 +4626,21 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_g
4579
4626
  */
4580
4627
  }
4581
4628
 
4582
- /* "a_sync/a_sync/modifiers/manager.pyx":115
4629
+ /* "a_sync/a_sync/modifiers/manager.pyx":118
4583
4630
  * default = USER_DEFAULTS._modifiers["default"]
4584
4631
  * self.__default = default
4585
4632
  * return default # <<<<<<<<<<<<<<
4586
4633
  *
4587
4634
  * @property
4588
4635
  */
4589
- __Pyx_TraceLine(115,0,__PYX_ERR(0, 115, __pyx_L1_error))
4636
+ __Pyx_TraceLine(118,0,__PYX_ERR(0, 118, __pyx_L1_error))
4590
4637
  __Pyx_XDECREF(__pyx_r);
4591
4638
  __Pyx_INCREF(__pyx_v_default);
4592
4639
  __pyx_r = __pyx_v_default;
4593
4640
  goto __pyx_L0;
4594
4641
 
4595
- /* "a_sync/a_sync/modifiers/manager.pyx":107
4596
- * )
4642
+ /* "a_sync/a_sync/modifiers/manager.pyx":110
4643
+ * return ModifierManager, (self._modifiers, True)
4597
4644
  *
4598
4645
  * cdef str get_default(self): # <<<<<<<<<<<<<<
4599
4646
  * cdef str default = self.__default
@@ -4613,7 +4660,7 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_g
4613
4660
  return __pyx_r;
4614
4661
  }
4615
4662
 
4616
- /* "a_sync/a_sync/modifiers/manager.pyx":117
4663
+ /* "a_sync/a_sync/modifiers/manager.pyx":120
4617
4664
  * return default
4618
4665
  *
4619
4666
  * @property # <<<<<<<<<<<<<<
@@ -4647,29 +4694,29 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
4647
4694
  const char *__pyx_filename = NULL;
4648
4695
  int __pyx_clineno = 0;
4649
4696
  __Pyx_RefNannySetupContext("__get__", 1);
4650
- __Pyx_TraceCall("__get__", __pyx_f[0], 117, 0, __PYX_ERR(0, 117, __pyx_L1_error));
4697
+ __Pyx_TraceCall("__get__", __pyx_f[0], 120, 0, __PYX_ERR(0, 120, __pyx_L1_error));
4651
4698
 
4652
- /* "a_sync/a_sync/modifiers/manager.pyx":126
4699
+ /* "a_sync/a_sync/modifiers/manager.pyx":129
4653
4700
  * True
4654
4701
  * """
4655
4702
  * return self.runs_per_minute != NULLS.runs_per_minute # <<<<<<<<<<<<<<
4656
4703
  *
4657
4704
  * @property
4658
4705
  */
4659
- __Pyx_TraceLine(126,0,__PYX_ERR(0, 126, __pyx_L1_error))
4706
+ __Pyx_TraceLine(129,0,__PYX_ERR(0, 129, __pyx_L1_error))
4660
4707
  __Pyx_XDECREF(__pyx_r);
4661
- __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_runs_per_minute); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 126, __pyx_L1_error)
4708
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_runs_per_minute); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 129, __pyx_L1_error)
4662
4709
  __Pyx_GOTREF(__pyx_t_1);
4663
- __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)NULLS), __pyx_n_s_runs_per_minute); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 126, __pyx_L1_error)
4710
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)NULLS), __pyx_n_s_runs_per_minute); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 129, __pyx_L1_error)
4664
4711
  __Pyx_GOTREF(__pyx_t_2);
4665
- __pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_NE); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 126, __pyx_L1_error)
4712
+ __pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_NE); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 129, __pyx_L1_error)
4666
4713
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4667
4714
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4668
4715
  __pyx_r = __pyx_t_3;
4669
4716
  __pyx_t_3 = 0;
4670
4717
  goto __pyx_L0;
4671
4718
 
4672
- /* "a_sync/a_sync/modifiers/manager.pyx":117
4719
+ /* "a_sync/a_sync/modifiers/manager.pyx":120
4673
4720
  * return default
4674
4721
  *
4675
4722
  * @property # <<<<<<<<<<<<<<
@@ -4691,7 +4738,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
4691
4738
  return __pyx_r;
4692
4739
  }
4693
4740
 
4694
- /* "a_sync/a_sync/modifiers/manager.pyx":128
4741
+ /* "a_sync/a_sync/modifiers/manager.pyx":131
4695
4742
  * return self.runs_per_minute != NULLS.runs_per_minute
4696
4743
  *
4697
4744
  * @property # <<<<<<<<<<<<<<
@@ -4725,29 +4772,29 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
4725
4772
  const char *__pyx_filename = NULL;
4726
4773
  int __pyx_clineno = 0;
4727
4774
  __Pyx_RefNannySetupContext("__get__", 1);
4728
- __Pyx_TraceCall("__get__", __pyx_f[0], 128, 0, __PYX_ERR(0, 128, __pyx_L1_error));
4775
+ __Pyx_TraceCall("__get__", __pyx_f[0], 131, 0, __PYX_ERR(0, 131, __pyx_L1_error));
4729
4776
 
4730
- /* "a_sync/a_sync/modifiers/manager.pyx":137
4777
+ /* "a_sync/a_sync/modifiers/manager.pyx":140
4731
4778
  * True
4732
4779
  * """
4733
4780
  * return self.semaphore != NULLS.semaphore # <<<<<<<<<<<<<<
4734
4781
  *
4735
4782
  * @property
4736
4783
  */
4737
- __Pyx_TraceLine(137,0,__PYX_ERR(0, 137, __pyx_L1_error))
4784
+ __Pyx_TraceLine(140,0,__PYX_ERR(0, 140, __pyx_L1_error))
4738
4785
  __Pyx_XDECREF(__pyx_r);
4739
- __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_semaphore); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 137, __pyx_L1_error)
4786
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_semaphore); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 140, __pyx_L1_error)
4740
4787
  __Pyx_GOTREF(__pyx_t_1);
4741
- __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)NULLS), __pyx_n_s_semaphore); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 137, __pyx_L1_error)
4788
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)NULLS), __pyx_n_s_semaphore); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 140, __pyx_L1_error)
4742
4789
  __Pyx_GOTREF(__pyx_t_2);
4743
- __pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_NE); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 137, __pyx_L1_error)
4790
+ __pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_NE); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 140, __pyx_L1_error)
4744
4791
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4745
4792
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4746
4793
  __pyx_r = __pyx_t_3;
4747
4794
  __pyx_t_3 = 0;
4748
4795
  goto __pyx_L0;
4749
4796
 
4750
- /* "a_sync/a_sync/modifiers/manager.pyx":128
4797
+ /* "a_sync/a_sync/modifiers/manager.pyx":131
4751
4798
  * return self.runs_per_minute != NULLS.runs_per_minute
4752
4799
  *
4753
4800
  * @property # <<<<<<<<<<<<<<
@@ -4769,7 +4816,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
4769
4816
  return __pyx_r;
4770
4817
  }
4771
4818
 
4772
- /* "a_sync/a_sync/modifiers/manager.pyx":139
4819
+ /* "a_sync/a_sync/modifiers/manager.pyx":142
4773
4820
  * return self.semaphore != NULLS.semaphore
4774
4821
  *
4775
4822
  * @property # <<<<<<<<<<<<<<
@@ -4806,121 +4853,121 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
4806
4853
  const char *__pyx_filename = NULL;
4807
4854
  int __pyx_clineno = 0;
4808
4855
  __Pyx_RefNannySetupContext("__get__", 1);
4809
- __Pyx_TraceCall("__get__", __pyx_f[0], 139, 0, __PYX_ERR(0, 139, __pyx_L1_error));
4856
+ __Pyx_TraceCall("__get__", __pyx_f[0], 142, 0, __PYX_ERR(0, 142, __pyx_L1_error));
4810
4857
 
4811
- /* "a_sync/a_sync/modifiers/manager.pyx":148
4858
+ /* "a_sync/a_sync/modifiers/manager.pyx":151
4812
4859
  * True
4813
4860
  * """
4814
4861
  * return any( # <<<<<<<<<<<<<<
4815
4862
  * [
4816
4863
  * self.cache_type != NULLS.cache_type,
4817
4864
  */
4818
- __Pyx_TraceLine(148,0,__PYX_ERR(0, 148, __pyx_L1_error))
4865
+ __Pyx_TraceLine(151,0,__PYX_ERR(0, 151, __pyx_L1_error))
4819
4866
  __Pyx_XDECREF(__pyx_r);
4820
4867
 
4821
- /* "a_sync/a_sync/modifiers/manager.pyx":150
4868
+ /* "a_sync/a_sync/modifiers/manager.pyx":153
4822
4869
  * return any(
4823
4870
  * [
4824
4871
  * self.cache_type != NULLS.cache_type, # <<<<<<<<<<<<<<
4825
4872
  * self.ram_cache_maxsize != NULLS.ram_cache_maxsize,
4826
4873
  * self.ram_cache_ttl != NULLS.ram_cache_ttl,
4827
4874
  */
4828
- __Pyx_TraceLine(150,0,__PYX_ERR(0, 150, __pyx_L1_error))
4829
- __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_cache_type); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 150, __pyx_L1_error)
4875
+ __Pyx_TraceLine(153,0,__PYX_ERR(0, 153, __pyx_L1_error))
4876
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_cache_type); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 153, __pyx_L1_error)
4830
4877
  __Pyx_GOTREF(__pyx_t_1);
4831
- __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)NULLS), __pyx_n_s_cache_type); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 150, __pyx_L1_error)
4878
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)NULLS), __pyx_n_s_cache_type); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 153, __pyx_L1_error)
4832
4879
  __Pyx_GOTREF(__pyx_t_2);
4833
- __pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_NE); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 150, __pyx_L1_error)
4880
+ __pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_NE); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 153, __pyx_L1_error)
4834
4881
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4835
4882
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4836
4883
 
4837
- /* "a_sync/a_sync/modifiers/manager.pyx":151
4884
+ /* "a_sync/a_sync/modifiers/manager.pyx":154
4838
4885
  * [
4839
4886
  * self.cache_type != NULLS.cache_type,
4840
4887
  * self.ram_cache_maxsize != NULLS.ram_cache_maxsize, # <<<<<<<<<<<<<<
4841
4888
  * self.ram_cache_ttl != NULLS.ram_cache_ttl,
4842
4889
  * self.cache_typed != NULLS.cache_typed,
4843
4890
  */
4844
- __Pyx_TraceLine(151,0,__PYX_ERR(0, 151, __pyx_L1_error))
4845
- __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_ram_cache_maxsize); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 151, __pyx_L1_error)
4891
+ __Pyx_TraceLine(154,0,__PYX_ERR(0, 154, __pyx_L1_error))
4892
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_ram_cache_maxsize); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 154, __pyx_L1_error)
4846
4893
  __Pyx_GOTREF(__pyx_t_2);
4847
- __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)NULLS), __pyx_n_s_ram_cache_maxsize); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 151, __pyx_L1_error)
4894
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)NULLS), __pyx_n_s_ram_cache_maxsize); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 154, __pyx_L1_error)
4848
4895
  __Pyx_GOTREF(__pyx_t_1);
4849
- __pyx_t_4 = PyObject_RichCompare(__pyx_t_2, __pyx_t_1, Py_NE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 151, __pyx_L1_error)
4896
+ __pyx_t_4 = PyObject_RichCompare(__pyx_t_2, __pyx_t_1, Py_NE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 154, __pyx_L1_error)
4850
4897
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4851
4898
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4852
4899
 
4853
- /* "a_sync/a_sync/modifiers/manager.pyx":152
4900
+ /* "a_sync/a_sync/modifiers/manager.pyx":155
4854
4901
  * self.cache_type != NULLS.cache_type,
4855
4902
  * self.ram_cache_maxsize != NULLS.ram_cache_maxsize,
4856
4903
  * self.ram_cache_ttl != NULLS.ram_cache_ttl, # <<<<<<<<<<<<<<
4857
4904
  * self.cache_typed != NULLS.cache_typed,
4858
4905
  * ]
4859
4906
  */
4860
- __Pyx_TraceLine(152,0,__PYX_ERR(0, 152, __pyx_L1_error))
4861
- __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_ram_cache_ttl); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 152, __pyx_L1_error)
4907
+ __Pyx_TraceLine(155,0,__PYX_ERR(0, 155, __pyx_L1_error))
4908
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_ram_cache_ttl); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 155, __pyx_L1_error)
4862
4909
  __Pyx_GOTREF(__pyx_t_1);
4863
- __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)NULLS), __pyx_n_s_ram_cache_ttl); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 152, __pyx_L1_error)
4910
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)NULLS), __pyx_n_s_ram_cache_ttl); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 155, __pyx_L1_error)
4864
4911
  __Pyx_GOTREF(__pyx_t_2);
4865
- __pyx_t_5 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_NE); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 152, __pyx_L1_error)
4912
+ __pyx_t_5 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_NE); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 155, __pyx_L1_error)
4866
4913
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4867
4914
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4868
4915
 
4869
- /* "a_sync/a_sync/modifiers/manager.pyx":153
4916
+ /* "a_sync/a_sync/modifiers/manager.pyx":156
4870
4917
  * self.ram_cache_maxsize != NULLS.ram_cache_maxsize,
4871
4918
  * self.ram_cache_ttl != NULLS.ram_cache_ttl,
4872
4919
  * self.cache_typed != NULLS.cache_typed, # <<<<<<<<<<<<<<
4873
4920
  * ]
4874
4921
  * )
4875
4922
  */
4876
- __Pyx_TraceLine(153,0,__PYX_ERR(0, 153, __pyx_L1_error))
4877
- __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_cache_typed); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 153, __pyx_L1_error)
4923
+ __Pyx_TraceLine(156,0,__PYX_ERR(0, 156, __pyx_L1_error))
4924
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_cache_typed); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 156, __pyx_L1_error)
4878
4925
  __Pyx_GOTREF(__pyx_t_2);
4879
- __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)NULLS), __pyx_n_s_cache_typed); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 153, __pyx_L1_error)
4926
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)NULLS), __pyx_n_s_cache_typed); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 156, __pyx_L1_error)
4880
4927
  __Pyx_GOTREF(__pyx_t_1);
4881
- __pyx_t_6 = PyObject_RichCompare(__pyx_t_2, __pyx_t_1, Py_NE); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 153, __pyx_L1_error)
4928
+ __pyx_t_6 = PyObject_RichCompare(__pyx_t_2, __pyx_t_1, Py_NE); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 156, __pyx_L1_error)
4882
4929
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
4883
4930
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4884
4931
 
4885
- /* "a_sync/a_sync/modifiers/manager.pyx":149
4932
+ /* "a_sync/a_sync/modifiers/manager.pyx":152
4886
4933
  * """
4887
4934
  * return any(
4888
4935
  * [ # <<<<<<<<<<<<<<
4889
4936
  * self.cache_type != NULLS.cache_type,
4890
4937
  * self.ram_cache_maxsize != NULLS.ram_cache_maxsize,
4891
4938
  */
4892
- __Pyx_TraceLine(149,0,__PYX_ERR(0, 149, __pyx_L1_error))
4893
- __pyx_t_1 = PyList_New(4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 149, __pyx_L1_error)
4939
+ __Pyx_TraceLine(152,0,__PYX_ERR(0, 152, __pyx_L1_error))
4940
+ __pyx_t_1 = PyList_New(4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 152, __pyx_L1_error)
4894
4941
  __Pyx_GOTREF(__pyx_t_1);
4895
4942
  __Pyx_GIVEREF(__pyx_t_3);
4896
- if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 0, __pyx_t_3)) __PYX_ERR(0, 149, __pyx_L1_error);
4943
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 0, __pyx_t_3)) __PYX_ERR(0, 152, __pyx_L1_error);
4897
4944
  __Pyx_GIVEREF(__pyx_t_4);
4898
- if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 1, __pyx_t_4)) __PYX_ERR(0, 149, __pyx_L1_error);
4945
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 1, __pyx_t_4)) __PYX_ERR(0, 152, __pyx_L1_error);
4899
4946
  __Pyx_GIVEREF(__pyx_t_5);
4900
- if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 2, __pyx_t_5)) __PYX_ERR(0, 149, __pyx_L1_error);
4947
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 2, __pyx_t_5)) __PYX_ERR(0, 152, __pyx_L1_error);
4901
4948
  __Pyx_GIVEREF(__pyx_t_6);
4902
- if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 3, __pyx_t_6)) __PYX_ERR(0, 149, __pyx_L1_error);
4949
+ if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 3, __pyx_t_6)) __PYX_ERR(0, 152, __pyx_L1_error);
4903
4950
  __pyx_t_3 = 0;
4904
4951
  __pyx_t_4 = 0;
4905
4952
  __pyx_t_5 = 0;
4906
4953
  __pyx_t_6 = 0;
4907
4954
 
4908
- /* "a_sync/a_sync/modifiers/manager.pyx":148
4955
+ /* "a_sync/a_sync/modifiers/manager.pyx":151
4909
4956
  * True
4910
4957
  * """
4911
4958
  * return any( # <<<<<<<<<<<<<<
4912
4959
  * [
4913
4960
  * self.cache_type != NULLS.cache_type,
4914
4961
  */
4915
- __Pyx_TraceLine(148,0,__PYX_ERR(0, 148, __pyx_L1_error))
4916
- __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_builtin_any, __pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 148, __pyx_L1_error)
4962
+ __Pyx_TraceLine(151,0,__PYX_ERR(0, 151, __pyx_L1_error))
4963
+ __pyx_t_6 = __Pyx_PyObject_CallOneArg(__pyx_builtin_any, __pyx_t_1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 151, __pyx_L1_error)
4917
4964
  __Pyx_GOTREF(__pyx_t_6);
4918
4965
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
4919
4966
  __pyx_r = __pyx_t_6;
4920
4967
  __pyx_t_6 = 0;
4921
4968
  goto __pyx_L0;
4922
4969
 
4923
- /* "a_sync/a_sync/modifiers/manager.pyx":139
4970
+ /* "a_sync/a_sync/modifiers/manager.pyx":142
4924
4971
  * return self.semaphore != NULLS.semaphore
4925
4972
  *
4926
4973
  * @property # <<<<<<<<<<<<<<
@@ -4945,7 +4992,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
4945
4992
  return __pyx_r;
4946
4993
  }
4947
4994
 
4948
- /* "a_sync/a_sync/modifiers/manager.pyx":157
4995
+ /* "a_sync/a_sync/modifiers/manager.pyx":160
4949
4996
  * )
4950
4997
  *
4951
4998
  * cpdef object apply_async_modifiers(self, coro_fn: CoroFn[P, T]): # <<<<<<<<<<<<<<
@@ -4953,7 +5000,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
4953
5000
  *
4954
5001
  */
4955
5002
 
4956
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_7apply_async_modifiers(PyObject *__pyx_v_self,
5003
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_9apply_async_modifiers(PyObject *__pyx_v_self,
4957
5004
  #if CYTHON_METH_FASTCALL
4958
5005
  PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
4959
5006
  #else
@@ -4973,9 +5020,9 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_a
4973
5020
  int __pyx_lineno = 0;
4974
5021
  const char *__pyx_filename = NULL;
4975
5022
  int __pyx_clineno = 0;
4976
- __Pyx_TraceFrameInit(__pyx_codeobj__3)
5023
+ __Pyx_TraceFrameInit(__pyx_codeobj__4)
4977
5024
  __Pyx_RefNannySetupContext("apply_async_modifiers", 0);
4978
- __Pyx_TraceCall("apply_async_modifiers", __pyx_f[0], 157, 0, __PYX_ERR(0, 157, __pyx_L1_error));
5025
+ __Pyx_TraceCall("apply_async_modifiers", __pyx_f[0], 160, 0, __PYX_ERR(0, 160, __pyx_L1_error));
4979
5026
  __Pyx_INCREF(__pyx_v_coro_fn);
4980
5027
  /* Check if called by wrapper */
4981
5028
  if (unlikely(__pyx_skip_dispatch)) ;
@@ -4986,9 +5033,9 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_a
4986
5033
  if (unlikely(!__Pyx_object_dict_version_matches(((PyObject *)__pyx_v_self), __pyx_tp_dict_version, __pyx_obj_dict_version))) {
4987
5034
  PY_UINT64_T __pyx_typedict_guard = __Pyx_get_tp_dict_version(((PyObject *)__pyx_v_self));
4988
5035
  #endif
4989
- __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_apply_async_modifiers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 157, __pyx_L1_error)
5036
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_apply_async_modifiers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 160, __pyx_L1_error)
4990
5037
  __Pyx_GOTREF(__pyx_t_1);
4991
- if (!__Pyx_IsSameCFunction(__pyx_t_1, (void*) __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_7apply_async_modifiers)) {
5038
+ if (!__Pyx_IsSameCFunction(__pyx_t_1, (void*) __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_9apply_async_modifiers)) {
4992
5039
  __Pyx_XDECREF(__pyx_r);
4993
5040
  __Pyx_INCREF(__pyx_t_1);
4994
5041
  __pyx_t_3 = __pyx_t_1; __pyx_t_4 = NULL;
@@ -5009,7 +5056,7 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_a
5009
5056
  PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_v_coro_fn};
5010
5057
  __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5);
5011
5058
  __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
5012
- if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 157, __pyx_L1_error)
5059
+ if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 160, __pyx_L1_error)
5013
5060
  __Pyx_GOTREF(__pyx_t_2);
5014
5061
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5015
5062
  }
@@ -5031,29 +5078,29 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_a
5031
5078
  #endif
5032
5079
  }
5033
5080
 
5034
- /* "a_sync/a_sync/modifiers/manager.pyx":173
5081
+ /* "a_sync/a_sync/modifiers/manager.pyx":176
5035
5082
  * """
5036
5083
  * # NOTE: THESE STACK IN REVERSE ORDER
5037
5084
  * if self.use_limiter: # <<<<<<<<<<<<<<
5038
5085
  * coro_fn = apply_rate_limit(coro_fn, self.runs_per_minute)
5039
5086
  * if self.use_semaphore:
5040
5087
  */
5041
- __Pyx_TraceLine(173,0,__PYX_ERR(0, 173, __pyx_L1_error))
5042
- __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_use_limiter); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 173, __pyx_L1_error)
5088
+ __Pyx_TraceLine(176,0,__PYX_ERR(0, 176, __pyx_L1_error))
5089
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_use_limiter); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 176, __pyx_L1_error)
5043
5090
  __Pyx_GOTREF(__pyx_t_1);
5044
- __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 173, __pyx_L1_error)
5091
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 176, __pyx_L1_error)
5045
5092
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5046
5093
  if (__pyx_t_6) {
5047
5094
 
5048
- /* "a_sync/a_sync/modifiers/manager.pyx":174
5095
+ /* "a_sync/a_sync/modifiers/manager.pyx":177
5049
5096
  * # NOTE: THESE STACK IN REVERSE ORDER
5050
5097
  * if self.use_limiter:
5051
5098
  * coro_fn = apply_rate_limit(coro_fn, self.runs_per_minute) # <<<<<<<<<<<<<<
5052
5099
  * if self.use_semaphore:
5053
5100
  * coro_fn = apply_semaphore(coro_fn, self.semaphore)
5054
5101
  */
5055
- __Pyx_TraceLine(174,0,__PYX_ERR(0, 174, __pyx_L1_error))
5056
- __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_runs_per_minute); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 174, __pyx_L1_error)
5102
+ __Pyx_TraceLine(177,0,__PYX_ERR(0, 177, __pyx_L1_error))
5103
+ __pyx_t_2 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_runs_per_minute); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 177, __pyx_L1_error)
5057
5104
  __Pyx_GOTREF(__pyx_t_2);
5058
5105
  __Pyx_INCREF(__pyx_v_6a_sync_6a_sync_9modifiers_7manager_apply_rate_limit);
5059
5106
  __pyx_t_3 = __pyx_v_6a_sync_6a_sync_9modifiers_7manager_apply_rate_limit; __pyx_t_4 = NULL;
@@ -5075,14 +5122,14 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_a
5075
5122
  __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5);
5076
5123
  __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
5077
5124
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5078
- if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 174, __pyx_L1_error)
5125
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 177, __pyx_L1_error)
5079
5126
  __Pyx_GOTREF(__pyx_t_1);
5080
5127
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5081
5128
  }
5082
5129
  __Pyx_DECREF_SET(__pyx_v_coro_fn, __pyx_t_1);
5083
5130
  __pyx_t_1 = 0;
5084
5131
 
5085
- /* "a_sync/a_sync/modifiers/manager.pyx":173
5132
+ /* "a_sync/a_sync/modifiers/manager.pyx":176
5086
5133
  * """
5087
5134
  * # NOTE: THESE STACK IN REVERSE ORDER
5088
5135
  * if self.use_limiter: # <<<<<<<<<<<<<<
@@ -5091,29 +5138,29 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_a
5091
5138
  */
5092
5139
  }
5093
5140
 
5094
- /* "a_sync/a_sync/modifiers/manager.pyx":175
5141
+ /* "a_sync/a_sync/modifiers/manager.pyx":178
5095
5142
  * if self.use_limiter:
5096
5143
  * coro_fn = apply_rate_limit(coro_fn, self.runs_per_minute)
5097
5144
  * if self.use_semaphore: # <<<<<<<<<<<<<<
5098
5145
  * coro_fn = apply_semaphore(coro_fn, self.semaphore)
5099
5146
  * if self.use_cache:
5100
5147
  */
5101
- __Pyx_TraceLine(175,0,__PYX_ERR(0, 175, __pyx_L1_error))
5102
- __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_use_semaphore); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 175, __pyx_L1_error)
5148
+ __Pyx_TraceLine(178,0,__PYX_ERR(0, 178, __pyx_L1_error))
5149
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_use_semaphore); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 178, __pyx_L1_error)
5103
5150
  __Pyx_GOTREF(__pyx_t_1);
5104
- __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 175, __pyx_L1_error)
5151
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 178, __pyx_L1_error)
5105
5152
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5106
5153
  if (__pyx_t_6) {
5107
5154
 
5108
- /* "a_sync/a_sync/modifiers/manager.pyx":176
5155
+ /* "a_sync/a_sync/modifiers/manager.pyx":179
5109
5156
  * coro_fn = apply_rate_limit(coro_fn, self.runs_per_minute)
5110
5157
  * if self.use_semaphore:
5111
5158
  * coro_fn = apply_semaphore(coro_fn, self.semaphore) # <<<<<<<<<<<<<<
5112
5159
  * if self.use_cache:
5113
5160
  * coro_fn = apply_async_cache(
5114
5161
  */
5115
- __Pyx_TraceLine(176,0,__PYX_ERR(0, 176, __pyx_L1_error))
5116
- __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_semaphore); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 176, __pyx_L1_error)
5162
+ __Pyx_TraceLine(179,0,__PYX_ERR(0, 179, __pyx_L1_error))
5163
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_semaphore); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 179, __pyx_L1_error)
5117
5164
  __Pyx_GOTREF(__pyx_t_3);
5118
5165
  __Pyx_INCREF(__pyx_v_6a_sync_6a_sync_9modifiers_7manager_apply_semaphore);
5119
5166
  __pyx_t_2 = __pyx_v_6a_sync_6a_sync_9modifiers_7manager_apply_semaphore; __pyx_t_4 = NULL;
@@ -5135,14 +5182,14 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_a
5135
5182
  __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5);
5136
5183
  __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
5137
5184
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5138
- if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 176, __pyx_L1_error)
5185
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 179, __pyx_L1_error)
5139
5186
  __Pyx_GOTREF(__pyx_t_1);
5140
5187
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5141
5188
  }
5142
5189
  __Pyx_DECREF_SET(__pyx_v_coro_fn, __pyx_t_1);
5143
5190
  __pyx_t_1 = 0;
5144
5191
 
5145
- /* "a_sync/a_sync/modifiers/manager.pyx":175
5192
+ /* "a_sync/a_sync/modifiers/manager.pyx":178
5146
5193
  * if self.use_limiter:
5147
5194
  * coro_fn = apply_rate_limit(coro_fn, self.runs_per_minute)
5148
5195
  * if self.use_semaphore: # <<<<<<<<<<<<<<
@@ -5151,47 +5198,47 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_a
5151
5198
  */
5152
5199
  }
5153
5200
 
5154
- /* "a_sync/a_sync/modifiers/manager.pyx":177
5201
+ /* "a_sync/a_sync/modifiers/manager.pyx":180
5155
5202
  * if self.use_semaphore:
5156
5203
  * coro_fn = apply_semaphore(coro_fn, self.semaphore)
5157
5204
  * if self.use_cache: # <<<<<<<<<<<<<<
5158
5205
  * coro_fn = apply_async_cache(
5159
5206
  * coro_fn,
5160
5207
  */
5161
- __Pyx_TraceLine(177,0,__PYX_ERR(0, 177, __pyx_L1_error))
5162
- __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_use_cache); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 177, __pyx_L1_error)
5208
+ __Pyx_TraceLine(180,0,__PYX_ERR(0, 180, __pyx_L1_error))
5209
+ __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_use_cache); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 180, __pyx_L1_error)
5163
5210
  __Pyx_GOTREF(__pyx_t_1);
5164
- __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 177, __pyx_L1_error)
5211
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_1); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 180, __pyx_L1_error)
5165
5212
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5166
5213
  if (__pyx_t_6) {
5167
5214
 
5168
- /* "a_sync/a_sync/modifiers/manager.pyx":178
5215
+ /* "a_sync/a_sync/modifiers/manager.pyx":181
5169
5216
  * coro_fn = apply_semaphore(coro_fn, self.semaphore)
5170
5217
  * if self.use_cache:
5171
5218
  * coro_fn = apply_async_cache( # <<<<<<<<<<<<<<
5172
5219
  * coro_fn,
5173
5220
  * cache_type=self.cache_type or "memory",
5174
5221
  */
5175
- __Pyx_TraceLine(178,0,__PYX_ERR(0, 178, __pyx_L1_error))
5176
- __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 178, __pyx_L1_error)
5222
+ __Pyx_TraceLine(181,0,__PYX_ERR(0, 181, __pyx_L1_error))
5223
+ __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 181, __pyx_L1_error)
5177
5224
  __Pyx_GOTREF(__pyx_t_1);
5178
5225
  __Pyx_INCREF(__pyx_v_coro_fn);
5179
5226
  __Pyx_GIVEREF(__pyx_v_coro_fn);
5180
- if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_coro_fn)) __PYX_ERR(0, 178, __pyx_L1_error);
5227
+ if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_coro_fn)) __PYX_ERR(0, 181, __pyx_L1_error);
5181
5228
 
5182
- /* "a_sync/a_sync/modifiers/manager.pyx":180
5229
+ /* "a_sync/a_sync/modifiers/manager.pyx":183
5183
5230
  * coro_fn = apply_async_cache(
5184
5231
  * coro_fn,
5185
5232
  * cache_type=self.cache_type or "memory", # <<<<<<<<<<<<<<
5186
5233
  * cache_typed=self.cache_typed,
5187
5234
  * ram_cache_maxsize=self.ram_cache_maxsize,
5188
5235
  */
5189
- __Pyx_TraceLine(180,0,__PYX_ERR(0, 180, __pyx_L1_error))
5190
- __pyx_t_2 = __Pyx_PyDict_NewPresized(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 180, __pyx_L1_error)
5236
+ __Pyx_TraceLine(183,0,__PYX_ERR(0, 183, __pyx_L1_error))
5237
+ __pyx_t_2 = __Pyx_PyDict_NewPresized(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 183, __pyx_L1_error)
5191
5238
  __Pyx_GOTREF(__pyx_t_2);
5192
- __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_cache_type); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 180, __pyx_L1_error)
5239
+ __pyx_t_4 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_cache_type); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 183, __pyx_L1_error)
5193
5240
  __Pyx_GOTREF(__pyx_t_4);
5194
- __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 180, __pyx_L1_error)
5241
+ __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(0, 183, __pyx_L1_error)
5195
5242
  if (!__pyx_t_6) {
5196
5243
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5197
5244
  } else {
@@ -5203,64 +5250,64 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_a
5203
5250
  __Pyx_INCREF(__pyx_n_u_memory);
5204
5251
  __pyx_t_3 = __pyx_n_u_memory;
5205
5252
  __pyx_L6_bool_binop_done:;
5206
- if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_cache_type, __pyx_t_3) < 0) __PYX_ERR(0, 180, __pyx_L1_error)
5253
+ if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_cache_type, __pyx_t_3) < 0) __PYX_ERR(0, 183, __pyx_L1_error)
5207
5254
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5208
5255
 
5209
- /* "a_sync/a_sync/modifiers/manager.pyx":181
5256
+ /* "a_sync/a_sync/modifiers/manager.pyx":184
5210
5257
  * coro_fn,
5211
5258
  * cache_type=self.cache_type or "memory",
5212
5259
  * cache_typed=self.cache_typed, # <<<<<<<<<<<<<<
5213
5260
  * ram_cache_maxsize=self.ram_cache_maxsize,
5214
5261
  * ram_cache_ttl=self.ram_cache_ttl,
5215
5262
  */
5216
- __Pyx_TraceLine(181,0,__PYX_ERR(0, 181, __pyx_L1_error))
5217
- __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_cache_typed); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 181, __pyx_L1_error)
5263
+ __Pyx_TraceLine(184,0,__PYX_ERR(0, 184, __pyx_L1_error))
5264
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_cache_typed); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 184, __pyx_L1_error)
5218
5265
  __Pyx_GOTREF(__pyx_t_3);
5219
- if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_cache_typed, __pyx_t_3) < 0) __PYX_ERR(0, 180, __pyx_L1_error)
5266
+ if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_cache_typed, __pyx_t_3) < 0) __PYX_ERR(0, 183, __pyx_L1_error)
5220
5267
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5221
5268
 
5222
- /* "a_sync/a_sync/modifiers/manager.pyx":182
5269
+ /* "a_sync/a_sync/modifiers/manager.pyx":185
5223
5270
  * cache_type=self.cache_type or "memory",
5224
5271
  * cache_typed=self.cache_typed,
5225
5272
  * ram_cache_maxsize=self.ram_cache_maxsize, # <<<<<<<<<<<<<<
5226
5273
  * ram_cache_ttl=self.ram_cache_ttl,
5227
5274
  * )
5228
5275
  */
5229
- __Pyx_TraceLine(182,0,__PYX_ERR(0, 182, __pyx_L1_error))
5230
- __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_ram_cache_maxsize); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 182, __pyx_L1_error)
5276
+ __Pyx_TraceLine(185,0,__PYX_ERR(0, 185, __pyx_L1_error))
5277
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_ram_cache_maxsize); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 185, __pyx_L1_error)
5231
5278
  __Pyx_GOTREF(__pyx_t_3);
5232
- if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_ram_cache_maxsize, __pyx_t_3) < 0) __PYX_ERR(0, 180, __pyx_L1_error)
5279
+ if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_ram_cache_maxsize, __pyx_t_3) < 0) __PYX_ERR(0, 183, __pyx_L1_error)
5233
5280
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5234
5281
 
5235
- /* "a_sync/a_sync/modifiers/manager.pyx":183
5282
+ /* "a_sync/a_sync/modifiers/manager.pyx":186
5236
5283
  * cache_typed=self.cache_typed,
5237
5284
  * ram_cache_maxsize=self.ram_cache_maxsize,
5238
5285
  * ram_cache_ttl=self.ram_cache_ttl, # <<<<<<<<<<<<<<
5239
5286
  * )
5240
5287
  * return coro_fn
5241
5288
  */
5242
- __Pyx_TraceLine(183,0,__PYX_ERR(0, 183, __pyx_L1_error))
5243
- __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_ram_cache_ttl); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 183, __pyx_L1_error)
5289
+ __Pyx_TraceLine(186,0,__PYX_ERR(0, 186, __pyx_L1_error))
5290
+ __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_ram_cache_ttl); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 186, __pyx_L1_error)
5244
5291
  __Pyx_GOTREF(__pyx_t_3);
5245
- if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_ram_cache_ttl, __pyx_t_3) < 0) __PYX_ERR(0, 180, __pyx_L1_error)
5292
+ if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_ram_cache_ttl, __pyx_t_3) < 0) __PYX_ERR(0, 183, __pyx_L1_error)
5246
5293
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5247
5294
 
5248
- /* "a_sync/a_sync/modifiers/manager.pyx":178
5295
+ /* "a_sync/a_sync/modifiers/manager.pyx":181
5249
5296
  * coro_fn = apply_semaphore(coro_fn, self.semaphore)
5250
5297
  * if self.use_cache:
5251
5298
  * coro_fn = apply_async_cache( # <<<<<<<<<<<<<<
5252
5299
  * coro_fn,
5253
5300
  * cache_type=self.cache_type or "memory",
5254
5301
  */
5255
- __Pyx_TraceLine(178,0,__PYX_ERR(0, 178, __pyx_L1_error))
5256
- __pyx_t_3 = __Pyx_PyObject_Call(__pyx_v_6a_sync_6a_sync_9modifiers_7manager_apply_async_cache, __pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 178, __pyx_L1_error)
5302
+ __Pyx_TraceLine(181,0,__PYX_ERR(0, 181, __pyx_L1_error))
5303
+ __pyx_t_3 = __Pyx_PyObject_Call(__pyx_v_6a_sync_6a_sync_9modifiers_7manager_apply_async_cache, __pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 181, __pyx_L1_error)
5257
5304
  __Pyx_GOTREF(__pyx_t_3);
5258
5305
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5259
5306
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5260
5307
  __Pyx_DECREF_SET(__pyx_v_coro_fn, __pyx_t_3);
5261
5308
  __pyx_t_3 = 0;
5262
5309
 
5263
- /* "a_sync/a_sync/modifiers/manager.pyx":177
5310
+ /* "a_sync/a_sync/modifiers/manager.pyx":180
5264
5311
  * if self.use_semaphore:
5265
5312
  * coro_fn = apply_semaphore(coro_fn, self.semaphore)
5266
5313
  * if self.use_cache: # <<<<<<<<<<<<<<
@@ -5269,20 +5316,20 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_a
5269
5316
  */
5270
5317
  }
5271
5318
 
5272
- /* "a_sync/a_sync/modifiers/manager.pyx":185
5319
+ /* "a_sync/a_sync/modifiers/manager.pyx":188
5273
5320
  * ram_cache_ttl=self.ram_cache_ttl,
5274
5321
  * )
5275
5322
  * return coro_fn # <<<<<<<<<<<<<<
5276
5323
  *
5277
5324
  * def apply_sync_modifiers(self, function: SyncFn[P, T]) -> SyncFn[P, T]:
5278
5325
  */
5279
- __Pyx_TraceLine(185,0,__PYX_ERR(0, 185, __pyx_L1_error))
5326
+ __Pyx_TraceLine(188,0,__PYX_ERR(0, 188, __pyx_L1_error))
5280
5327
  __Pyx_XDECREF(__pyx_r);
5281
5328
  __Pyx_INCREF(__pyx_v_coro_fn);
5282
5329
  __pyx_r = __pyx_v_coro_fn;
5283
5330
  goto __pyx_L0;
5284
5331
 
5285
- /* "a_sync/a_sync/modifiers/manager.pyx":157
5332
+ /* "a_sync/a_sync/modifiers/manager.pyx":160
5286
5333
  * )
5287
5334
  *
5288
5335
  * cpdef object apply_async_modifiers(self, coro_fn: CoroFn[P, T]): # <<<<<<<<<<<<<<
@@ -5307,16 +5354,16 @@ static PyObject *__pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_a
5307
5354
  }
5308
5355
 
5309
5356
  /* Python wrapper */
5310
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_7apply_async_modifiers(PyObject *__pyx_v_self,
5357
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_9apply_async_modifiers(PyObject *__pyx_v_self,
5311
5358
  #if CYTHON_METH_FASTCALL
5312
5359
  PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
5313
5360
  #else
5314
5361
  PyObject *__pyx_args, PyObject *__pyx_kwds
5315
5362
  #endif
5316
5363
  ); /*proto*/
5317
- PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_6apply_async_modifiers, "ModifierManager.apply_async_modifiers(self, coro_fn: CoroFn[P, T])\nApplies asynchronous modifiers to a coroutine function.\n\n Args:\n coro_fn: The coroutine function to modify.\n\n Returns:\n The modified coroutine function.\n\n Examples:\n >>> async def my_coro():\n ... pass\n >>> manager = ModifierManager(runs_per_minute=60)\n >>> modified_coro = manager.apply_async_modifiers(my_coro)\n ");
5318
- static PyMethodDef __pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_7apply_async_modifiers = {"apply_async_modifiers", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_7apply_async_modifiers, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_6apply_async_modifiers};
5319
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_7apply_async_modifiers(PyObject *__pyx_v_self,
5364
+ PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_8apply_async_modifiers, "ModifierManager.apply_async_modifiers(self, coro_fn: CoroFn[P, T])\nApplies asynchronous modifiers to a coroutine function.\n\n Args:\n coro_fn: The coroutine function to modify.\n\n Returns:\n The modified coroutine function.\n\n Examples:\n >>> async def my_coro():\n ... pass\n >>> manager = ModifierManager(runs_per_minute=60)\n >>> modified_coro = manager.apply_async_modifiers(my_coro)\n ");
5365
+ static PyMethodDef __pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_9apply_async_modifiers = {"apply_async_modifiers", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_9apply_async_modifiers, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_8apply_async_modifiers};
5366
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_9apply_async_modifiers(PyObject *__pyx_v_self,
5320
5367
  #if CYTHON_METH_FASTCALL
5321
5368
  PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
5322
5369
  #else
@@ -5360,12 +5407,12 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
5360
5407
  (void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
5361
5408
  kw_args--;
5362
5409
  }
5363
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 157, __pyx_L3_error)
5410
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 160, __pyx_L3_error)
5364
5411
  else goto __pyx_L5_argtuple_error;
5365
5412
  }
5366
5413
  if (unlikely(kw_args > 0)) {
5367
5414
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
5368
- if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "apply_async_modifiers") < 0)) __PYX_ERR(0, 157, __pyx_L3_error)
5415
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "apply_async_modifiers") < 0)) __PYX_ERR(0, 160, __pyx_L3_error)
5369
5416
  }
5370
5417
  } else if (unlikely(__pyx_nargs != 1)) {
5371
5418
  goto __pyx_L5_argtuple_error;
@@ -5376,7 +5423,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
5376
5423
  }
5377
5424
  goto __pyx_L6_skip;
5378
5425
  __pyx_L5_argtuple_error:;
5379
- __Pyx_RaiseArgtupleInvalid("apply_async_modifiers", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 157, __pyx_L3_error)
5426
+ __Pyx_RaiseArgtupleInvalid("apply_async_modifiers", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 160, __pyx_L3_error)
5380
5427
  __pyx_L6_skip:;
5381
5428
  goto __pyx_L4_argument_unpacking_done;
5382
5429
  __pyx_L3_error:;
@@ -5390,7 +5437,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
5390
5437
  __Pyx_RefNannyFinishContext();
5391
5438
  return NULL;
5392
5439
  __pyx_L4_argument_unpacking_done:;
5393
- __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_6apply_async_modifiers(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self), __pyx_v_coro_fn);
5440
+ __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_8apply_async_modifiers(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self), __pyx_v_coro_fn);
5394
5441
 
5395
5442
  /* function exit code */
5396
5443
  {
@@ -5403,7 +5450,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
5403
5450
  return __pyx_r;
5404
5451
  }
5405
5452
 
5406
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_6apply_async_modifiers(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_coro_fn) {
5453
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_8apply_async_modifiers(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_coro_fn) {
5407
5454
  PyObject *__pyx_r = NULL;
5408
5455
  __Pyx_TraceDeclarations
5409
5456
  __Pyx_RefNannyDeclarations
@@ -5411,11 +5458,11 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5411
5458
  int __pyx_lineno = 0;
5412
5459
  const char *__pyx_filename = NULL;
5413
5460
  int __pyx_clineno = 0;
5414
- __Pyx_TraceFrameInit(__pyx_codeobj__3)
5461
+ __Pyx_TraceFrameInit(__pyx_codeobj__4)
5415
5462
  __Pyx_RefNannySetupContext("apply_async_modifiers", 1);
5416
- __Pyx_TraceCall("apply_async_modifiers (wrapper)", __pyx_f[0], 157, 0, __PYX_ERR(0, 157, __pyx_L1_error));
5463
+ __Pyx_TraceCall("apply_async_modifiers (wrapper)", __pyx_f[0], 160, 0, __PYX_ERR(0, 160, __pyx_L1_error));
5417
5464
  __Pyx_XDECREF(__pyx_r);
5418
- __pyx_t_1 = __pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_apply_async_modifiers(__pyx_v_self, __pyx_v_coro_fn, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 157, __pyx_L1_error)
5465
+ __pyx_t_1 = __pyx_f_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_apply_async_modifiers(__pyx_v_self, __pyx_v_coro_fn, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 160, __pyx_L1_error)
5419
5466
  __Pyx_GOTREF(__pyx_t_1);
5420
5467
  __pyx_r = __pyx_t_1;
5421
5468
  __pyx_t_1 = 0;
@@ -5433,7 +5480,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5433
5480
  return __pyx_r;
5434
5481
  }
5435
5482
 
5436
- /* "a_sync/a_sync/modifiers/manager.pyx":187
5483
+ /* "a_sync/a_sync/modifiers/manager.pyx":190
5437
5484
  * return coro_fn
5438
5485
  *
5439
5486
  * def apply_sync_modifiers(self, function: SyncFn[P, T]) -> SyncFn[P, T]: # <<<<<<<<<<<<<<
@@ -5442,16 +5489,16 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5442
5489
  */
5443
5490
 
5444
5491
  /* Python wrapper */
5445
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_9apply_sync_modifiers(PyObject *__pyx_v_self,
5492
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_11apply_sync_modifiers(PyObject *__pyx_v_self,
5446
5493
  #if CYTHON_METH_FASTCALL
5447
5494
  PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
5448
5495
  #else
5449
5496
  PyObject *__pyx_args, PyObject *__pyx_kwds
5450
5497
  #endif
5451
5498
  ); /*proto*/
5452
- PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_8apply_sync_modifiers, "ModifierManager.apply_sync_modifiers(self, function: SyncFn[P, T]) -> SyncFn[P, T]\nWraps a synchronous function.\n\n Note:\n There are no sync modifiers at this time, but they will be added here for convenience.\n\n Args:\n function: The synchronous function to wrap.\n\n Returns:\n The wrapped synchronous function.\n\n Examples:\n >>> def my_function():\n ... pass\n >>> manager = ModifierManager()\n >>> modified_function = manager.apply_sync_modifiers(my_function)\n ");
5453
- static PyMethodDef __pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_9apply_sync_modifiers = {"apply_sync_modifiers", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_9apply_sync_modifiers, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_8apply_sync_modifiers};
5454
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_9apply_sync_modifiers(PyObject *__pyx_v_self,
5499
+ PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_10apply_sync_modifiers, "ModifierManager.apply_sync_modifiers(self, function: SyncFn[P, T]) -> SyncFn[P, T]\nWraps a synchronous function.\n\n Note:\n There are no sync modifiers at this time, but they will be added here for convenience.\n\n Args:\n function: The synchronous function to wrap.\n\n Returns:\n The wrapped synchronous function.\n\n Examples:\n >>> def my_function():\n ... pass\n >>> manager = ModifierManager()\n >>> modified_function = manager.apply_sync_modifiers(my_function)\n ");
5500
+ static PyMethodDef __pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_11apply_sync_modifiers = {"apply_sync_modifiers", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_11apply_sync_modifiers, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_10apply_sync_modifiers};
5501
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_11apply_sync_modifiers(PyObject *__pyx_v_self,
5455
5502
  #if CYTHON_METH_FASTCALL
5456
5503
  PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
5457
5504
  #else
@@ -5495,12 +5542,12 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
5495
5542
  (void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
5496
5543
  kw_args--;
5497
5544
  }
5498
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 187, __pyx_L3_error)
5545
+ else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 190, __pyx_L3_error)
5499
5546
  else goto __pyx_L5_argtuple_error;
5500
5547
  }
5501
5548
  if (unlikely(kw_args > 0)) {
5502
5549
  const Py_ssize_t kwd_pos_args = __pyx_nargs;
5503
- if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "apply_sync_modifiers") < 0)) __PYX_ERR(0, 187, __pyx_L3_error)
5550
+ if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "apply_sync_modifiers") < 0)) __PYX_ERR(0, 190, __pyx_L3_error)
5504
5551
  }
5505
5552
  } else if (unlikely(__pyx_nargs != 1)) {
5506
5553
  goto __pyx_L5_argtuple_error;
@@ -5511,7 +5558,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
5511
5558
  }
5512
5559
  goto __pyx_L6_skip;
5513
5560
  __pyx_L5_argtuple_error:;
5514
- __Pyx_RaiseArgtupleInvalid("apply_sync_modifiers", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 187, __pyx_L3_error)
5561
+ __Pyx_RaiseArgtupleInvalid("apply_sync_modifiers", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 190, __pyx_L3_error)
5515
5562
  __pyx_L6_skip:;
5516
5563
  goto __pyx_L4_argument_unpacking_done;
5517
5564
  __pyx_L3_error:;
@@ -5525,7 +5572,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
5525
5572
  __Pyx_RefNannyFinishContext();
5526
5573
  return NULL;
5527
5574
  __pyx_L4_argument_unpacking_done:;
5528
- __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_8apply_sync_modifiers(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self), __pyx_v_function);
5575
+ __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_10apply_sync_modifiers(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self), __pyx_v_function);
5529
5576
 
5530
5577
  /* function exit code */
5531
5578
  {
@@ -5538,7 +5585,7 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
5538
5585
  return __pyx_r;
5539
5586
  }
5540
5587
 
5541
- /* "a_sync/a_sync/modifiers/manager.pyx":206
5588
+ /* "a_sync/a_sync/modifiers/manager.pyx":209
5542
5589
  * """
5543
5590
  *
5544
5591
  * @wraps(function) # <<<<<<<<<<<<<<
@@ -5598,28 +5645,28 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5598
5645
  __Pyx_RefNannySetupContext("sync_modifier_wrap", 1);
5599
5646
  __pyx_outer_scope = (struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers *) __Pyx_CyFunction_GetClosure(__pyx_self);
5600
5647
  __pyx_cur_scope = __pyx_outer_scope;
5601
- __Pyx_TraceCall("sync_modifier_wrap", __pyx_f[0], 206, 0, __PYX_ERR(0, 206, __pyx_L1_error));
5648
+ __Pyx_TraceCall("sync_modifier_wrap", __pyx_f[0], 209, 0, __PYX_ERR(0, 209, __pyx_L1_error));
5602
5649
 
5603
- /* "a_sync/a_sync/modifiers/manager.pyx":208
5650
+ /* "a_sync/a_sync/modifiers/manager.pyx":211
5604
5651
  * @wraps(function)
5605
5652
  * def sync_modifier_wrap(*args: P.args, **kwargs: P.kwargs) -> T:
5606
5653
  * return function(*args, **kwargs) # <<<<<<<<<<<<<<
5607
5654
  *
5608
5655
  * return sync_modifier_wrap
5609
5656
  */
5610
- __Pyx_TraceLine(208,0,__PYX_ERR(0, 208, __pyx_L1_error))
5657
+ __Pyx_TraceLine(211,0,__PYX_ERR(0, 211, __pyx_L1_error))
5611
5658
  __Pyx_XDECREF(__pyx_r);
5612
- if (unlikely(!__pyx_cur_scope->__pyx_v_function)) { __Pyx_RaiseClosureNameError("function"); __PYX_ERR(0, 208, __pyx_L1_error) }
5613
- __pyx_t_1 = PyDict_Copy(__pyx_v_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 208, __pyx_L1_error)
5659
+ if (unlikely(!__pyx_cur_scope->__pyx_v_function)) { __Pyx_RaiseClosureNameError("function"); __PYX_ERR(0, 211, __pyx_L1_error) }
5660
+ __pyx_t_1 = PyDict_Copy(__pyx_v_kwargs); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 211, __pyx_L1_error)
5614
5661
  __Pyx_GOTREF(__pyx_t_1);
5615
- __pyx_t_2 = __Pyx_PyObject_Call(__pyx_cur_scope->__pyx_v_function, __pyx_v_args, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 208, __pyx_L1_error)
5662
+ __pyx_t_2 = __Pyx_PyObject_Call(__pyx_cur_scope->__pyx_v_function, __pyx_v_args, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 211, __pyx_L1_error)
5616
5663
  __Pyx_GOTREF(__pyx_t_2);
5617
5664
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
5618
5665
  __pyx_r = __pyx_t_2;
5619
5666
  __pyx_t_2 = 0;
5620
5667
  goto __pyx_L0;
5621
5668
 
5622
- /* "a_sync/a_sync/modifiers/manager.pyx":206
5669
+ /* "a_sync/a_sync/modifiers/manager.pyx":209
5623
5670
  * """
5624
5671
  *
5625
5672
  * @wraps(function) # <<<<<<<<<<<<<<
@@ -5640,7 +5687,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5640
5687
  return __pyx_r;
5641
5688
  }
5642
5689
 
5643
- /* "a_sync/a_sync/modifiers/manager.pyx":187
5690
+ /* "a_sync/a_sync/modifiers/manager.pyx":190
5644
5691
  * return coro_fn
5645
5692
  *
5646
5693
  * def apply_sync_modifiers(self, function: SyncFn[P, T]) -> SyncFn[P, T]: # <<<<<<<<<<<<<<
@@ -5648,7 +5695,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5648
5695
  *
5649
5696
  */
5650
5697
 
5651
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_8apply_sync_modifiers(CYTHON_UNUSED struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_function) {
5698
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_10apply_sync_modifiers(CYTHON_UNUSED struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_function) {
5652
5699
  struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers *__pyx_cur_scope;
5653
5700
  PyObject *__pyx_v_sync_modifier_wrap = 0;
5654
5701
  PyObject *__pyx_r = NULL;
@@ -5662,40 +5709,40 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5662
5709
  int __pyx_lineno = 0;
5663
5710
  const char *__pyx_filename = NULL;
5664
5711
  int __pyx_clineno = 0;
5665
- __Pyx_TraceFrameInit(__pyx_codeobj__4)
5712
+ __Pyx_TraceFrameInit(__pyx_codeobj__5)
5666
5713
  __Pyx_RefNannySetupContext("apply_sync_modifiers", 0);
5667
5714
  __pyx_cur_scope = (struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers *)__pyx_tp_new_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers(__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers, __pyx_empty_tuple, NULL);
5668
5715
  if (unlikely(!__pyx_cur_scope)) {
5669
5716
  __pyx_cur_scope = ((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers *)Py_None);
5670
5717
  __Pyx_INCREF(Py_None);
5671
- __PYX_ERR(0, 187, __pyx_L1_error)
5718
+ __PYX_ERR(0, 190, __pyx_L1_error)
5672
5719
  } else {
5673
5720
  __Pyx_GOTREF((PyObject *)__pyx_cur_scope);
5674
5721
  }
5675
- __Pyx_TraceCall("apply_sync_modifiers", __pyx_f[0], 187, 0, __PYX_ERR(0, 187, __pyx_L1_error));
5722
+ __Pyx_TraceCall("apply_sync_modifiers", __pyx_f[0], 190, 0, __PYX_ERR(0, 190, __pyx_L1_error));
5676
5723
  __pyx_cur_scope->__pyx_v_function = __pyx_v_function;
5677
5724
  __Pyx_INCREF(__pyx_cur_scope->__pyx_v_function);
5678
5725
  __Pyx_GIVEREF(__pyx_cur_scope->__pyx_v_function);
5679
5726
 
5680
- /* "a_sync/a_sync/modifiers/manager.pyx":206
5727
+ /* "a_sync/a_sync/modifiers/manager.pyx":209
5681
5728
  * """
5682
5729
  *
5683
5730
  * @wraps(function) # <<<<<<<<<<<<<<
5684
5731
  * def sync_modifier_wrap(*args: P.args, **kwargs: P.kwargs) -> T:
5685
5732
  * return function(*args, **kwargs)
5686
5733
  */
5687
- __Pyx_TraceLine(206,0,__PYX_ERR(0, 206, __pyx_L1_error))
5734
+ __Pyx_TraceLine(209,0,__PYX_ERR(0, 209, __pyx_L1_error))
5688
5735
  __pyx_t_2 = __pyx_cur_scope->__pyx_v_function;
5689
5736
  __Pyx_INCREF(__pyx_t_2);
5690
- __pyx_t_3 = __pyx_f_6a_sync_9functools_wraps(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 206, __pyx_L1_error)
5737
+ __pyx_t_3 = __pyx_f_6a_sync_9functools_wraps(__pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 209, __pyx_L1_error)
5691
5738
  __Pyx_GOTREF(__pyx_t_3);
5692
5739
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
5693
- __pyx_t_2 = __Pyx_PyDict_NewPresized(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 206, __pyx_L1_error)
5740
+ __pyx_t_2 = __Pyx_PyDict_NewPresized(3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 209, __pyx_L1_error)
5694
5741
  __Pyx_GOTREF(__pyx_t_2);
5695
- if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_args, __pyx_kp_s_P_args) < 0) __PYX_ERR(0, 206, __pyx_L1_error)
5696
- if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_kwargs, __pyx_kp_s_P_kwargs) < 0) __PYX_ERR(0, 206, __pyx_L1_error)
5697
- if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_return, __pyx_n_s_T) < 0) __PYX_ERR(0, 206, __pyx_L1_error)
5698
- __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20apply_sync_modifiers_1sync_modifier_wrap, 0, __pyx_n_s_apply_sync_modifiers_locals_sync, ((PyObject*)__pyx_cur_scope), __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__6)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 206, __pyx_L1_error)
5742
+ if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_args, __pyx_kp_s_P_args) < 0) __PYX_ERR(0, 209, __pyx_L1_error)
5743
+ if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_kwargs, __pyx_kp_s_P_kwargs) < 0) __PYX_ERR(0, 209, __pyx_L1_error)
5744
+ if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_return, __pyx_n_s_T) < 0) __PYX_ERR(0, 209, __pyx_L1_error)
5745
+ __pyx_t_4 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20apply_sync_modifiers_1sync_modifier_wrap, 0, __pyx_n_s_apply_sync_modifiers_locals_sync, ((PyObject*)__pyx_cur_scope), __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__7)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 209, __pyx_L1_error)
5699
5746
  __Pyx_GOTREF(__pyx_t_4);
5700
5747
  __Pyx_CyFunction_SetAnnotationsDict(__pyx_t_4, __pyx_t_2);
5701
5748
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
@@ -5718,27 +5765,27 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5718
5765
  __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5);
5719
5766
  __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
5720
5767
  __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
5721
- if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 206, __pyx_L1_error)
5768
+ if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 209, __pyx_L1_error)
5722
5769
  __Pyx_GOTREF(__pyx_t_1);
5723
5770
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
5724
5771
  }
5725
5772
  __pyx_v_sync_modifier_wrap = __pyx_t_1;
5726
5773
  __pyx_t_1 = 0;
5727
5774
 
5728
- /* "a_sync/a_sync/modifiers/manager.pyx":210
5775
+ /* "a_sync/a_sync/modifiers/manager.pyx":213
5729
5776
  * return function(*args, **kwargs)
5730
5777
  *
5731
5778
  * return sync_modifier_wrap # <<<<<<<<<<<<<<
5732
5779
  *
5733
5780
  * # Dictionary-like API
5734
5781
  */
5735
- __Pyx_TraceLine(210,0,__PYX_ERR(0, 210, __pyx_L1_error))
5782
+ __Pyx_TraceLine(213,0,__PYX_ERR(0, 213, __pyx_L1_error))
5736
5783
  __Pyx_XDECREF(__pyx_r);
5737
5784
  __Pyx_INCREF(__pyx_v_sync_modifier_wrap);
5738
5785
  __pyx_r = __pyx_v_sync_modifier_wrap;
5739
5786
  goto __pyx_L0;
5740
5787
 
5741
- /* "a_sync/a_sync/modifiers/manager.pyx":187
5788
+ /* "a_sync/a_sync/modifiers/manager.pyx":190
5742
5789
  * return coro_fn
5743
5790
  *
5744
5791
  * def apply_sync_modifiers(self, function: SyncFn[P, T]) -> SyncFn[P, T]: # <<<<<<<<<<<<<<
@@ -5763,7 +5810,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5763
5810
  return __pyx_r;
5764
5811
  }
5765
5812
 
5766
- /* "a_sync/a_sync/modifiers/manager.pyx":213
5813
+ /* "a_sync/a_sync/modifiers/manager.pyx":216
5767
5814
  *
5768
5815
  * # Dictionary-like API
5769
5816
  * def keys(self) -> KeysView[str]: # type: ignore [override] # <<<<<<<<<<<<<<
@@ -5772,16 +5819,16 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5772
5819
  */
5773
5820
 
5774
5821
  /* Python wrapper */
5775
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_11keys(PyObject *__pyx_v_self,
5822
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_13keys(PyObject *__pyx_v_self,
5776
5823
  #if CYTHON_METH_FASTCALL
5777
5824
  PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
5778
5825
  #else
5779
5826
  PyObject *__pyx_args, PyObject *__pyx_kwds
5780
5827
  #endif
5781
5828
  ); /*proto*/
5782
- PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_10keys, "ModifierManager.keys(self) -> KeysView[str]\nReturns the keys of the modifiers.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> list(manager.keys())\n ['cache_type']\n ");
5783
- static PyMethodDef __pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_11keys = {"keys", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_11keys, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_10keys};
5784
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_11keys(PyObject *__pyx_v_self,
5829
+ PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_12keys, "ModifierManager.keys(self) -> KeysView[str]\nReturns the keys of the modifiers.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> list(manager.keys())\n ['cache_type']\n ");
5830
+ static PyMethodDef __pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_13keys = {"keys", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_13keys, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_12keys};
5831
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_13keys(PyObject *__pyx_v_self,
5785
5832
  #if CYTHON_METH_FASTCALL
5786
5833
  PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
5787
5834
  #else
@@ -5806,14 +5853,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
5806
5853
  if (unlikely(__pyx_nargs > 0)) {
5807
5854
  __Pyx_RaiseArgtupleInvalid("keys", 1, 0, 0, __pyx_nargs); return NULL;}
5808
5855
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "keys", 0))) return NULL;
5809
- __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_10keys(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self));
5856
+ __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_12keys(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self));
5810
5857
 
5811
5858
  /* function exit code */
5812
5859
  __Pyx_RefNannyFinishContext();
5813
5860
  return __pyx_r;
5814
5861
  }
5815
5862
 
5816
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_10keys(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self) {
5863
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_12keys(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self) {
5817
5864
  PyObject *__pyx_r = NULL;
5818
5865
  __Pyx_TraceDeclarations
5819
5866
  __Pyx_RefNannyDeclarations
@@ -5821,30 +5868,30 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5821
5868
  int __pyx_lineno = 0;
5822
5869
  const char *__pyx_filename = NULL;
5823
5870
  int __pyx_clineno = 0;
5824
- __Pyx_TraceFrameInit(__pyx_codeobj__7)
5871
+ __Pyx_TraceFrameInit(__pyx_codeobj__8)
5825
5872
  __Pyx_RefNannySetupContext("keys", 1);
5826
- __Pyx_TraceCall("keys", __pyx_f[0], 213, 0, __PYX_ERR(0, 213, __pyx_L1_error));
5873
+ __Pyx_TraceCall("keys", __pyx_f[0], 216, 0, __PYX_ERR(0, 216, __pyx_L1_error));
5827
5874
 
5828
- /* "a_sync/a_sync/modifiers/manager.pyx":221
5875
+ /* "a_sync/a_sync/modifiers/manager.pyx":224
5829
5876
  * ['cache_type']
5830
5877
  * """
5831
5878
  * return self._modifiers.keys() # <<<<<<<<<<<<<<
5832
5879
  *
5833
5880
  * def values(self) -> ValuesView[Any]: # type: ignore [override]
5834
5881
  */
5835
- __Pyx_TraceLine(221,0,__PYX_ERR(0, 221, __pyx_L1_error))
5882
+ __Pyx_TraceLine(224,0,__PYX_ERR(0, 224, __pyx_L1_error))
5836
5883
  __Pyx_XDECREF(__pyx_r);
5837
5884
  if (unlikely(__pyx_v_self->_modifiers == Py_None)) {
5838
5885
  PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "keys");
5839
- __PYX_ERR(0, 221, __pyx_L1_error)
5886
+ __PYX_ERR(0, 224, __pyx_L1_error)
5840
5887
  }
5841
- __pyx_t_1 = __Pyx_PyDict_Keys(__pyx_v_self->_modifiers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 221, __pyx_L1_error)
5888
+ __pyx_t_1 = __Pyx_PyDict_Keys(__pyx_v_self->_modifiers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 224, __pyx_L1_error)
5842
5889
  __Pyx_GOTREF(__pyx_t_1);
5843
5890
  __pyx_r = __pyx_t_1;
5844
5891
  __pyx_t_1 = 0;
5845
5892
  goto __pyx_L0;
5846
5893
 
5847
- /* "a_sync/a_sync/modifiers/manager.pyx":213
5894
+ /* "a_sync/a_sync/modifiers/manager.pyx":216
5848
5895
  *
5849
5896
  * # Dictionary-like API
5850
5897
  * def keys(self) -> KeysView[str]: # type: ignore [override] # <<<<<<<<<<<<<<
@@ -5864,7 +5911,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5864
5911
  return __pyx_r;
5865
5912
  }
5866
5913
 
5867
- /* "a_sync/a_sync/modifiers/manager.pyx":223
5914
+ /* "a_sync/a_sync/modifiers/manager.pyx":226
5868
5915
  * return self._modifiers.keys()
5869
5916
  *
5870
5917
  * def values(self) -> ValuesView[Any]: # type: ignore [override] # <<<<<<<<<<<<<<
@@ -5873,16 +5920,16 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5873
5920
  */
5874
5921
 
5875
5922
  /* Python wrapper */
5876
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_13values(PyObject *__pyx_v_self,
5923
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_15values(PyObject *__pyx_v_self,
5877
5924
  #if CYTHON_METH_FASTCALL
5878
5925
  PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
5879
5926
  #else
5880
5927
  PyObject *__pyx_args, PyObject *__pyx_kwds
5881
5928
  #endif
5882
5929
  ); /*proto*/
5883
- PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_12values, "ModifierManager.values(self) -> ValuesView[Any]\nReturns the values of the modifiers.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> list(manager.values())\n ['memory']\n ");
5884
- static PyMethodDef __pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_13values = {"values", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_13values, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_12values};
5885
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_13values(PyObject *__pyx_v_self,
5930
+ PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_14values, "ModifierManager.values(self) -> ValuesView[Any]\nReturns the values of the modifiers.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> list(manager.values())\n ['memory']\n ");
5931
+ static PyMethodDef __pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_15values = {"values", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_15values, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_14values};
5932
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_15values(PyObject *__pyx_v_self,
5886
5933
  #if CYTHON_METH_FASTCALL
5887
5934
  PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
5888
5935
  #else
@@ -5907,14 +5954,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
5907
5954
  if (unlikely(__pyx_nargs > 0)) {
5908
5955
  __Pyx_RaiseArgtupleInvalid("values", 1, 0, 0, __pyx_nargs); return NULL;}
5909
5956
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "values", 0))) return NULL;
5910
- __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_12values(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self));
5957
+ __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_14values(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self));
5911
5958
 
5912
5959
  /* function exit code */
5913
5960
  __Pyx_RefNannyFinishContext();
5914
5961
  return __pyx_r;
5915
5962
  }
5916
5963
 
5917
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_12values(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self) {
5964
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_14values(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self) {
5918
5965
  PyObject *__pyx_r = NULL;
5919
5966
  __Pyx_TraceDeclarations
5920
5967
  __Pyx_RefNannyDeclarations
@@ -5922,30 +5969,30 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5922
5969
  int __pyx_lineno = 0;
5923
5970
  const char *__pyx_filename = NULL;
5924
5971
  int __pyx_clineno = 0;
5925
- __Pyx_TraceFrameInit(__pyx_codeobj__8)
5972
+ __Pyx_TraceFrameInit(__pyx_codeobj__9)
5926
5973
  __Pyx_RefNannySetupContext("values", 1);
5927
- __Pyx_TraceCall("values", __pyx_f[0], 223, 0, __PYX_ERR(0, 223, __pyx_L1_error));
5974
+ __Pyx_TraceCall("values", __pyx_f[0], 226, 0, __PYX_ERR(0, 226, __pyx_L1_error));
5928
5975
 
5929
- /* "a_sync/a_sync/modifiers/manager.pyx":231
5976
+ /* "a_sync/a_sync/modifiers/manager.pyx":234
5930
5977
  * ['memory']
5931
5978
  * """
5932
5979
  * return self._modifiers.values() # <<<<<<<<<<<<<<
5933
5980
  *
5934
5981
  * def items(self) -> ItemsView[str, Any]: # type: ignore [override]
5935
5982
  */
5936
- __Pyx_TraceLine(231,0,__PYX_ERR(0, 231, __pyx_L1_error))
5983
+ __Pyx_TraceLine(234,0,__PYX_ERR(0, 234, __pyx_L1_error))
5937
5984
  __Pyx_XDECREF(__pyx_r);
5938
5985
  if (unlikely(__pyx_v_self->_modifiers == Py_None)) {
5939
5986
  PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "values");
5940
- __PYX_ERR(0, 231, __pyx_L1_error)
5987
+ __PYX_ERR(0, 234, __pyx_L1_error)
5941
5988
  }
5942
- __pyx_t_1 = __Pyx_PyDict_Values(__pyx_v_self->_modifiers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 231, __pyx_L1_error)
5989
+ __pyx_t_1 = __Pyx_PyDict_Values(__pyx_v_self->_modifiers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 234, __pyx_L1_error)
5943
5990
  __Pyx_GOTREF(__pyx_t_1);
5944
5991
  __pyx_r = __pyx_t_1;
5945
5992
  __pyx_t_1 = 0;
5946
5993
  goto __pyx_L0;
5947
5994
 
5948
- /* "a_sync/a_sync/modifiers/manager.pyx":223
5995
+ /* "a_sync/a_sync/modifiers/manager.pyx":226
5949
5996
  * return self._modifiers.keys()
5950
5997
  *
5951
5998
  * def values(self) -> ValuesView[Any]: # type: ignore [override] # <<<<<<<<<<<<<<
@@ -5965,7 +6012,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5965
6012
  return __pyx_r;
5966
6013
  }
5967
6014
 
5968
- /* "a_sync/a_sync/modifiers/manager.pyx":233
6015
+ /* "a_sync/a_sync/modifiers/manager.pyx":236
5969
6016
  * return self._modifiers.values()
5970
6017
  *
5971
6018
  * def items(self) -> ItemsView[str, Any]: # type: ignore [override] # <<<<<<<<<<<<<<
@@ -5974,16 +6021,16 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
5974
6021
  */
5975
6022
 
5976
6023
  /* Python wrapper */
5977
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_15items(PyObject *__pyx_v_self,
6024
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_17items(PyObject *__pyx_v_self,
5978
6025
  #if CYTHON_METH_FASTCALL
5979
6026
  PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
5980
6027
  #else
5981
6028
  PyObject *__pyx_args, PyObject *__pyx_kwds
5982
6029
  #endif
5983
6030
  ); /*proto*/
5984
- PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_14items, "ModifierManager.items(self) -> ItemsView[str, Any]\nReturns the items of the modifiers.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> list(manager.items())\n [('cache_type', 'memory')]\n ");
5985
- static PyMethodDef __pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_15items = {"items", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_15items, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_14items};
5986
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_15items(PyObject *__pyx_v_self,
6031
+ PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16items, "ModifierManager.items(self) -> ItemsView[str, Any]\nReturns the items of the modifiers.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> list(manager.items())\n [('cache_type', 'memory')]\n ");
6032
+ static PyMethodDef __pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_17items = {"items", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_17items, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16items};
6033
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_17items(PyObject *__pyx_v_self,
5987
6034
  #if CYTHON_METH_FASTCALL
5988
6035
  PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
5989
6036
  #else
@@ -6008,14 +6055,14 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
6008
6055
  if (unlikely(__pyx_nargs > 0)) {
6009
6056
  __Pyx_RaiseArgtupleInvalid("items", 1, 0, 0, __pyx_nargs); return NULL;}
6010
6057
  if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "items", 0))) return NULL;
6011
- __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_14items(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self));
6058
+ __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16items(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self));
6012
6059
 
6013
6060
  /* function exit code */
6014
6061
  __Pyx_RefNannyFinishContext();
6015
6062
  return __pyx_r;
6016
6063
  }
6017
6064
 
6018
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_14items(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self) {
6065
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16items(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self) {
6019
6066
  PyObject *__pyx_r = NULL;
6020
6067
  __Pyx_TraceDeclarations
6021
6068
  __Pyx_RefNannyDeclarations
@@ -6023,30 +6070,30 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
6023
6070
  int __pyx_lineno = 0;
6024
6071
  const char *__pyx_filename = NULL;
6025
6072
  int __pyx_clineno = 0;
6026
- __Pyx_TraceFrameInit(__pyx_codeobj__9)
6073
+ __Pyx_TraceFrameInit(__pyx_codeobj__10)
6027
6074
  __Pyx_RefNannySetupContext("items", 1);
6028
- __Pyx_TraceCall("items", __pyx_f[0], 233, 0, __PYX_ERR(0, 233, __pyx_L1_error));
6075
+ __Pyx_TraceCall("items", __pyx_f[0], 236, 0, __PYX_ERR(0, 236, __pyx_L1_error));
6029
6076
 
6030
- /* "a_sync/a_sync/modifiers/manager.pyx":241
6077
+ /* "a_sync/a_sync/modifiers/manager.pyx":244
6031
6078
  * [('cache_type', 'memory')]
6032
6079
  * """
6033
6080
  * return self._modifiers.items() # <<<<<<<<<<<<<<
6034
6081
  *
6035
6082
  * def __contains__(self, str key) -> bint: # type: ignore [override]
6036
6083
  */
6037
- __Pyx_TraceLine(241,0,__PYX_ERR(0, 241, __pyx_L1_error))
6084
+ __Pyx_TraceLine(244,0,__PYX_ERR(0, 244, __pyx_L1_error))
6038
6085
  __Pyx_XDECREF(__pyx_r);
6039
6086
  if (unlikely(__pyx_v_self->_modifiers == Py_None)) {
6040
6087
  PyErr_Format(PyExc_AttributeError, "'NoneType' object has no attribute '%.30s'", "items");
6041
- __PYX_ERR(0, 241, __pyx_L1_error)
6088
+ __PYX_ERR(0, 244, __pyx_L1_error)
6042
6089
  }
6043
- __pyx_t_1 = __Pyx_PyDict_Items(__pyx_v_self->_modifiers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 241, __pyx_L1_error)
6090
+ __pyx_t_1 = __Pyx_PyDict_Items(__pyx_v_self->_modifiers); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 244, __pyx_L1_error)
6044
6091
  __Pyx_GOTREF(__pyx_t_1);
6045
6092
  __pyx_r = __pyx_t_1;
6046
6093
  __pyx_t_1 = 0;
6047
6094
  goto __pyx_L0;
6048
6095
 
6049
- /* "a_sync/a_sync/modifiers/manager.pyx":233
6096
+ /* "a_sync/a_sync/modifiers/manager.pyx":236
6050
6097
  * return self._modifiers.values()
6051
6098
  *
6052
6099
  * def items(self) -> ItemsView[str, Any]: # type: ignore [override] # <<<<<<<<<<<<<<
@@ -6066,7 +6113,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
6066
6113
  return __pyx_r;
6067
6114
  }
6068
6115
 
6069
- /* "a_sync/a_sync/modifiers/manager.pyx":243
6116
+ /* "a_sync/a_sync/modifiers/manager.pyx":246
6070
6117
  * return self._modifiers.items()
6071
6118
  *
6072
6119
  * def __contains__(self, str key) -> bint: # type: ignore [override] # <<<<<<<<<<<<<<
@@ -6075,12 +6122,12 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
6075
6122
  */
6076
6123
 
6077
6124
  /* Python wrapper */
6078
- static int __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_17__contains__(PyObject *__pyx_v_self, PyObject *__pyx_v_key); /*proto*/
6079
- PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16__contains__, "Checks if a key is in the modifiers.\n\n Args:\n key: The key to check.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> 'cache_type' in manager\n True\n ");
6125
+ static int __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_19__contains__(PyObject *__pyx_v_self, PyObject *__pyx_v_key); /*proto*/
6126
+ PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__contains__, "Checks if a key is in the modifiers.\n\n Args:\n key: The key to check.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> 'cache_type' in manager\n True\n ");
6080
6127
  #if CYTHON_UPDATE_DESCRIPTOR_DOC
6081
- struct wrapperbase __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16__contains__;
6128
+ struct wrapperbase __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__contains__;
6082
6129
  #endif
6083
- static int __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_17__contains__(PyObject *__pyx_v_self, PyObject *__pyx_v_key) {
6130
+ static int __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_19__contains__(PyObject *__pyx_v_self, PyObject *__pyx_v_key) {
6084
6131
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
6085
6132
  int __pyx_lineno = 0;
6086
6133
  const char *__pyx_filename = NULL;
@@ -6089,8 +6136,8 @@ static int __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_17__co
6089
6136
  __Pyx_RefNannyDeclarations
6090
6137
  __Pyx_RefNannySetupContext("__contains__ (wrapper)", 0);
6091
6138
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
6092
- if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_key), (&PyUnicode_Type), 1, "key", 1))) __PYX_ERR(0, 243, __pyx_L1_error)
6093
- __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16__contains__(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self), ((PyObject*)__pyx_v_key));
6139
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_key), (&PyUnicode_Type), 1, "key", 1))) __PYX_ERR(0, 246, __pyx_L1_error)
6140
+ __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__contains__(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self), ((PyObject*)__pyx_v_key));
6094
6141
 
6095
6142
  /* function exit code */
6096
6143
  goto __pyx_L0;
@@ -6101,32 +6148,32 @@ static int __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_17__co
6101
6148
  return __pyx_r;
6102
6149
  }
6103
6150
 
6104
- static int __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16__contains__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_key) {
6151
+ static int __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__contains__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_key) {
6105
6152
  int __pyx_r;
6106
6153
  __Pyx_TraceDeclarations
6107
6154
  int __pyx_t_1;
6108
6155
  int __pyx_lineno = 0;
6109
6156
  const char *__pyx_filename = NULL;
6110
6157
  int __pyx_clineno = 0;
6111
- __Pyx_TraceCall("__contains__", __pyx_f[0], 243, 0, __PYX_ERR(0, 243, __pyx_L1_error));
6158
+ __Pyx_TraceCall("__contains__", __pyx_f[0], 246, 0, __PYX_ERR(0, 246, __pyx_L1_error));
6112
6159
 
6113
- /* "a_sync/a_sync/modifiers/manager.pyx":254
6160
+ /* "a_sync/a_sync/modifiers/manager.pyx":257
6114
6161
  * True
6115
6162
  * """
6116
6163
  * return key in self._modifiers # <<<<<<<<<<<<<<
6117
6164
  *
6118
6165
  * def __iter__(self) -> Iterator[str]:
6119
6166
  */
6120
- __Pyx_TraceLine(254,0,__PYX_ERR(0, 254, __pyx_L1_error))
6167
+ __Pyx_TraceLine(257,0,__PYX_ERR(0, 257, __pyx_L1_error))
6121
6168
  if (unlikely(__pyx_v_self->_modifiers == Py_None)) {
6122
6169
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable");
6123
- __PYX_ERR(0, 254, __pyx_L1_error)
6170
+ __PYX_ERR(0, 257, __pyx_L1_error)
6124
6171
  }
6125
- __pyx_t_1 = (__Pyx_PyDict_ContainsTF(__pyx_v_key, __pyx_v_self->_modifiers, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 254, __pyx_L1_error)
6172
+ __pyx_t_1 = (__Pyx_PyDict_ContainsTF(__pyx_v_key, __pyx_v_self->_modifiers, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(0, 257, __pyx_L1_error)
6126
6173
  __pyx_r = __pyx_t_1;
6127
6174
  goto __pyx_L0;
6128
6175
 
6129
- /* "a_sync/a_sync/modifiers/manager.pyx":243
6176
+ /* "a_sync/a_sync/modifiers/manager.pyx":246
6130
6177
  * return self._modifiers.items()
6131
6178
  *
6132
6179
  * def __contains__(self, str key) -> bint: # type: ignore [override] # <<<<<<<<<<<<<<
@@ -6143,7 +6190,7 @@ static int __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16__co
6143
6190
  return __pyx_r;
6144
6191
  }
6145
6192
 
6146
- /* "a_sync/a_sync/modifiers/manager.pyx":256
6193
+ /* "a_sync/a_sync/modifiers/manager.pyx":259
6147
6194
  * return key in self._modifiers
6148
6195
  *
6149
6196
  * def __iter__(self) -> Iterator[str]: # <<<<<<<<<<<<<<
@@ -6152,25 +6199,25 @@ static int __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16__co
6152
6199
  */
6153
6200
 
6154
6201
  /* Python wrapper */
6155
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_19__iter__(PyObject *__pyx_v_self); /*proto*/
6156
- PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__iter__, "Returns an iterator over the modifier keys.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> list(iter(manager))\n ['cache_type']\n ");
6202
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_21__iter__(PyObject *__pyx_v_self); /*proto*/
6203
+ PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__iter__, "Returns an iterator over the modifier keys.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> list(iter(manager))\n ['cache_type']\n ");
6157
6204
  #if CYTHON_UPDATE_DESCRIPTOR_DOC
6158
- struct wrapperbase __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__iter__;
6205
+ struct wrapperbase __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__iter__;
6159
6206
  #endif
6160
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_19__iter__(PyObject *__pyx_v_self) {
6207
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_21__iter__(PyObject *__pyx_v_self) {
6161
6208
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
6162
6209
  PyObject *__pyx_r = 0;
6163
6210
  __Pyx_RefNannyDeclarations
6164
6211
  __Pyx_RefNannySetupContext("__iter__ (wrapper)", 0);
6165
6212
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
6166
- __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__iter__(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self));
6213
+ __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__iter__(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self));
6167
6214
 
6168
6215
  /* function exit code */
6169
6216
  __Pyx_RefNannyFinishContext();
6170
6217
  return __pyx_r;
6171
6218
  }
6172
6219
 
6173
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__iter__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self) {
6220
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__iter__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self) {
6174
6221
  PyObject *__pyx_r = NULL;
6175
6222
  __Pyx_TraceDeclarations
6176
6223
  __Pyx_RefNannyDeclarations
@@ -6180,27 +6227,27 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
6180
6227
  const char *__pyx_filename = NULL;
6181
6228
  int __pyx_clineno = 0;
6182
6229
  __Pyx_RefNannySetupContext("__iter__", 1);
6183
- __Pyx_TraceCall("__iter__", __pyx_f[0], 256, 0, __PYX_ERR(0, 256, __pyx_L1_error));
6230
+ __Pyx_TraceCall("__iter__", __pyx_f[0], 259, 0, __PYX_ERR(0, 259, __pyx_L1_error));
6184
6231
 
6185
- /* "a_sync/a_sync/modifiers/manager.pyx":264
6232
+ /* "a_sync/a_sync/modifiers/manager.pyx":267
6186
6233
  * ['cache_type']
6187
6234
  * """
6188
6235
  * return iter(self._modifiers) # <<<<<<<<<<<<<<
6189
6236
  *
6190
6237
  * def __len__(self) -> uint8_t:
6191
6238
  */
6192
- __Pyx_TraceLine(264,0,__PYX_ERR(0, 264, __pyx_L1_error))
6239
+ __Pyx_TraceLine(267,0,__PYX_ERR(0, 267, __pyx_L1_error))
6193
6240
  __Pyx_XDECREF(__pyx_r);
6194
6241
  __pyx_t_1 = __pyx_v_self->_modifiers;
6195
6242
  __Pyx_INCREF(__pyx_t_1);
6196
- __pyx_t_2 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 264, __pyx_L1_error)
6243
+ __pyx_t_2 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 267, __pyx_L1_error)
6197
6244
  __Pyx_GOTREF(__pyx_t_2);
6198
6245
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6199
6246
  __pyx_r = __pyx_t_2;
6200
6247
  __pyx_t_2 = 0;
6201
6248
  goto __pyx_L0;
6202
6249
 
6203
- /* "a_sync/a_sync/modifiers/manager.pyx":256
6250
+ /* "a_sync/a_sync/modifiers/manager.pyx":259
6204
6251
  * return key in self._modifiers
6205
6252
  *
6206
6253
  * def __iter__(self) -> Iterator[str]: # <<<<<<<<<<<<<<
@@ -6221,7 +6268,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
6221
6268
  return __pyx_r;
6222
6269
  }
6223
6270
 
6224
- /* "a_sync/a_sync/modifiers/manager.pyx":266
6271
+ /* "a_sync/a_sync/modifiers/manager.pyx":269
6225
6272
  * return iter(self._modifiers)
6226
6273
  *
6227
6274
  * def __len__(self) -> uint8_t: # <<<<<<<<<<<<<<
@@ -6230,25 +6277,25 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
6230
6277
  */
6231
6278
 
6232
6279
  /* Python wrapper */
6233
- static Py_ssize_t __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_21__len__(PyObject *__pyx_v_self); /*proto*/
6234
- PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__len__, "Returns the number of modifiers.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> len(manager)\n 1\n ");
6280
+ static Py_ssize_t __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_23__len__(PyObject *__pyx_v_self); /*proto*/
6281
+ PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__len__, "Returns the number of modifiers.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> len(manager)\n 1\n ");
6235
6282
  #if CYTHON_UPDATE_DESCRIPTOR_DOC
6236
- struct wrapperbase __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__len__;
6283
+ struct wrapperbase __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__len__;
6237
6284
  #endif
6238
- static Py_ssize_t __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_21__len__(PyObject *__pyx_v_self) {
6285
+ static Py_ssize_t __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_23__len__(PyObject *__pyx_v_self) {
6239
6286
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
6240
6287
  Py_ssize_t __pyx_r;
6241
6288
  __Pyx_RefNannyDeclarations
6242
6289
  __Pyx_RefNannySetupContext("__len__ (wrapper)", 0);
6243
6290
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
6244
- __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__len__(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self));
6291
+ __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__len__(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self));
6245
6292
 
6246
6293
  /* function exit code */
6247
6294
  __Pyx_RefNannyFinishContext();
6248
6295
  return __pyx_r;
6249
6296
  }
6250
6297
 
6251
- static Py_ssize_t __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__len__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self) {
6298
+ static Py_ssize_t __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__len__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self) {
6252
6299
  Py_ssize_t __pyx_r;
6253
6300
  __Pyx_TraceDeclarations
6254
6301
  __Pyx_RefNannyDeclarations
@@ -6258,28 +6305,28 @@ static Py_ssize_t __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager
6258
6305
  const char *__pyx_filename = NULL;
6259
6306
  int __pyx_clineno = 0;
6260
6307
  __Pyx_RefNannySetupContext("__len__", 1);
6261
- __Pyx_TraceCall("__len__", __pyx_f[0], 266, 0, __PYX_ERR(0, 266, __pyx_L1_error));
6308
+ __Pyx_TraceCall("__len__", __pyx_f[0], 269, 0, __PYX_ERR(0, 269, __pyx_L1_error));
6262
6309
 
6263
- /* "a_sync/a_sync/modifiers/manager.pyx":274
6310
+ /* "a_sync/a_sync/modifiers/manager.pyx":277
6264
6311
  * 1
6265
6312
  * """
6266
6313
  * return len(<dict>self._modifiers) # <<<<<<<<<<<<<<
6267
6314
  *
6268
6315
  * def __getitem__(self, str modifier_key) -> Any:
6269
6316
  */
6270
- __Pyx_TraceLine(274,0,__PYX_ERR(0, 274, __pyx_L1_error))
6317
+ __Pyx_TraceLine(277,0,__PYX_ERR(0, 277, __pyx_L1_error))
6271
6318
  __pyx_t_1 = __pyx_v_self->_modifiers;
6272
6319
  __Pyx_INCREF(__pyx_t_1);
6273
6320
  if (unlikely(__pyx_t_1 == Py_None)) {
6274
6321
  PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()");
6275
- __PYX_ERR(0, 274, __pyx_L1_error)
6322
+ __PYX_ERR(0, 277, __pyx_L1_error)
6276
6323
  }
6277
- __pyx_t_2 = PyDict_Size(__pyx_t_1); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 274, __pyx_L1_error)
6324
+ __pyx_t_2 = PyDict_Size(__pyx_t_1); if (unlikely(__pyx_t_2 == ((Py_ssize_t)-1))) __PYX_ERR(0, 277, __pyx_L1_error)
6278
6325
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
6279
6326
  __pyx_r = __pyx_t_2;
6280
6327
  goto __pyx_L0;
6281
6328
 
6282
- /* "a_sync/a_sync/modifiers/manager.pyx":266
6329
+ /* "a_sync/a_sync/modifiers/manager.pyx":269
6283
6330
  * return iter(self._modifiers)
6284
6331
  *
6285
6332
  * def __len__(self) -> uint8_t: # <<<<<<<<<<<<<<
@@ -6298,7 +6345,7 @@ static Py_ssize_t __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager
6298
6345
  return __pyx_r;
6299
6346
  }
6300
6347
 
6301
- /* "a_sync/a_sync/modifiers/manager.pyx":276
6348
+ /* "a_sync/a_sync/modifiers/manager.pyx":279
6302
6349
  * return len(<dict>self._modifiers)
6303
6350
  *
6304
6351
  * def __getitem__(self, str modifier_key) -> Any: # <<<<<<<<<<<<<<
@@ -6307,12 +6354,12 @@ static Py_ssize_t __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager
6307
6354
  */
6308
6355
 
6309
6356
  /* Python wrapper */
6310
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_23__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_modifier_key); /*proto*/
6311
- PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__getitem__, "Gets the value of a modifier by key.\n\n Args:\n modifier_key: The key of the modifier to retrieve.\n\n Returns:\n The value of the modifier.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> manager['cache_type']\n 'memory'\n ");
6357
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_25__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_modifier_key); /*proto*/
6358
+ PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__getitem__, "Gets the value of a modifier by key.\n\n Args:\n modifier_key: The key of the modifier to retrieve.\n\n Returns:\n The value of the modifier.\n\n Examples:\n >>> manager = ModifierManager(cache_type='memory')\n >>> manager['cache_type']\n 'memory'\n ");
6312
6359
  #if CYTHON_UPDATE_DESCRIPTOR_DOC
6313
- struct wrapperbase __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__getitem__;
6360
+ struct wrapperbase __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__getitem__;
6314
6361
  #endif
6315
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_23__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_modifier_key) {
6362
+ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_25__getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_modifier_key) {
6316
6363
  CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
6317
6364
  int __pyx_lineno = 0;
6318
6365
  const char *__pyx_filename = NULL;
@@ -6321,8 +6368,8 @@ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
6321
6368
  __Pyx_RefNannyDeclarations
6322
6369
  __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0);
6323
6370
  __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs);
6324
- if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_modifier_key), (&PyUnicode_Type), 1, "modifier_key", 1))) __PYX_ERR(0, 276, __pyx_L1_error)
6325
- __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__getitem__(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self), ((PyObject*)__pyx_v_modifier_key));
6371
+ if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_modifier_key), (&PyUnicode_Type), 1, "modifier_key", 1))) __PYX_ERR(0, 279, __pyx_L1_error)
6372
+ __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__getitem__(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self), ((PyObject*)__pyx_v_modifier_key));
6326
6373
 
6327
6374
  /* function exit code */
6328
6375
  goto __pyx_L0;
@@ -6333,7 +6380,7 @@ static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
6333
6380
  return __pyx_r;
6334
6381
  }
6335
6382
 
6336
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__getitem__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_modifier_key) {
6383
+ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__getitem__(struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, PyObject *__pyx_v_modifier_key) {
6337
6384
  PyObject *__pyx_r = NULL;
6338
6385
  __Pyx_TraceDeclarations
6339
6386
  __Pyx_RefNannyDeclarations
@@ -6342,28 +6389,28 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
6342
6389
  const char *__pyx_filename = NULL;
6343
6390
  int __pyx_clineno = 0;
6344
6391
  __Pyx_RefNannySetupContext("__getitem__", 1);
6345
- __Pyx_TraceCall("__getitem__", __pyx_f[0], 276, 0, __PYX_ERR(0, 276, __pyx_L1_error));
6392
+ __Pyx_TraceCall("__getitem__", __pyx_f[0], 279, 0, __PYX_ERR(0, 279, __pyx_L1_error));
6346
6393
 
6347
- /* "a_sync/a_sync/modifiers/manager.pyx":290
6394
+ /* "a_sync/a_sync/modifiers/manager.pyx":293
6348
6395
  * 'memory'
6349
6396
  * """
6350
6397
  * return self._modifiers[modifier_key] # type: ignore [literal-required] # <<<<<<<<<<<<<<
6351
6398
  *
6352
6399
  *
6353
6400
  */
6354
- __Pyx_TraceLine(290,0,__PYX_ERR(0, 290, __pyx_L1_error))
6401
+ __Pyx_TraceLine(293,0,__PYX_ERR(0, 293, __pyx_L1_error))
6355
6402
  __Pyx_XDECREF(__pyx_r);
6356
6403
  if (unlikely(__pyx_v_self->_modifiers == Py_None)) {
6357
6404
  PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable");
6358
- __PYX_ERR(0, 290, __pyx_L1_error)
6405
+ __PYX_ERR(0, 293, __pyx_L1_error)
6359
6406
  }
6360
- __pyx_t_1 = __Pyx_PyDict_GetItem(__pyx_v_self->_modifiers, __pyx_v_modifier_key); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 290, __pyx_L1_error)
6407
+ __pyx_t_1 = __Pyx_PyDict_GetItem(__pyx_v_self->_modifiers, __pyx_v_modifier_key); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 293, __pyx_L1_error)
6361
6408
  __Pyx_GOTREF(__pyx_t_1);
6362
6409
  __pyx_r = __pyx_t_1;
6363
6410
  __pyx_t_1 = 0;
6364
6411
  goto __pyx_L0;
6365
6412
 
6366
- /* "a_sync/a_sync/modifiers/manager.pyx":276
6413
+ /* "a_sync/a_sync/modifiers/manager.pyx":279
6367
6414
  * return len(<dict>self._modifiers)
6368
6415
  *
6369
6416
  * def __getitem__(self, str modifier_key) -> Any: # <<<<<<<<<<<<<<
@@ -6413,7 +6460,7 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
6413
6460
  const char *__pyx_filename = NULL;
6414
6461
  int __pyx_clineno = 0;
6415
6462
  __Pyx_RefNannySetupContext("__get__", 1);
6416
- __Pyx_TraceCall("__get__", __pyx_f[2], 2, 0, __PYX_ERR(2, 2, __pyx_L1_error));
6463
+ __Pyx_TraceCall("__get__", __pyx_f[1], 2, 0, __PYX_ERR(1, 2, __pyx_L1_error));
6417
6464
  __Pyx_XDECREF(__pyx_r);
6418
6465
  __Pyx_INCREF(__pyx_v_self->_modifiers);
6419
6466
  __pyx_r = __pyx_v_self->_modifiers;
@@ -6429,232 +6476,6 @@ static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_
6429
6476
  __Pyx_RefNannyFinishContext();
6430
6477
  return __pyx_r;
6431
6478
  }
6432
-
6433
- /* "(tree fragment)":1
6434
- * def __reduce_cython__(self): # <<<<<<<<<<<<<<
6435
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
6436
- * def __setstate_cython__(self, __pyx_state):
6437
- */
6438
-
6439
- /* Python wrapper */
6440
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_25__reduce_cython__(PyObject *__pyx_v_self,
6441
- #if CYTHON_METH_FASTCALL
6442
- PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
6443
- #else
6444
- PyObject *__pyx_args, PyObject *__pyx_kwds
6445
- #endif
6446
- ); /*proto*/
6447
- PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__reduce_cython__, "ModifierManager.__reduce_cython__(self)");
6448
- static PyMethodDef __pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_25__reduce_cython__ = {"__reduce_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_25__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__reduce_cython__};
6449
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_25__reduce_cython__(PyObject *__pyx_v_self,
6450
- #if CYTHON_METH_FASTCALL
6451
- PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
6452
- #else
6453
- PyObject *__pyx_args, PyObject *__pyx_kwds
6454
- #endif
6455
- ) {
6456
- #if !CYTHON_METH_FASTCALL
6457
- CYTHON_UNUSED Py_ssize_t __pyx_nargs;
6458
- #endif
6459
- CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
6460
- PyObject *__pyx_r = 0;
6461
- __Pyx_RefNannyDeclarations
6462
- __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0);
6463
- #if !CYTHON_METH_FASTCALL
6464
- #if CYTHON_ASSUME_SAFE_MACROS
6465
- __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6466
- #else
6467
- __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
6468
- #endif
6469
- #endif
6470
- __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
6471
- if (unlikely(__pyx_nargs > 0)) {
6472
- __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;}
6473
- if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL;
6474
- __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__reduce_cython__(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self));
6475
-
6476
- /* function exit code */
6477
- __Pyx_RefNannyFinishContext();
6478
- return __pyx_r;
6479
- }
6480
-
6481
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__reduce_cython__(CYTHON_UNUSED struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self) {
6482
- PyObject *__pyx_r = NULL;
6483
- __Pyx_TraceDeclarations
6484
- __Pyx_RefNannyDeclarations
6485
- int __pyx_lineno = 0;
6486
- const char *__pyx_filename = NULL;
6487
- int __pyx_clineno = 0;
6488
- __Pyx_TraceFrameInit(__pyx_codeobj__10)
6489
- __Pyx_RefNannySetupContext("__reduce_cython__", 1);
6490
- __Pyx_TraceCall("__reduce_cython__", __pyx_f[1], 1, 0, __PYX_ERR(1, 1, __pyx_L1_error));
6491
-
6492
- /* "(tree fragment)":2
6493
- * def __reduce_cython__(self):
6494
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" # <<<<<<<<<<<<<<
6495
- * def __setstate_cython__(self, __pyx_state):
6496
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
6497
- */
6498
- __Pyx_TraceLine(2,0,__PYX_ERR(1, 2, __pyx_L1_error))
6499
- __Pyx_Raise(__pyx_builtin_TypeError, __pyx_kp_s_no_default___reduce___due_to_non, 0, 0);
6500
- __PYX_ERR(1, 2, __pyx_L1_error)
6501
-
6502
- /* "(tree fragment)":1
6503
- * def __reduce_cython__(self): # <<<<<<<<<<<<<<
6504
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
6505
- * def __setstate_cython__(self, __pyx_state):
6506
- */
6507
-
6508
- /* function exit code */
6509
- __pyx_L1_error:;
6510
- __Pyx_AddTraceback("a_sync.a_sync.modifiers.manager.ModifierManager.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
6511
- __pyx_r = NULL;
6512
- __Pyx_XGIVEREF(__pyx_r);
6513
- __Pyx_TraceReturn(__pyx_r, 0);
6514
- __Pyx_RefNannyFinishContext();
6515
- return __pyx_r;
6516
- }
6517
-
6518
- /* "(tree fragment)":3
6519
- * def __reduce_cython__(self):
6520
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
6521
- * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
6522
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
6523
- */
6524
-
6525
- /* Python wrapper */
6526
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_27__setstate_cython__(PyObject *__pyx_v_self,
6527
- #if CYTHON_METH_FASTCALL
6528
- PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
6529
- #else
6530
- PyObject *__pyx_args, PyObject *__pyx_kwds
6531
- #endif
6532
- ); /*proto*/
6533
- PyDoc_STRVAR(__pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_26__setstate_cython__, "ModifierManager.__setstate_cython__(self, __pyx_state)");
6534
- static PyMethodDef __pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_27__setstate_cython__ = {"__setstate_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_27__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_26__setstate_cython__};
6535
- static PyObject *__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_27__setstate_cython__(PyObject *__pyx_v_self,
6536
- #if CYTHON_METH_FASTCALL
6537
- PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds
6538
- #else
6539
- PyObject *__pyx_args, PyObject *__pyx_kwds
6540
- #endif
6541
- ) {
6542
- CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0;
6543
- #if !CYTHON_METH_FASTCALL
6544
- CYTHON_UNUSED Py_ssize_t __pyx_nargs;
6545
- #endif
6546
- CYTHON_UNUSED PyObject *const *__pyx_kwvalues;
6547
- PyObject* values[1] = {0};
6548
- int __pyx_lineno = 0;
6549
- const char *__pyx_filename = NULL;
6550
- int __pyx_clineno = 0;
6551
- PyObject *__pyx_r = 0;
6552
- __Pyx_RefNannyDeclarations
6553
- __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0);
6554
- #if !CYTHON_METH_FASTCALL
6555
- #if CYTHON_ASSUME_SAFE_MACROS
6556
- __pyx_nargs = PyTuple_GET_SIZE(__pyx_args);
6557
- #else
6558
- __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL;
6559
- #endif
6560
- #endif
6561
- __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs);
6562
- {
6563
- PyObject **__pyx_pyargnames[] = {&__pyx_n_s_pyx_state,0};
6564
- if (__pyx_kwds) {
6565
- Py_ssize_t kw_args;
6566
- switch (__pyx_nargs) {
6567
- case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0);
6568
- CYTHON_FALLTHROUGH;
6569
- case 0: break;
6570
- default: goto __pyx_L5_argtuple_error;
6571
- }
6572
- kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds);
6573
- switch (__pyx_nargs) {
6574
- case 0:
6575
- if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_pyx_state)) != 0)) {
6576
- (void)__Pyx_Arg_NewRef_FASTCALL(values[0]);
6577
- kw_args--;
6578
- }
6579
- else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 3, __pyx_L3_error)
6580
- else goto __pyx_L5_argtuple_error;
6581
- }
6582
- if (unlikely(kw_args > 0)) {
6583
- const Py_ssize_t kwd_pos_args = __pyx_nargs;
6584
- if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__setstate_cython__") < 0)) __PYX_ERR(1, 3, __pyx_L3_error)
6585
- }
6586
- } else if (unlikely(__pyx_nargs != 1)) {
6587
- goto __pyx_L5_argtuple_error;
6588
- } else {
6589
- values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0);
6590
- }
6591
- __pyx_v___pyx_state = values[0];
6592
- }
6593
- goto __pyx_L6_skip;
6594
- __pyx_L5_argtuple_error:;
6595
- __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error)
6596
- __pyx_L6_skip:;
6597
- goto __pyx_L4_argument_unpacking_done;
6598
- __pyx_L3_error:;
6599
- {
6600
- Py_ssize_t __pyx_temp;
6601
- for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
6602
- __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]);
6603
- }
6604
- }
6605
- __Pyx_AddTraceback("a_sync.a_sync.modifiers.manager.ModifierManager.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
6606
- __Pyx_RefNannyFinishContext();
6607
- return NULL;
6608
- __pyx_L4_argument_unpacking_done:;
6609
- __pyx_r = __pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_26__setstate_cython__(((struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *)__pyx_v_self), __pyx_v___pyx_state);
6610
-
6611
- /* function exit code */
6612
- {
6613
- Py_ssize_t __pyx_temp;
6614
- for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) {
6615
- __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]);
6616
- }
6617
- }
6618
- __Pyx_RefNannyFinishContext();
6619
- return __pyx_r;
6620
- }
6621
-
6622
- static PyObject *__pyx_pf_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_26__setstate_cython__(CYTHON_UNUSED struct __pyx_obj_6a_sync_6a_sync_9modifiers_7manager_ModifierManager *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) {
6623
- PyObject *__pyx_r = NULL;
6624
- __Pyx_TraceDeclarations
6625
- __Pyx_RefNannyDeclarations
6626
- int __pyx_lineno = 0;
6627
- const char *__pyx_filename = NULL;
6628
- int __pyx_clineno = 0;
6629
- __Pyx_TraceFrameInit(__pyx_codeobj__11)
6630
- __Pyx_RefNannySetupContext("__setstate_cython__", 1);
6631
- __Pyx_TraceCall("__setstate_cython__", __pyx_f[1], 3, 0, __PYX_ERR(1, 3, __pyx_L1_error));
6632
-
6633
- /* "(tree fragment)":4
6634
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
6635
- * def __setstate_cython__(self, __pyx_state):
6636
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" # <<<<<<<<<<<<<<
6637
- */
6638
- __Pyx_TraceLine(4,0,__PYX_ERR(1, 4, __pyx_L1_error))
6639
- __Pyx_Raise(__pyx_builtin_TypeError, __pyx_kp_s_no_default___reduce___due_to_non, 0, 0);
6640
- __PYX_ERR(1, 4, __pyx_L1_error)
6641
-
6642
- /* "(tree fragment)":3
6643
- * def __reduce_cython__(self):
6644
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
6645
- * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
6646
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
6647
- */
6648
-
6649
- /* function exit code */
6650
- __pyx_L1_error:;
6651
- __Pyx_AddTraceback("a_sync.a_sync.modifiers.manager.ModifierManager.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename);
6652
- __pyx_r = NULL;
6653
- __Pyx_XGIVEREF(__pyx_r);
6654
- __Pyx_TraceReturn(__pyx_r, 0);
6655
- __Pyx_RefNannyFinishContext();
6656
- return __pyx_r;
6657
- }
6658
6479
  static struct __pyx_vtabstruct_6a_sync_6a_sync_9modifiers_7manager_ModifierManager __pyx_vtable_6a_sync_6a_sync_9modifiers_7manager_ModifierManager;
6659
6480
 
6660
6481
  static PyObject *__pyx_tp_new_6a_sync_6a_sync_9modifiers_7manager_ModifierManager(PyTypeObject *t, PyObject *a, PyObject *k) {
@@ -6756,12 +6577,11 @@ static PyObject *__pyx_specialmethod___pyx_pw_6a_sync_6a_sync_9modifiers_7manage
6756
6577
 
6757
6578
  static PyMethodDef __pyx_methods_6a_sync_6a_sync_9modifiers_7manager_ModifierManager[] = {
6758
6579
  {"__repr__", (PyCFunction)__pyx_specialmethod___pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_3__repr__, METH_NOARGS|METH_COEXIST, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_2__repr__},
6759
- {"apply_sync_modifiers", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_9apply_sync_modifiers, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_8apply_sync_modifiers},
6760
- {"keys", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_11keys, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_10keys},
6761
- {"values", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_13values, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_12values},
6762
- {"items", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_15items, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_14items},
6763
- {"__reduce_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_25__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__reduce_cython__},
6764
- {"__setstate_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_27__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_26__setstate_cython__},
6580
+ {"__reduce__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_7__reduce__, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_6__reduce__},
6581
+ {"apply_sync_modifiers", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_11apply_sync_modifiers, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_10apply_sync_modifiers},
6582
+ {"keys", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_13keys, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_12keys},
6583
+ {"values", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_15values, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_14values},
6584
+ {"items", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_17items, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16items},
6765
6585
  {0, 0, 0, 0}
6766
6586
  };
6767
6587
 
@@ -6776,16 +6596,16 @@ static struct PyGetSetDef __pyx_getsets_6a_sync_6a_sync_9modifiers_7manager_Modi
6776
6596
  static PyType_Slot __pyx_type_6a_sync_6a_sync_9modifiers_7manager_ModifierManager_slots[] = {
6777
6597
  {Py_tp_dealloc, (void *)__pyx_tp_dealloc_6a_sync_6a_sync_9modifiers_7manager_ModifierManager},
6778
6598
  {Py_tp_repr, (void *)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_3__repr__},
6779
- {Py_sq_length, (void *)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_21__len__},
6599
+ {Py_sq_length, (void *)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_23__len__},
6780
6600
  {Py_sq_item, (void *)__pyx_sq_item_6a_sync_6a_sync_9modifiers_7manager_ModifierManager},
6781
- {Py_sq_contains, (void *)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_17__contains__},
6782
- {Py_mp_length, (void *)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_21__len__},
6783
- {Py_mp_subscript, (void *)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_23__getitem__},
6601
+ {Py_sq_contains, (void *)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_19__contains__},
6602
+ {Py_mp_length, (void *)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_23__len__},
6603
+ {Py_mp_subscript, (void *)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_25__getitem__},
6784
6604
  {Py_tp_getattro, (void *)__pyx_tp_getattro_6a_sync_6a_sync_9modifiers_7manager_ModifierManager},
6785
6605
  {Py_tp_doc, (void *)PyDoc_STR("Manages modifiers for asynchronous and synchronous functions.\n\n This class is responsible for applying modifiers to functions, such as\n caching, rate limiting, and semaphores for asynchronous functions. It also\n handles synchronous functions, although no sync modifiers are currently\n implemented.\n \n Examples:\n Creating a ModifierManager with specific modifiers:\n\n >>> modifiers = ModifierKwargs(cache_type='memory', runs_per_minute=60)\n >>> manager = ModifierManager(modifiers)\n\n Applying modifiers to an asynchronous function:\n\n >>> async def my_coro():\n ... pass\n >>> modified_coro = manager.apply_async_modifiers(my_coro)\n\n Applying modifiers to a synchronous function (no sync modifiers applied):\n\n >>> def my_function():\n ... pass\n >>> modified_function = manager.apply_sync_modifiers(my_function)\n\n See Also:\n - :class:`a_sync.a_sync.modifiers.cache`\n - :class:`a_sync.a_sync.modifiers.limiter`\n - :class:`a_sync.a_sync.modifiers.semaphores`\n ")},
6786
6606
  {Py_tp_traverse, (void *)__pyx_tp_traverse_6a_sync_6a_sync_9modifiers_7manager_ModifierManager},
6787
6607
  {Py_tp_clear, (void *)__pyx_tp_clear_6a_sync_6a_sync_9modifiers_7manager_ModifierManager},
6788
- {Py_tp_iter, (void *)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_19__iter__},
6608
+ {Py_tp_iter, (void *)__pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_21__iter__},
6789
6609
  {Py_tp_methods, (void *)__pyx_methods_6a_sync_6a_sync_9modifiers_7manager_ModifierManager},
6790
6610
  {Py_tp_getset, (void *)__pyx_getsets_6a_sync_6a_sync_9modifiers_7manager_ModifierManager},
6791
6611
  {Py_tp_new, (void *)__pyx_tp_new_6a_sync_6a_sync_9modifiers_7manager_ModifierManager},
@@ -6801,21 +6621,21 @@ static PyType_Spec __pyx_type_6a_sync_6a_sync_9modifiers_7manager_ModifierManage
6801
6621
  #else
6802
6622
 
6803
6623
  static PySequenceMethods __pyx_tp_as_sequence_ModifierManager = {
6804
- __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_21__len__, /*sq_length*/
6624
+ __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_23__len__, /*sq_length*/
6805
6625
  0, /*sq_concat*/
6806
6626
  0, /*sq_repeat*/
6807
6627
  __pyx_sq_item_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, /*sq_item*/
6808
6628
  0, /*sq_slice*/
6809
6629
  0, /*sq_ass_item*/
6810
6630
  0, /*sq_ass_slice*/
6811
- __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_17__contains__, /*sq_contains*/
6631
+ __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_19__contains__, /*sq_contains*/
6812
6632
  0, /*sq_inplace_concat*/
6813
6633
  0, /*sq_inplace_repeat*/
6814
6634
  };
6815
6635
 
6816
6636
  static PyMappingMethods __pyx_tp_as_mapping_ModifierManager = {
6817
- __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_21__len__, /*mp_length*/
6818
- __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_23__getitem__, /*mp_subscript*/
6637
+ __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_23__len__, /*mp_length*/
6638
+ __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_25__getitem__, /*mp_subscript*/
6819
6639
  0, /*mp_ass_subscript*/
6820
6640
  };
6821
6641
 
@@ -6855,7 +6675,7 @@ static PyTypeObject __pyx_type_6a_sync_6a_sync_9modifiers_7manager_ModifierManag
6855
6675
  __pyx_tp_clear_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, /*tp_clear*/
6856
6676
  0, /*tp_richcompare*/
6857
6677
  0, /*tp_weaklistoffset*/
6858
- __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_19__iter__, /*tp_iter*/
6678
+ __pyx_pw_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_21__iter__, /*tp_iter*/
6859
6679
  0, /*tp_iternext*/
6860
6680
  __pyx_methods_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, /*tp_methods*/
6861
6681
  0, /*tp_members*/
@@ -7284,21 +7104,20 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
7284
7104
  {&__pyx_kp_u_ModifierManager___getattribute, __pyx_k_ModifierManager___getattribute, sizeof(__pyx_k_ModifierManager___getattribute), 0, 1, 0, 0},
7285
7105
  {&__pyx_kp_u_ModifierManager___getitem___line, __pyx_k_ModifierManager___getitem___line, sizeof(__pyx_k_ModifierManager___getitem___line), 0, 1, 0, 0},
7286
7106
  {&__pyx_kp_u_ModifierManager___iter___line_25, __pyx_k_ModifierManager___iter___line_25, sizeof(__pyx_k_ModifierManager___iter___line_25), 0, 1, 0, 0},
7287
- {&__pyx_n_s_ModifierManager___reduce_cython, __pyx_k_ModifierManager___reduce_cython, sizeof(__pyx_k_ModifierManager___reduce_cython), 0, 0, 1, 1},
7288
- {&__pyx_n_s_ModifierManager___setstate_cytho, __pyx_k_ModifierManager___setstate_cytho, sizeof(__pyx_k_ModifierManager___setstate_cytho), 0, 0, 1, 1},
7107
+ {&__pyx_n_s_ModifierManager___reduce, __pyx_k_ModifierManager___reduce, sizeof(__pyx_k_ModifierManager___reduce), 0, 0, 1, 1},
7289
7108
  {&__pyx_n_s_ModifierManager_apply_async_modi, __pyx_k_ModifierManager_apply_async_modi, sizeof(__pyx_k_ModifierManager_apply_async_modi), 0, 0, 1, 1},
7290
7109
  {&__pyx_kp_u_ModifierManager_apply_async_modi_2, __pyx_k_ModifierManager_apply_async_modi_2, sizeof(__pyx_k_ModifierManager_apply_async_modi_2), 0, 1, 0, 0},
7291
7110
  {&__pyx_n_s_ModifierManager_apply_sync_modif, __pyx_k_ModifierManager_apply_sync_modif, sizeof(__pyx_k_ModifierManager_apply_sync_modif), 0, 0, 1, 1},
7292
7111
  {&__pyx_kp_u_ModifierManager_apply_sync_modif_2, __pyx_k_ModifierManager_apply_sync_modif_2, sizeof(__pyx_k_ModifierManager_apply_sync_modif_2), 0, 1, 0, 0},
7293
7112
  {&__pyx_n_s_ModifierManager_items, __pyx_k_ModifierManager_items, sizeof(__pyx_k_ModifierManager_items), 0, 0, 1, 1},
7294
- {&__pyx_kp_u_ModifierManager_items_line_233, __pyx_k_ModifierManager_items_line_233, sizeof(__pyx_k_ModifierManager_items_line_233), 0, 1, 0, 0},
7113
+ {&__pyx_kp_u_ModifierManager_items_line_236, __pyx_k_ModifierManager_items_line_236, sizeof(__pyx_k_ModifierManager_items_line_236), 0, 1, 0, 0},
7295
7114
  {&__pyx_n_s_ModifierManager_keys, __pyx_k_ModifierManager_keys, sizeof(__pyx_k_ModifierManager_keys), 0, 0, 1, 1},
7296
- {&__pyx_kp_u_ModifierManager_keys_line_213, __pyx_k_ModifierManager_keys_line_213, sizeof(__pyx_k_ModifierManager_keys_line_213), 0, 1, 0, 0},
7115
+ {&__pyx_kp_u_ModifierManager_keys_line_216, __pyx_k_ModifierManager_keys_line_216, sizeof(__pyx_k_ModifierManager_keys_line_216), 0, 1, 0, 0},
7297
7116
  {&__pyx_kp_u_ModifierManager_use_cache___get, __pyx_k_ModifierManager_use_cache___get, sizeof(__pyx_k_ModifierManager_use_cache___get), 0, 1, 0, 0},
7298
7117
  {&__pyx_kp_u_ModifierManager_use_limiter___ge, __pyx_k_ModifierManager_use_limiter___ge, sizeof(__pyx_k_ModifierManager_use_limiter___ge), 0, 1, 0, 0},
7299
7118
  {&__pyx_kp_u_ModifierManager_use_semaphore, __pyx_k_ModifierManager_use_semaphore, sizeof(__pyx_k_ModifierManager_use_semaphore), 0, 1, 0, 0},
7300
7119
  {&__pyx_n_s_ModifierManager_values, __pyx_k_ModifierManager_values, sizeof(__pyx_k_ModifierManager_values), 0, 0, 1, 1},
7301
- {&__pyx_kp_u_ModifierManager_values_line_223, __pyx_k_ModifierManager_values_line_223, sizeof(__pyx_k_ModifierManager_values_line_223), 0, 1, 0, 0},
7120
+ {&__pyx_kp_u_ModifierManager_values_line_226, __pyx_k_ModifierManager_values_line_226, sizeof(__pyx_k_ModifierManager_values_line_226), 0, 1, 0, 0},
7302
7121
  {&__pyx_kp_u_None, __pyx_k_None, sizeof(__pyx_k_None), 0, 1, 0, 0},
7303
7122
  {&__pyx_n_s_P, __pyx_k_P, sizeof(__pyx_k_P), 0, 0, 1, 1},
7304
7123
  {&__pyx_kp_s_P_args, __pyx_k_P_args, sizeof(__pyx_k_P_args), 0, 0, 1, 0},
@@ -7310,13 +7129,12 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
7310
7129
  {&__pyx_n_s_SyncFn, __pyx_k_SyncFn, sizeof(__pyx_k_SyncFn), 0, 0, 1, 1},
7311
7130
  {&__pyx_kp_s_SyncFn_P_T, __pyx_k_SyncFn_P_T, sizeof(__pyx_k_SyncFn_P_T), 0, 0, 1, 0},
7312
7131
  {&__pyx_n_s_T, __pyx_k_T, sizeof(__pyx_k_T), 0, 0, 1, 1},
7313
- {&__pyx_n_s_TypeError, __pyx_k_TypeError, sizeof(__pyx_k_TypeError), 0, 0, 1, 1},
7314
7132
  {&__pyx_n_s_ValueError, __pyx_k_ValueError, sizeof(__pyx_k_ValueError), 0, 0, 1, 1},
7315
7133
  {&__pyx_kp_s_ValuesView_Any, __pyx_k_ValuesView_Any, sizeof(__pyx_k_ValuesView_Any), 0, 0, 1, 0},
7316
7134
  {&__pyx_kp_u_Wraps_a_synchronous_function_Not, __pyx_k_Wraps_a_synchronous_function_Not, sizeof(__pyx_k_Wraps_a_synchronous_function_Not), 0, 1, 0, 0},
7317
- {&__pyx_n_s__12, __pyx_k__12, sizeof(__pyx_k__12), 0, 0, 1, 1},
7318
- {&__pyx_kp_u__13, __pyx_k__13, sizeof(__pyx_k__13), 0, 1, 0, 0},
7319
- {&__pyx_n_s__18, __pyx_k__18, sizeof(__pyx_k__18), 0, 0, 1, 1},
7135
+ {&__pyx_n_s__11, __pyx_k__11, sizeof(__pyx_k__11), 0, 0, 1, 1},
7136
+ {&__pyx_kp_u__12, __pyx_k__12, sizeof(__pyx_k__12), 0, 1, 0, 0},
7137
+ {&__pyx_n_s__16, __pyx_k__16, sizeof(__pyx_k__16), 0, 0, 1, 1},
7320
7138
  {&__pyx_kp_u__2, __pyx_k__2, sizeof(__pyx_k__2), 0, 1, 0, 0},
7321
7139
  {&__pyx_n_s_a_sync__typing, __pyx_k_a_sync__typing, sizeof(__pyx_k_a_sync__typing), 0, 0, 1, 1},
7322
7140
  {&__pyx_n_s_a_sync_a_sync_config, __pyx_k_a_sync_a_sync_config, sizeof(__pyx_k_a_sync_a_sync_config), 0, 0, 1, 1},
@@ -7347,7 +7165,6 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
7347
7165
  {&__pyx_kp_u_gc, __pyx_k_gc, sizeof(__pyx_k_gc), 0, 1, 0, 0},
7348
7166
  {&__pyx_n_s_genexpr, __pyx_k_genexpr, sizeof(__pyx_k_genexpr), 0, 0, 1, 1},
7349
7167
  {&__pyx_n_s_getattribute, __pyx_k_getattribute, sizeof(__pyx_k_getattribute), 0, 0, 1, 1},
7350
- {&__pyx_n_s_getstate, __pyx_k_getstate, sizeof(__pyx_k_getstate), 0, 0, 1, 1},
7351
7168
  {&__pyx_n_s_import, __pyx_k_import, sizeof(__pyx_k_import), 0, 0, 1, 1},
7352
7169
  {&__pyx_n_s_initializing, __pyx_k_initializing, sizeof(__pyx_k_initializing), 0, 0, 1, 1},
7353
7170
  {&__pyx_n_s_is_coroutine, __pyx_k_is_coroutine, sizeof(__pyx_k_is_coroutine), 0, 0, 1, 1},
@@ -7361,28 +7178,21 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
7361
7178
  {&__pyx_n_u_memory, __pyx_k_memory, sizeof(__pyx_k_memory), 0, 1, 0, 1},
7362
7179
  {&__pyx_n_s_modifiers, __pyx_k_modifiers, sizeof(__pyx_k_modifiers), 0, 0, 1, 1},
7363
7180
  {&__pyx_n_s_name, __pyx_k_name, sizeof(__pyx_k_name), 0, 0, 1, 1},
7364
- {&__pyx_kp_s_no_default___reduce___due_to_non, __pyx_k_no_default___reduce___due_to_non, sizeof(__pyx_k_no_default___reduce___due_to_non), 0, 0, 1, 0},
7365
7181
  {&__pyx_n_s_null_modifiers, __pyx_k_null_modifiers, sizeof(__pyx_k_null_modifiers), 0, 0, 1, 1},
7366
7182
  {&__pyx_n_s_object, __pyx_k_object, sizeof(__pyx_k_object), 0, 0, 1, 1},
7367
- {&__pyx_n_s_pyx_state, __pyx_k_pyx_state, sizeof(__pyx_k_pyx_state), 0, 0, 1, 1},
7368
7183
  {&__pyx_n_s_pyx_vtable, __pyx_k_pyx_vtable, sizeof(__pyx_k_pyx_vtable), 0, 0, 1, 1},
7369
7184
  {&__pyx_n_s_ram_cache_maxsize, __pyx_k_ram_cache_maxsize, sizeof(__pyx_k_ram_cache_maxsize), 0, 0, 1, 1},
7370
7185
  {&__pyx_n_s_ram_cache_ttl, __pyx_k_ram_cache_ttl, sizeof(__pyx_k_ram_cache_ttl), 0, 0, 1, 1},
7371
7186
  {&__pyx_n_s_reduce, __pyx_k_reduce, sizeof(__pyx_k_reduce), 0, 0, 1, 1},
7372
- {&__pyx_n_s_reduce_cython, __pyx_k_reduce_cython, sizeof(__pyx_k_reduce_cython), 0, 0, 1, 1},
7373
- {&__pyx_n_s_reduce_ex, __pyx_k_reduce_ex, sizeof(__pyx_k_reduce_ex), 0, 0, 1, 1},
7374
7187
  {&__pyx_n_s_return, __pyx_k_return, sizeof(__pyx_k_return), 0, 0, 1, 1},
7375
7188
  {&__pyx_n_s_runs_per_minute, __pyx_k_runs_per_minute, sizeof(__pyx_k_runs_per_minute), 0, 0, 1, 1},
7376
7189
  {&__pyx_n_s_self, __pyx_k_self, sizeof(__pyx_k_self), 0, 0, 1, 1},
7377
7190
  {&__pyx_n_s_semaphore, __pyx_k_semaphore, sizeof(__pyx_k_semaphore), 0, 0, 1, 1},
7378
7191
  {&__pyx_n_s_semaphores, __pyx_k_semaphores, sizeof(__pyx_k_semaphores), 0, 0, 1, 1},
7379
7192
  {&__pyx_n_s_send, __pyx_k_send, sizeof(__pyx_k_send), 0, 0, 1, 1},
7380
- {&__pyx_n_s_setstate, __pyx_k_setstate, sizeof(__pyx_k_setstate), 0, 0, 1, 1},
7381
- {&__pyx_n_s_setstate_cython, __pyx_k_setstate_cython, sizeof(__pyx_k_setstate_cython), 0, 0, 1, 1},
7382
7193
  {&__pyx_n_s_skip_check, __pyx_k_skip_check, sizeof(__pyx_k_skip_check), 0, 0, 1, 1},
7383
7194
  {&__pyx_n_s_spec, __pyx_k_spec, sizeof(__pyx_k_spec), 0, 0, 1, 1},
7384
7195
  {&__pyx_n_s_startswith, __pyx_k_startswith, sizeof(__pyx_k_startswith), 0, 0, 1, 1},
7385
- {&__pyx_kp_s_stringsource, __pyx_k_stringsource, sizeof(__pyx_k_stringsource), 0, 0, 1, 0},
7386
7196
  {&__pyx_n_s_sync_modifier_wrap, __pyx_k_sync_modifier_wrap, sizeof(__pyx_k_sync_modifier_wrap), 0, 0, 1, 1},
7387
7197
  {&__pyx_n_s_test, __pyx_k_test, sizeof(__pyx_k_test), 0, 0, 1, 1},
7388
7198
  {&__pyx_n_s_throw, __pyx_k_throw, sizeof(__pyx_k_throw), 0, 0, 1, 1},
@@ -7401,8 +7211,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) {
7401
7211
  static CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(void) {
7402
7212
  __pyx_builtin_object = __Pyx_GetBuiltinName(__pyx_n_s_object); if (!__pyx_builtin_object) __PYX_ERR(0, 32, __pyx_L1_error)
7403
7213
  __pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_n_s_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(0, 78, __pyx_L1_error)
7404
- __pyx_builtin_any = __Pyx_GetBuiltinName(__pyx_n_s_any); if (!__pyx_builtin_any) __PYX_ERR(0, 148, __pyx_L1_error)
7405
- __pyx_builtin_TypeError = __Pyx_GetBuiltinName(__pyx_n_s_TypeError); if (!__pyx_builtin_TypeError) __PYX_ERR(1, 2, __pyx_L1_error)
7214
+ __pyx_builtin_any = __Pyx_GetBuiltinName(__pyx_n_s_any); if (!__pyx_builtin_any) __PYX_ERR(0, 151, __pyx_L1_error)
7406
7215
  return 0;
7407
7216
  __pyx_L1_error:;
7408
7217
  return -1;
@@ -7413,89 +7222,80 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) {
7413
7222
  __Pyx_RefNannyDeclarations
7414
7223
  __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);
7415
7224
 
7416
- /* "a_sync/a_sync/modifiers/manager.pyx":206
7225
+ /* "a_sync/a_sync/modifiers/manager.pyx":209
7417
7226
  * """
7418
7227
  *
7419
7228
  * @wraps(function) # <<<<<<<<<<<<<<
7420
7229
  * def sync_modifier_wrap(*args: P.args, **kwargs: P.kwargs) -> T:
7421
7230
  * return function(*args, **kwargs)
7422
7231
  */
7423
- __pyx_tuple__5 = PyTuple_Pack(2, __pyx_n_s_args, __pyx_n_s_kwargs); if (unlikely(!__pyx_tuple__5)) __PYX_ERR(0, 206, __pyx_L1_error)
7424
- __Pyx_GOTREF(__pyx_tuple__5);
7425
- __Pyx_GIVEREF(__pyx_tuple__5);
7426
- __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__5, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_modifiers_manager_2, __pyx_n_s_sync_modifier_wrap, 206, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0, 206, __pyx_L1_error)
7232
+ __pyx_tuple__6 = PyTuple_Pack(2, __pyx_n_s_args, __pyx_n_s_kwargs); if (unlikely(!__pyx_tuple__6)) __PYX_ERR(0, 209, __pyx_L1_error)
7233
+ __Pyx_GOTREF(__pyx_tuple__6);
7234
+ __Pyx_GIVEREF(__pyx_tuple__6);
7235
+ __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(0, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS|CO_VARARGS|CO_VARKEYWORDS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__6, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_modifiers_manager_2, __pyx_n_s_sync_modifier_wrap, 209, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) __PYX_ERR(0, 209, __pyx_L1_error)
7236
+
7237
+ /* "a_sync/a_sync/modifiers/manager.pyx":107
7238
+ * )
7239
+ *
7240
+ * def __reduce__(self): # <<<<<<<<<<<<<<
7241
+ * return ModifierManager, (self._modifiers, True)
7242
+ *
7243
+ */
7244
+ __pyx_tuple__13 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__13)) __PYX_ERR(0, 107, __pyx_L1_error)
7245
+ __Pyx_GOTREF(__pyx_tuple__13);
7246
+ __Pyx_GIVEREF(__pyx_tuple__13);
7247
+ __pyx_codeobj__3 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__13, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_modifiers_manager_2, __pyx_n_s_reduce, 107, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__3)) __PYX_ERR(0, 107, __pyx_L1_error)
7427
7248
 
7428
- /* "a_sync/a_sync/modifiers/manager.pyx":157
7249
+ /* "a_sync/a_sync/modifiers/manager.pyx":160
7429
7250
  * )
7430
7251
  *
7431
7252
  * cpdef object apply_async_modifiers(self, coro_fn: CoroFn[P, T]): # <<<<<<<<<<<<<<
7432
7253
  * """Applies asynchronous modifiers to a coroutine function.
7433
7254
  *
7434
7255
  */
7435
- __pyx_tuple__14 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_coro_fn); if (unlikely(!__pyx_tuple__14)) __PYX_ERR(0, 157, __pyx_L1_error)
7256
+ __pyx_tuple__14 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_coro_fn); if (unlikely(!__pyx_tuple__14)) __PYX_ERR(0, 160, __pyx_L1_error)
7436
7257
  __Pyx_GOTREF(__pyx_tuple__14);
7437
7258
  __Pyx_GIVEREF(__pyx_tuple__14);
7438
- __pyx_codeobj__3 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__14, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_modifiers_manager_2, __pyx_n_s_apply_async_modifiers, 157, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__3)) __PYX_ERR(0, 157, __pyx_L1_error)
7259
+ __pyx_codeobj__4 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__14, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_modifiers_manager_2, __pyx_n_s_apply_async_modifiers, 160, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__4)) __PYX_ERR(0, 160, __pyx_L1_error)
7439
7260
 
7440
- /* "a_sync/a_sync/modifiers/manager.pyx":187
7261
+ /* "a_sync/a_sync/modifiers/manager.pyx":190
7441
7262
  * return coro_fn
7442
7263
  *
7443
7264
  * def apply_sync_modifiers(self, function: SyncFn[P, T]) -> SyncFn[P, T]: # <<<<<<<<<<<<<<
7444
7265
  * """Wraps a synchronous function.
7445
7266
  *
7446
7267
  */
7447
- __pyx_tuple__15 = PyTuple_Pack(4, __pyx_n_s_self, __pyx_n_s_function, __pyx_n_s_sync_modifier_wrap, __pyx_n_s_sync_modifier_wrap); if (unlikely(!__pyx_tuple__15)) __PYX_ERR(0, 187, __pyx_L1_error)
7268
+ __pyx_tuple__15 = PyTuple_Pack(4, __pyx_n_s_self, __pyx_n_s_function, __pyx_n_s_sync_modifier_wrap, __pyx_n_s_sync_modifier_wrap); if (unlikely(!__pyx_tuple__15)) __PYX_ERR(0, 190, __pyx_L1_error)
7448
7269
  __Pyx_GOTREF(__pyx_tuple__15);
7449
7270
  __Pyx_GIVEREF(__pyx_tuple__15);
7450
- __pyx_codeobj__4 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__15, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_modifiers_manager_2, __pyx_n_s_apply_sync_modifiers, 187, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__4)) __PYX_ERR(0, 187, __pyx_L1_error)
7271
+ __pyx_codeobj__5 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__15, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_modifiers_manager_2, __pyx_n_s_apply_sync_modifiers, 190, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__5)) __PYX_ERR(0, 190, __pyx_L1_error)
7451
7272
 
7452
- /* "a_sync/a_sync/modifiers/manager.pyx":213
7273
+ /* "a_sync/a_sync/modifiers/manager.pyx":216
7453
7274
  *
7454
7275
  * # Dictionary-like API
7455
7276
  * def keys(self) -> KeysView[str]: # type: ignore [override] # <<<<<<<<<<<<<<
7456
7277
  * """Returns the keys of the modifiers.
7457
7278
  *
7458
7279
  */
7459
- __pyx_tuple__16 = PyTuple_Pack(1, __pyx_n_s_self); if (unlikely(!__pyx_tuple__16)) __PYX_ERR(0, 213, __pyx_L1_error)
7460
- __Pyx_GOTREF(__pyx_tuple__16);
7461
- __Pyx_GIVEREF(__pyx_tuple__16);
7462
- __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__16, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_modifiers_manager_2, __pyx_n_s_keys, 213, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) __PYX_ERR(0, 213, __pyx_L1_error)
7280
+ __pyx_codeobj__8 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__13, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_modifiers_manager_2, __pyx_n_s_keys, 216, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__8)) __PYX_ERR(0, 216, __pyx_L1_error)
7463
7281
 
7464
- /* "a_sync/a_sync/modifiers/manager.pyx":223
7282
+ /* "a_sync/a_sync/modifiers/manager.pyx":226
7465
7283
  * return self._modifiers.keys()
7466
7284
  *
7467
7285
  * def values(self) -> ValuesView[Any]: # type: ignore [override] # <<<<<<<<<<<<<<
7468
7286
  * """Returns the values of the modifiers.
7469
7287
  *
7470
7288
  */
7471
- __pyx_codeobj__8 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__16, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_modifiers_manager_2, __pyx_n_s_values, 223, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__8)) __PYX_ERR(0, 223, __pyx_L1_error)
7289
+ __pyx_codeobj__9 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__13, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_modifiers_manager_2, __pyx_n_s_values, 226, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) __PYX_ERR(0, 226, __pyx_L1_error)
7472
7290
 
7473
- /* "a_sync/a_sync/modifiers/manager.pyx":233
7291
+ /* "a_sync/a_sync/modifiers/manager.pyx":236
7474
7292
  * return self._modifiers.values()
7475
7293
  *
7476
7294
  * def items(self) -> ItemsView[str, Any]: # type: ignore [override] # <<<<<<<<<<<<<<
7477
7295
  * """Returns the items of the modifiers.
7478
7296
  *
7479
7297
  */
7480
- __pyx_codeobj__9 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__16, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_modifiers_manager_2, __pyx_n_s_items, 233, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) __PYX_ERR(0, 233, __pyx_L1_error)
7481
-
7482
- /* "(tree fragment)":1
7483
- * def __reduce_cython__(self): # <<<<<<<<<<<<<<
7484
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
7485
- * def __setstate_cython__(self, __pyx_state):
7486
- */
7487
- __pyx_codeobj__10 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__16, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__10)) __PYX_ERR(1, 1, __pyx_L1_error)
7488
-
7489
- /* "(tree fragment)":3
7490
- * def __reduce_cython__(self):
7491
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
7492
- * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
7493
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
7494
- */
7495
- __pyx_tuple__17 = PyTuple_Pack(2, __pyx_n_s_self, __pyx_n_s_pyx_state); if (unlikely(!__pyx_tuple__17)) __PYX_ERR(1, 3, __pyx_L1_error)
7496
- __Pyx_GOTREF(__pyx_tuple__17);
7497
- __Pyx_GIVEREF(__pyx_tuple__17);
7498
- __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__17, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 3, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) __PYX_ERR(1, 3, __pyx_L1_error)
7298
+ __pyx_codeobj__10 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__13, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_a_sync_a_sync_modifiers_manager_2, __pyx_n_s_items, 236, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__10)) __PYX_ERR(0, 236, __pyx_L1_error)
7499
7299
  __Pyx_RefNannyFinishContext();
7500
7300
  return 0;
7501
7301
  __pyx_L1_error:;
@@ -7612,9 +7412,9 @@ static int __Pyx_modinit_type_init_code(void) {
7612
7412
  {
7613
7413
  PyObject *wrapper = PyObject_GetAttrString((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, "__contains__"); if (unlikely(!wrapper)) __PYX_ERR(0, 34, __pyx_L1_error)
7614
7414
  if (__Pyx_IS_TYPE(wrapper, &PyWrapperDescr_Type)) {
7615
- __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16__contains__ = *((PyWrapperDescrObject *)wrapper)->d_base;
7616
- __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16__contains__.doc = __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16__contains__;
7617
- ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_16__contains__;
7415
+ __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__contains__ = *((PyWrapperDescrObject *)wrapper)->d_base;
7416
+ __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__contains__.doc = __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__contains__;
7417
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__contains__;
7618
7418
  }
7619
7419
  }
7620
7420
  #endif
@@ -7622,9 +7422,9 @@ static int __Pyx_modinit_type_init_code(void) {
7622
7422
  {
7623
7423
  PyObject *wrapper = PyObject_GetAttrString((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, "__iter__"); if (unlikely(!wrapper)) __PYX_ERR(0, 34, __pyx_L1_error)
7624
7424
  if (__Pyx_IS_TYPE(wrapper, &PyWrapperDescr_Type)) {
7625
- __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__iter__ = *((PyWrapperDescrObject *)wrapper)->d_base;
7626
- __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__iter__.doc = __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__iter__;
7627
- ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_18__iter__;
7425
+ __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__iter__ = *((PyWrapperDescrObject *)wrapper)->d_base;
7426
+ __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__iter__.doc = __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__iter__;
7427
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__iter__;
7628
7428
  }
7629
7429
  }
7630
7430
  #endif
@@ -7632,9 +7432,9 @@ static int __Pyx_modinit_type_init_code(void) {
7632
7432
  {
7633
7433
  PyObject *wrapper = PyObject_GetAttrString((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, "__len__"); if (unlikely(!wrapper)) __PYX_ERR(0, 34, __pyx_L1_error)
7634
7434
  if (__Pyx_IS_TYPE(wrapper, &PyWrapperDescr_Type)) {
7635
- __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__len__ = *((PyWrapperDescrObject *)wrapper)->d_base;
7636
- __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__len__.doc = __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__len__;
7637
- ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_20__len__;
7435
+ __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__len__ = *((PyWrapperDescrObject *)wrapper)->d_base;
7436
+ __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__len__.doc = __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__len__;
7437
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__len__;
7638
7438
  }
7639
7439
  }
7640
7440
  #endif
@@ -7642,9 +7442,9 @@ static int __Pyx_modinit_type_init_code(void) {
7642
7442
  {
7643
7443
  PyObject *wrapper = PyObject_GetAttrString((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, "__getitem__"); if (unlikely(!wrapper)) __PYX_ERR(0, 34, __pyx_L1_error)
7644
7444
  if (__Pyx_IS_TYPE(wrapper, &PyWrapperDescr_Type)) {
7645
- __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__getitem__ = *((PyWrapperDescrObject *)wrapper)->d_base;
7646
- __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__getitem__.doc = __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__getitem__;
7647
- ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_22__getitem__;
7445
+ __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__getitem__ = *((PyWrapperDescrObject *)wrapper)->d_base;
7446
+ __pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__getitem__.doc = __pyx_doc_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__getitem__;
7447
+ ((PyWrapperDescrObject *)wrapper)->d_base = &__pyx_wrapperbase_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_24__getitem__;
7648
7448
  }
7649
7449
  }
7650
7450
  #endif
@@ -7653,9 +7453,6 @@ static int __Pyx_modinit_type_init_code(void) {
7653
7453
  if (__Pyx_MergeVtables(__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager) < 0) __PYX_ERR(0, 34, __pyx_L1_error)
7654
7454
  #endif
7655
7455
  if (PyObject_SetAttr(__pyx_m, __pyx_n_s_ModifierManager, (PyObject *) __pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager) < 0) __PYX_ERR(0, 34, __pyx_L1_error)
7656
- #if !CYTHON_COMPILING_IN_LIMITED_API
7657
- if (__Pyx_setup_reduce((PyObject *) __pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager) < 0) __PYX_ERR(0, 34, __pyx_L1_error)
7658
- #endif
7659
7456
  #if CYTHON_USE_TYPE_SPECS
7660
7457
  __pyx_ptype_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct__genexpr = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct__genexpr_spec, NULL); if (unlikely(!__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct__genexpr)) __PYX_ERR(0, 25, __pyx_L1_error)
7661
7458
  if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct__genexpr_spec, __pyx_ptype_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct__genexpr) < 0) __PYX_ERR(0, 25, __pyx_L1_error)
@@ -7676,15 +7473,15 @@ static int __Pyx_modinit_type_init_code(void) {
7676
7473
  }
7677
7474
  #endif
7678
7475
  #if CYTHON_USE_TYPE_SPECS
7679
- __pyx_ptype_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers_spec, NULL); if (unlikely(!__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers)) __PYX_ERR(0, 187, __pyx_L1_error)
7680
- if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers_spec, __pyx_ptype_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers) < 0) __PYX_ERR(0, 187, __pyx_L1_error)
7476
+ __pyx_ptype_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers_spec, NULL); if (unlikely(!__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers)) __PYX_ERR(0, 190, __pyx_L1_error)
7477
+ if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers_spec, __pyx_ptype_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers) < 0) __PYX_ERR(0, 190, __pyx_L1_error)
7681
7478
  #else
7682
7479
  __pyx_ptype_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers = &__pyx_type_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers;
7683
7480
  #endif
7684
7481
  #if !CYTHON_COMPILING_IN_LIMITED_API
7685
7482
  #endif
7686
7483
  #if !CYTHON_USE_TYPE_SPECS
7687
- if (__Pyx_PyType_Ready(__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers) < 0) __PYX_ERR(0, 187, __pyx_L1_error)
7484
+ if (__Pyx_PyType_Ready(__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers) < 0) __PYX_ERR(0, 190, __pyx_L1_error)
7688
7485
  #endif
7689
7486
  #if PY_MAJOR_VERSION < 3
7690
7487
  __pyx_ptype_6a_sync_6a_sync_9modifiers_7manager___pyx_scope_struct_1_apply_sync_modifiers->tp_print = 0;
@@ -7709,9 +7506,9 @@ static int __Pyx_modinit_type_import_code(void) {
7709
7506
  int __pyx_clineno = 0;
7710
7507
  __Pyx_RefNannySetupContext("__Pyx_modinit_type_import_code", 0);
7711
7508
  /*--- Type import code ---*/
7712
- __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 1, __pyx_L1_error)
7509
+ __pyx_t_1 = PyImport_ImportModule("a_sync.functools"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 1, __pyx_L1_error)
7713
7510
  __Pyx_GOTREF(__pyx_t_1);
7714
- __pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_0_12(__pyx_t_1, "a_sync.functools", "cached_property_unsafe", sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_0_12(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),__Pyx_ImportType_CheckSize_Warn_3_0_12); if (!__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(3, 1, __pyx_L1_error)
7511
+ __pyx_ptype_6a_sync_9functools_cached_property_unsafe = __Pyx_ImportType_3_0_12(__pyx_t_1, "a_sync.functools", "cached_property_unsafe", sizeof(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe), __PYX_GET_STRUCT_ALIGNMENT_3_0_12(struct __pyx_obj_6a_sync_9functools_cached_property_unsafe),__Pyx_ImportType_CheckSize_Warn_3_0_12); if (!__pyx_ptype_6a_sync_9functools_cached_property_unsafe) __PYX_ERR(2, 1, __pyx_L1_error)
7715
7512
  __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
7716
7513
  __Pyx_RefNannyFinishContext();
7717
7514
  return 0;
@@ -8343,143 +8140,134 @@ if (!__Pyx_RefNanny) {
8343
8140
  /* "a_sync/a_sync/modifiers/manager.pyx":107
8344
8141
  * )
8345
8142
  *
8143
+ * def __reduce__(self): # <<<<<<<<<<<<<<
8144
+ * return ModifierManager, (self._modifiers, True)
8145
+ *
8146
+ */
8147
+ __Pyx_TraceLine(107,0,__PYX_ERR(0, 107, __pyx_L1_error))
8148
+ __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_7__reduce__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ModifierManager___reduce, NULL, __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__3)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 107, __pyx_L1_error)
8149
+ __Pyx_GOTREF(__pyx_t_3);
8150
+ if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, __pyx_n_s_reduce, __pyx_t_3) < 0) __PYX_ERR(0, 107, __pyx_L1_error)
8151
+ __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8152
+ PyType_Modified(__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager);
8153
+
8154
+ /* "a_sync/a_sync/modifiers/manager.pyx":110
8155
+ * return ModifierManager, (self._modifiers, True)
8156
+ *
8346
8157
  * cdef str get_default(self): # <<<<<<<<<<<<<<
8347
8158
  * cdef str default = self.__default
8348
8159
  * if default is None:
8349
8160
  */
8350
- __Pyx_TraceLine(107,0,__PYX_ERR(0, 107, __pyx_L1_error))
8161
+ __Pyx_TraceLine(110,0,__PYX_ERR(0, 110, __pyx_L1_error))
8351
8162
 
8352
8163
 
8353
- /* "a_sync/a_sync/modifiers/manager.pyx":157
8164
+ /* "a_sync/a_sync/modifiers/manager.pyx":160
8354
8165
  * )
8355
8166
  *
8356
8167
  * cpdef object apply_async_modifiers(self, coro_fn: CoroFn[P, T]): # <<<<<<<<<<<<<<
8357
8168
  * """Applies asynchronous modifiers to a coroutine function.
8358
8169
  *
8359
8170
  */
8360
- __Pyx_TraceLine(157,0,__PYX_ERR(0, 157, __pyx_L1_error))
8171
+ __Pyx_TraceLine(160,0,__PYX_ERR(0, 160, __pyx_L1_error))
8361
8172
 
8362
- __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 157, __pyx_L1_error)
8173
+ __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 160, __pyx_L1_error)
8363
8174
  __Pyx_GOTREF(__pyx_t_3);
8364
- if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_coro_fn, __pyx_kp_s_CoroFn_P_T) < 0) __PYX_ERR(0, 157, __pyx_L1_error)
8365
- __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_7apply_async_modifiers, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ModifierManager_apply_async_modi, NULL, __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__3)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 157, __pyx_L1_error)
8175
+ if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_coro_fn, __pyx_kp_s_CoroFn_P_T) < 0) __PYX_ERR(0, 160, __pyx_L1_error)
8176
+ __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_9apply_async_modifiers, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ModifierManager_apply_async_modi, NULL, __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__4)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 160, __pyx_L1_error)
8366
8177
  __Pyx_GOTREF(__pyx_t_2);
8367
8178
  __Pyx_CyFunction_SetAnnotationsDict(__pyx_t_2, __pyx_t_3);
8368
8179
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8369
- if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, __pyx_n_s_apply_async_modifiers, __pyx_t_2) < 0) __PYX_ERR(0, 157, __pyx_L1_error)
8180
+ if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, __pyx_n_s_apply_async_modifiers, __pyx_t_2) < 0) __PYX_ERR(0, 160, __pyx_L1_error)
8370
8181
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8371
8182
  PyType_Modified(__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager);
8372
8183
 
8373
- /* "a_sync/a_sync/modifiers/manager.pyx":187
8184
+ /* "a_sync/a_sync/modifiers/manager.pyx":190
8374
8185
  * return coro_fn
8375
8186
  *
8376
8187
  * def apply_sync_modifiers(self, function: SyncFn[P, T]) -> SyncFn[P, T]: # <<<<<<<<<<<<<<
8377
8188
  * """Wraps a synchronous function.
8378
8189
  *
8379
8190
  */
8380
- __Pyx_TraceLine(187,0,__PYX_ERR(0, 187, __pyx_L1_error))
8381
- __pyx_t_2 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 187, __pyx_L1_error)
8191
+ __Pyx_TraceLine(190,0,__PYX_ERR(0, 190, __pyx_L1_error))
8192
+ __pyx_t_2 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 190, __pyx_L1_error)
8382
8193
  __Pyx_GOTREF(__pyx_t_2);
8383
- if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_function, __pyx_kp_s_SyncFn_P_T) < 0) __PYX_ERR(0, 187, __pyx_L1_error)
8384
- if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_return, __pyx_kp_s_SyncFn_P_T) < 0) __PYX_ERR(0, 187, __pyx_L1_error)
8385
- __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_9apply_sync_modifiers, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ModifierManager_apply_sync_modif, NULL, __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__4)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 187, __pyx_L1_error)
8194
+ if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_function, __pyx_kp_s_SyncFn_P_T) < 0) __PYX_ERR(0, 190, __pyx_L1_error)
8195
+ if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_return, __pyx_kp_s_SyncFn_P_T) < 0) __PYX_ERR(0, 190, __pyx_L1_error)
8196
+ __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_11apply_sync_modifiers, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ModifierManager_apply_sync_modif, NULL, __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__5)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 190, __pyx_L1_error)
8386
8197
  __Pyx_GOTREF(__pyx_t_3);
8387
8198
  __Pyx_CyFunction_SetAnnotationsDict(__pyx_t_3, __pyx_t_2);
8388
8199
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8389
- if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, __pyx_n_s_apply_sync_modifiers, __pyx_t_3) < 0) __PYX_ERR(0, 187, __pyx_L1_error)
8200
+ if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, __pyx_n_s_apply_sync_modifiers, __pyx_t_3) < 0) __PYX_ERR(0, 190, __pyx_L1_error)
8390
8201
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8391
8202
  PyType_Modified(__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager);
8392
8203
 
8393
- /* "a_sync/a_sync/modifiers/manager.pyx":213
8204
+ /* "a_sync/a_sync/modifiers/manager.pyx":216
8394
8205
  *
8395
8206
  * # Dictionary-like API
8396
8207
  * def keys(self) -> KeysView[str]: # type: ignore [override] # <<<<<<<<<<<<<<
8397
8208
  * """Returns the keys of the modifiers.
8398
8209
  *
8399
8210
  */
8400
- __Pyx_TraceLine(213,0,__PYX_ERR(0, 213, __pyx_L1_error))
8401
- __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 213, __pyx_L1_error)
8211
+ __Pyx_TraceLine(216,0,__PYX_ERR(0, 216, __pyx_L1_error))
8212
+ __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 216, __pyx_L1_error)
8402
8213
  __Pyx_GOTREF(__pyx_t_3);
8403
- if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_return, __pyx_kp_s_KeysView_str) < 0) __PYX_ERR(0, 213, __pyx_L1_error)
8404
- __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_11keys, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ModifierManager_keys, NULL, __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__7)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 213, __pyx_L1_error)
8214
+ if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_return, __pyx_kp_s_KeysView_str) < 0) __PYX_ERR(0, 216, __pyx_L1_error)
8215
+ __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_13keys, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ModifierManager_keys, NULL, __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__8)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 216, __pyx_L1_error)
8405
8216
  __Pyx_GOTREF(__pyx_t_2);
8406
8217
  __Pyx_CyFunction_SetAnnotationsDict(__pyx_t_2, __pyx_t_3);
8407
8218
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8408
- if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, __pyx_n_s_keys, __pyx_t_2) < 0) __PYX_ERR(0, 213, __pyx_L1_error)
8219
+ if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, __pyx_n_s_keys, __pyx_t_2) < 0) __PYX_ERR(0, 216, __pyx_L1_error)
8409
8220
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8410
8221
  PyType_Modified(__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager);
8411
8222
 
8412
- /* "a_sync/a_sync/modifiers/manager.pyx":223
8223
+ /* "a_sync/a_sync/modifiers/manager.pyx":226
8413
8224
  * return self._modifiers.keys()
8414
8225
  *
8415
8226
  * def values(self) -> ValuesView[Any]: # type: ignore [override] # <<<<<<<<<<<<<<
8416
8227
  * """Returns the values of the modifiers.
8417
8228
  *
8418
8229
  */
8419
- __Pyx_TraceLine(223,0,__PYX_ERR(0, 223, __pyx_L1_error))
8420
- __pyx_t_2 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 223, __pyx_L1_error)
8230
+ __Pyx_TraceLine(226,0,__PYX_ERR(0, 226, __pyx_L1_error))
8231
+ __pyx_t_2 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 226, __pyx_L1_error)
8421
8232
  __Pyx_GOTREF(__pyx_t_2);
8422
- if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_return, __pyx_kp_s_ValuesView_Any) < 0) __PYX_ERR(0, 223, __pyx_L1_error)
8423
- __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_13values, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ModifierManager_values, NULL, __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__8)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 223, __pyx_L1_error)
8233
+ if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_return, __pyx_kp_s_ValuesView_Any) < 0) __PYX_ERR(0, 226, __pyx_L1_error)
8234
+ __pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_15values, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ModifierManager_values, NULL, __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__9)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 226, __pyx_L1_error)
8424
8235
  __Pyx_GOTREF(__pyx_t_3);
8425
8236
  __Pyx_CyFunction_SetAnnotationsDict(__pyx_t_3, __pyx_t_2);
8426
8237
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8427
- if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, __pyx_n_s_values, __pyx_t_3) < 0) __PYX_ERR(0, 223, __pyx_L1_error)
8238
+ if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, __pyx_n_s_values, __pyx_t_3) < 0) __PYX_ERR(0, 226, __pyx_L1_error)
8428
8239
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8429
8240
  PyType_Modified(__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager);
8430
8241
 
8431
- /* "a_sync/a_sync/modifiers/manager.pyx":233
8242
+ /* "a_sync/a_sync/modifiers/manager.pyx":236
8432
8243
  * return self._modifiers.values()
8433
8244
  *
8434
8245
  * def items(self) -> ItemsView[str, Any]: # type: ignore [override] # <<<<<<<<<<<<<<
8435
8246
  * """Returns the items of the modifiers.
8436
8247
  *
8437
8248
  */
8438
- __Pyx_TraceLine(233,0,__PYX_ERR(0, 233, __pyx_L1_error))
8439
- __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 233, __pyx_L1_error)
8249
+ __Pyx_TraceLine(236,0,__PYX_ERR(0, 236, __pyx_L1_error))
8250
+ __pyx_t_3 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 236, __pyx_L1_error)
8440
8251
  __Pyx_GOTREF(__pyx_t_3);
8441
- if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_return, __pyx_kp_s_ItemsView_str_Any) < 0) __PYX_ERR(0, 233, __pyx_L1_error)
8442
- __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_15items, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ModifierManager_items, NULL, __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__9)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 233, __pyx_L1_error)
8252
+ if (PyDict_SetItem(__pyx_t_3, __pyx_n_s_return, __pyx_kp_s_ItemsView_str_Any) < 0) __PYX_ERR(0, 236, __pyx_L1_error)
8253
+ __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_17items, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ModifierManager_items, NULL, __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__10)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 236, __pyx_L1_error)
8443
8254
  __Pyx_GOTREF(__pyx_t_2);
8444
8255
  __Pyx_CyFunction_SetAnnotationsDict(__pyx_t_2, __pyx_t_3);
8445
8256
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8446
- if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, __pyx_n_s_items, __pyx_t_2) < 0) __PYX_ERR(0, 233, __pyx_L1_error)
8257
+ if (__Pyx_SetItemOnTypeDict((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager, __pyx_n_s_items, __pyx_t_2) < 0) __PYX_ERR(0, 236, __pyx_L1_error)
8447
8258
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8448
8259
  PyType_Modified(__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager);
8449
8260
 
8450
- /* "(tree fragment)":1
8451
- * def __reduce_cython__(self): # <<<<<<<<<<<<<<
8452
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
8453
- * def __setstate_cython__(self, __pyx_state):
8454
- */
8455
- __Pyx_TraceLine(1,0,__PYX_ERR(1, 1, __pyx_L1_error))
8456
- __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_25__reduce_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ModifierManager___reduce_cython, NULL, __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__10)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1, __pyx_L1_error)
8457
- __Pyx_GOTREF(__pyx_t_2);
8458
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_reduce_cython, __pyx_t_2) < 0) __PYX_ERR(1, 1, __pyx_L1_error)
8459
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8460
-
8461
- /* "(tree fragment)":3
8462
- * def __reduce_cython__(self):
8463
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
8464
- * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<<
8465
- * raise TypeError, "no default __reduce__ due to non-trivial __cinit__"
8466
- */
8467
- __Pyx_TraceLine(3,0,__PYX_ERR(1, 3, __pyx_L1_error))
8468
- __pyx_t_2 = __Pyx_CyFunction_New(&__pyx_mdef_6a_sync_6a_sync_9modifiers_7manager_15ModifierManager_27__setstate_cython__, __Pyx_CYFUNCTION_CCLASS, __pyx_n_s_ModifierManager___setstate_cytho, NULL, __pyx_n_s_a_sync_a_sync_modifiers_manager, __pyx_d, ((PyObject *)__pyx_codeobj__11)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 3, __pyx_L1_error)
8469
- __Pyx_GOTREF(__pyx_t_2);
8470
- if (PyDict_SetItem(__pyx_d, __pyx_n_s_setstate_cython, __pyx_t_2) < 0) __PYX_ERR(1, 3, __pyx_L1_error)
8471
- __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8472
-
8473
- /* "a_sync/a_sync/modifiers/manager.pyx":295
8261
+ /* "a_sync/a_sync/modifiers/manager.pyx":298
8474
8262
  * # TODO give us docstrings
8475
8263
  * cdef public ModifierManager NULLS, USER_DEFAULTS
8476
8264
  * NULLS = ModifierManager(null_modifiers) # <<<<<<<<<<<<<<
8477
8265
  * USER_DEFAULTS = ModifierManager(user_set_default_modifiers)
8478
8266
  */
8479
- __Pyx_TraceLine(295,0,__PYX_ERR(0, 295, __pyx_L1_error))
8480
- __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_null_modifiers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 295, __pyx_L1_error)
8267
+ __Pyx_TraceLine(298,0,__PYX_ERR(0, 298, __pyx_L1_error))
8268
+ __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_null_modifiers); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 298, __pyx_L1_error)
8481
8269
  __Pyx_GOTREF(__pyx_t_2);
8482
- __pyx_t_3 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 295, __pyx_L1_error)
8270
+ __pyx_t_3 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 298, __pyx_L1_error)
8483
8271
  __Pyx_GOTREF(__pyx_t_3);
8484
8272
  __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
8485
8273
  __Pyx_XGOTREF((PyObject *)NULLS);
@@ -8487,15 +8275,15 @@ if (!__Pyx_RefNanny) {
8487
8275
  __Pyx_GIVEREF(__pyx_t_3);
8488
8276
  __pyx_t_3 = 0;
8489
8277
 
8490
- /* "a_sync/a_sync/modifiers/manager.pyx":296
8278
+ /* "a_sync/a_sync/modifiers/manager.pyx":299
8491
8279
  * cdef public ModifierManager NULLS, USER_DEFAULTS
8492
8280
  * NULLS = ModifierManager(null_modifiers)
8493
8281
  * USER_DEFAULTS = ModifierManager(user_set_default_modifiers) # <<<<<<<<<<<<<<
8494
8282
  */
8495
- __Pyx_TraceLine(296,0,__PYX_ERR(0, 296, __pyx_L1_error))
8496
- __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_user_set_default_modifiers); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 296, __pyx_L1_error)
8283
+ __Pyx_TraceLine(299,0,__PYX_ERR(0, 299, __pyx_L1_error))
8284
+ __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_user_set_default_modifiers); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 299, __pyx_L1_error)
8497
8285
  __Pyx_GOTREF(__pyx_t_3);
8498
- __pyx_t_2 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 296, __pyx_L1_error)
8286
+ __pyx_t_2 = __Pyx_PyObject_CallOneArg(((PyObject *)__pyx_ptype_6a_sync_6a_sync_9modifiers_7manager_ModifierManager), __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 299, __pyx_L1_error)
8499
8287
  __Pyx_GOTREF(__pyx_t_2);
8500
8288
  __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
8501
8289
  __Pyx_XGOTREF((PyObject *)USER_DEFAULTS);
@@ -8517,9 +8305,9 @@ if (!__Pyx_RefNanny) {
8517
8305
  if (PyDict_SetItem(__pyx_t_2, __pyx_kp_u_ModifierManager_use_cache___get, __pyx_kp_u_Determines_if_caching_should_be) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
8518
8306
  if (PyDict_SetItem(__pyx_t_2, __pyx_kp_u_ModifierManager_apply_async_modi_2, __pyx_kp_u_Applies_asynchronous_modifiers_t) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
8519
8307
  if (PyDict_SetItem(__pyx_t_2, __pyx_kp_u_ModifierManager_apply_sync_modif_2, __pyx_kp_u_Wraps_a_synchronous_function_Not) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
8520
- if (PyDict_SetItem(__pyx_t_2, __pyx_kp_u_ModifierManager_keys_line_213, __pyx_kp_u_Returns_the_keys_of_the_modifier) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
8521
- if (PyDict_SetItem(__pyx_t_2, __pyx_kp_u_ModifierManager_values_line_223, __pyx_kp_u_Returns_the_values_of_the_modifi) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
8522
- if (PyDict_SetItem(__pyx_t_2, __pyx_kp_u_ModifierManager_items_line_233, __pyx_kp_u_Returns_the_items_of_the_modifie) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
8308
+ if (PyDict_SetItem(__pyx_t_2, __pyx_kp_u_ModifierManager_keys_line_216, __pyx_kp_u_Returns_the_keys_of_the_modifier) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
8309
+ if (PyDict_SetItem(__pyx_t_2, __pyx_kp_u_ModifierManager_values_line_226, __pyx_kp_u_Returns_the_values_of_the_modifi) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
8310
+ if (PyDict_SetItem(__pyx_t_2, __pyx_kp_u_ModifierManager_items_line_236, __pyx_kp_u_Returns_the_items_of_the_modifie) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
8523
8311
  if (PyDict_SetItem(__pyx_t_2, __pyx_kp_u_ModifierManager___iter___line_25, __pyx_kp_u_Returns_an_iterator_over_the_mod) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
8524
8312
  if (PyDict_SetItem(__pyx_t_2, __pyx_kp_u_ModifierManager___getitem___line, __pyx_kp_u_Gets_the_value_of_a_modifier_by) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
8525
8313
  if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_2) < 0) __PYX_ERR(0, 1, __pyx_L1_error)
@@ -10296,32 +10084,6 @@ static PyObject *__Pyx_PyDict_GetItem(PyObject *d, PyObject* key) {
10296
10084
  }
10297
10085
  #endif
10298
10086
 
10299
- /* PyDictVersioning */
10300
- #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS
10301
- static CYTHON_INLINE PY_UINT64_T __Pyx_get_tp_dict_version(PyObject *obj) {
10302
- PyObject *dict = Py_TYPE(obj)->tp_dict;
10303
- return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0;
10304
- }
10305
- static CYTHON_INLINE PY_UINT64_T __Pyx_get_object_dict_version(PyObject *obj) {
10306
- PyObject **dictptr = NULL;
10307
- Py_ssize_t offset = Py_TYPE(obj)->tp_dictoffset;
10308
- if (offset) {
10309
- #if CYTHON_COMPILING_IN_CPYTHON
10310
- dictptr = (likely(offset > 0)) ? (PyObject **) ((char *)obj + offset) : _PyObject_GetDictPtr(obj);
10311
- #else
10312
- dictptr = _PyObject_GetDictPtr(obj);
10313
- #endif
10314
- }
10315
- return (dictptr && *dictptr) ? __PYX_GET_DICT_VERSION(*dictptr) : 0;
10316
- }
10317
- static CYTHON_INLINE int __Pyx_object_dict_version_matches(PyObject* obj, PY_UINT64_T tp_dict_version, PY_UINT64_T obj_dict_version) {
10318
- PyObject *dict = Py_TYPE(obj)->tp_dict;
10319
- if (unlikely(!dict) || unlikely(tp_dict_version != __PYX_GET_DICT_VERSION(dict)))
10320
- return 0;
10321
- return obj_dict_version == __Pyx_get_object_dict_version(obj);
10322
- }
10323
- #endif
10324
-
10325
10087
  /* KeywordStringCheck */
10326
10088
  static int __Pyx_CheckKeywordStrings(
10327
10089
  PyObject *kw,
@@ -10396,6 +10158,32 @@ invalid_keyword:
10396
10158
  return 0;
10397
10159
  }
10398
10160
 
10161
+ /* PyDictVersioning */
10162
+ #if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS
10163
+ static CYTHON_INLINE PY_UINT64_T __Pyx_get_tp_dict_version(PyObject *obj) {
10164
+ PyObject *dict = Py_TYPE(obj)->tp_dict;
10165
+ return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0;
10166
+ }
10167
+ static CYTHON_INLINE PY_UINT64_T __Pyx_get_object_dict_version(PyObject *obj) {
10168
+ PyObject **dictptr = NULL;
10169
+ Py_ssize_t offset = Py_TYPE(obj)->tp_dictoffset;
10170
+ if (offset) {
10171
+ #if CYTHON_COMPILING_IN_CPYTHON
10172
+ dictptr = (likely(offset > 0)) ? (PyObject **) ((char *)obj + offset) : _PyObject_GetDictPtr(obj);
10173
+ #else
10174
+ dictptr = _PyObject_GetDictPtr(obj);
10175
+ #endif
10176
+ }
10177
+ return (dictptr && *dictptr) ? __PYX_GET_DICT_VERSION(*dictptr) : 0;
10178
+ }
10179
+ static CYTHON_INLINE int __Pyx_object_dict_version_matches(PyObject* obj, PY_UINT64_T tp_dict_version, PY_UINT64_T obj_dict_version) {
10180
+ PyObject *dict = Py_TYPE(obj)->tp_dict;
10181
+ if (unlikely(!dict) || unlikely(tp_dict_version != __PYX_GET_DICT_VERSION(dict)))
10182
+ return 0;
10183
+ return obj_dict_version == __Pyx_get_object_dict_version(obj);
10184
+ }
10185
+ #endif
10186
+
10399
10187
  /* RaiseClosureNameError */
10400
10188
  static CYTHON_INLINE void __Pyx_RaiseClosureNameError(const char *varname) {
10401
10189
  PyErr_Format(PyExc_NameError, "free variable '%s' referenced before assignment in enclosing scope", varname);
@@ -12017,117 +11805,6 @@ bad:
12017
11805
  }
12018
11806
  #endif
12019
11807
 
12020
- /* SetupReduce */
12021
- #if !CYTHON_COMPILING_IN_LIMITED_API
12022
- static int __Pyx_setup_reduce_is_named(PyObject* meth, PyObject* name) {
12023
- int ret;
12024
- PyObject *name_attr;
12025
- name_attr = __Pyx_PyObject_GetAttrStrNoError(meth, __pyx_n_s_name);
12026
- if (likely(name_attr)) {
12027
- ret = PyObject_RichCompareBool(name_attr, name, Py_EQ);
12028
- } else {
12029
- ret = -1;
12030
- }
12031
- if (unlikely(ret < 0)) {
12032
- PyErr_Clear();
12033
- ret = 0;
12034
- }
12035
- Py_XDECREF(name_attr);
12036
- return ret;
12037
- }
12038
- static int __Pyx_setup_reduce(PyObject* type_obj) {
12039
- int ret = 0;
12040
- PyObject *object_reduce = NULL;
12041
- PyObject *object_getstate = NULL;
12042
- PyObject *object_reduce_ex = NULL;
12043
- PyObject *reduce = NULL;
12044
- PyObject *reduce_ex = NULL;
12045
- PyObject *reduce_cython = NULL;
12046
- PyObject *setstate = NULL;
12047
- PyObject *setstate_cython = NULL;
12048
- PyObject *getstate = NULL;
12049
- #if CYTHON_USE_PYTYPE_LOOKUP
12050
- getstate = _PyType_Lookup((PyTypeObject*)type_obj, __pyx_n_s_getstate);
12051
- #else
12052
- getstate = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_n_s_getstate);
12053
- if (!getstate && PyErr_Occurred()) {
12054
- goto __PYX_BAD;
12055
- }
12056
- #endif
12057
- if (getstate) {
12058
- #if CYTHON_USE_PYTYPE_LOOKUP
12059
- object_getstate = _PyType_Lookup(&PyBaseObject_Type, __pyx_n_s_getstate);
12060
- #else
12061
- object_getstate = __Pyx_PyObject_GetAttrStrNoError((PyObject*)&PyBaseObject_Type, __pyx_n_s_getstate);
12062
- if (!object_getstate && PyErr_Occurred()) {
12063
- goto __PYX_BAD;
12064
- }
12065
- #endif
12066
- if (object_getstate != getstate) {
12067
- goto __PYX_GOOD;
12068
- }
12069
- }
12070
- #if CYTHON_USE_PYTYPE_LOOKUP
12071
- object_reduce_ex = _PyType_Lookup(&PyBaseObject_Type, __pyx_n_s_reduce_ex); if (!object_reduce_ex) goto __PYX_BAD;
12072
- #else
12073
- object_reduce_ex = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_n_s_reduce_ex); if (!object_reduce_ex) goto __PYX_BAD;
12074
- #endif
12075
- reduce_ex = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_reduce_ex); if (unlikely(!reduce_ex)) goto __PYX_BAD;
12076
- if (reduce_ex == object_reduce_ex) {
12077
- #if CYTHON_USE_PYTYPE_LOOKUP
12078
- object_reduce = _PyType_Lookup(&PyBaseObject_Type, __pyx_n_s_reduce); if (!object_reduce) goto __PYX_BAD;
12079
- #else
12080
- object_reduce = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_n_s_reduce); if (!object_reduce) goto __PYX_BAD;
12081
- #endif
12082
- reduce = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_reduce); if (unlikely(!reduce)) goto __PYX_BAD;
12083
- if (reduce == object_reduce || __Pyx_setup_reduce_is_named(reduce, __pyx_n_s_reduce_cython)) {
12084
- reduce_cython = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_n_s_reduce_cython);
12085
- if (likely(reduce_cython)) {
12086
- ret = PyDict_SetItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_reduce, reduce_cython); if (unlikely(ret < 0)) goto __PYX_BAD;
12087
- ret = PyDict_DelItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_reduce_cython); if (unlikely(ret < 0)) goto __PYX_BAD;
12088
- } else if (reduce == object_reduce || PyErr_Occurred()) {
12089
- goto __PYX_BAD;
12090
- }
12091
- setstate = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_n_s_setstate);
12092
- if (!setstate) PyErr_Clear();
12093
- if (!setstate || __Pyx_setup_reduce_is_named(setstate, __pyx_n_s_setstate_cython)) {
12094
- setstate_cython = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_n_s_setstate_cython);
12095
- if (likely(setstate_cython)) {
12096
- ret = PyDict_SetItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_setstate, setstate_cython); if (unlikely(ret < 0)) goto __PYX_BAD;
12097
- ret = PyDict_DelItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_setstate_cython); if (unlikely(ret < 0)) goto __PYX_BAD;
12098
- } else if (!setstate || PyErr_Occurred()) {
12099
- goto __PYX_BAD;
12100
- }
12101
- }
12102
- PyType_Modified((PyTypeObject*)type_obj);
12103
- }
12104
- }
12105
- goto __PYX_GOOD;
12106
- __PYX_BAD:
12107
- if (!PyErr_Occurred()) {
12108
- __Pyx_TypeName type_obj_name =
12109
- __Pyx_PyType_GetName((PyTypeObject*)type_obj);
12110
- PyErr_Format(PyExc_RuntimeError,
12111
- "Unable to initialize pickling for " __Pyx_FMT_TYPENAME, type_obj_name);
12112
- __Pyx_DECREF_TypeName(type_obj_name);
12113
- }
12114
- ret = -1;
12115
- __PYX_GOOD:
12116
- #if !CYTHON_USE_PYTYPE_LOOKUP
12117
- Py_XDECREF(object_reduce);
12118
- Py_XDECREF(object_reduce_ex);
12119
- Py_XDECREF(object_getstate);
12120
- Py_XDECREF(getstate);
12121
- #endif
12122
- Py_XDECREF(reduce);
12123
- Py_XDECREF(reduce_ex);
12124
- Py_XDECREF(reduce_cython);
12125
- Py_XDECREF(setstate);
12126
- Py_XDECREF(setstate_cython);
12127
- return ret;
12128
- }
12129
- #endif
12130
-
12131
11808
  /* PyObject_GenericGetAttrNoDict */
12132
11809
  #if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000
12133
11810
  static PyObject *__Pyx_RaiseGenericGetAttributeError(PyTypeObject *tp, PyObject *attr_name) {
@@ -12386,7 +12063,7 @@ static PyObject *__Pyx_ImportDottedModule_WalkParts(PyObject *module, PyObject *
12386
12063
  #endif
12387
12064
  static PyObject *__Pyx__ImportDottedModule(PyObject *name, PyObject *parts_tuple) {
12388
12065
  #if PY_MAJOR_VERSION < 3
12389
- PyObject *module, *from_list, *star = __pyx_n_s__12;
12066
+ PyObject *module, *from_list, *star = __pyx_n_s__11;
12390
12067
  CYTHON_UNUSED_VAR(parts_tuple);
12391
12068
  from_list = PyList_New(1);
12392
12069
  if (unlikely(!from_list))
@@ -12449,7 +12126,7 @@ static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) {
12449
12126
  if (unlikely(!module_name_str)) { goto modbad; }
12450
12127
  module_name = PyUnicode_FromString(module_name_str);
12451
12128
  if (unlikely(!module_name)) { goto modbad; }
12452
- module_dot = PyUnicode_Concat(module_name, __pyx_kp_u__13);
12129
+ module_dot = PyUnicode_Concat(module_name, __pyx_kp_u__12);
12453
12130
  if (unlikely(!module_dot)) { goto modbad; }
12454
12131
  full_name = PyUnicode_Concat(module_dot, name);
12455
12132
  if (unlikely(!full_name)) { goto modbad; }
@@ -12863,7 +12540,7 @@ __Pyx_PyType_GetName(PyTypeObject* tp)
12863
12540
  if (unlikely(name == NULL) || unlikely(!PyUnicode_Check(name))) {
12864
12541
  PyErr_Clear();
12865
12542
  Py_XDECREF(name);
12866
- name = __Pyx_NewRef(__pyx_n_s__18);
12543
+ name = __Pyx_NewRef(__pyx_n_s__16);
12867
12544
  }
12868
12545
  return name;
12869
12546
  }