xobjects 0.2.8__tar.gz → 0.2.9__tar.gz
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.
- {xobjects-0.2.8/xobjects.egg-info → xobjects-0.2.9}/PKG-INFO +1 -1
- xobjects-0.2.9/xobjects/_version.py +1 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/hybrid_class.py +7 -1
- {xobjects-0.2.8 → xobjects-0.2.9/xobjects.egg-info}/PKG-INFO +1 -1
- xobjects-0.2.8/xobjects/_version.py +0 -1
- {xobjects-0.2.8 → xobjects-0.2.9}/LICENSE +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/pyproject.toml +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/setup.cfg +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/setup.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/__init__.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/_patch_pyopencl_array.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/array.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/capi.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/context.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/context_cpu.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/context_cupy.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/context_pyopencl.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/general.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/linkedarray.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/ref.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/scalar.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/specialize_source.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/string.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/struct.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/test_helpers.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/typeutils.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects/union.py +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects.egg-info/SOURCES.txt +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects.egg-info/dependency_links.txt +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects.egg-info/requires.txt +0 -0
- {xobjects-0.2.8 → xobjects-0.2.9}/xobjects.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.2.9"
|
|
@@ -301,7 +301,13 @@ class HybridClass(metaclass=MetaHybridClass):
|
|
|
301
301
|
|
|
302
302
|
if hasattr(obj, "_store_in_to_dict"):
|
|
303
303
|
for nn in obj._store_in_to_dict:
|
|
304
|
-
|
|
304
|
+
ww = getattr(obj, nn)
|
|
305
|
+
if hasattr(ww, "to_dict"):
|
|
306
|
+
out[nn] = ww.to_dict()
|
|
307
|
+
elif hasattr(ww, "_to_dict"):
|
|
308
|
+
out[nn] = ww._to_dict()
|
|
309
|
+
else:
|
|
310
|
+
out[nn] = ww
|
|
305
311
|
|
|
306
312
|
return out
|
|
307
313
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.2.8"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|