Closed wuhu closed 2 years ago
@blythed this should be fixed now.
Merging #451 (95eec78) into main (46ad518) will decrease coverage by
0.76%
. The diff coverage is86.67%
.
@@ Coverage Diff @@
## main #451 +/- ##
==========================================
- Coverage 89.06% 88.30% -0.77%
==========================================
Files 15 16 +1
Lines 3008 3462 +454
==========================================
+ Hits 2679 3057 +378
- Misses 329 405 +76
Impacted Files | Coverage Δ | |
---|---|---|
padl/wrap.py | 94.36% <ø> (+3.76%) |
:arrow_up: |
padl/dumptools/ast_utils.py | 64.48% <68.33%> (+4.91%) |
:arrow_up: |
padl/transforms.py | 89.51% <79.26%> (-1.87%) |
:arrow_down: |
padl/dumptools/config_tools.py | 79.56% <79.56%> (ø) |
|
padl/dumptools/symfinder.py | 91.00% <89.52%> (+3.26%) |
:arrow_up: |
padl/dumptools/inspector.py | 92.59% <90.00%> (-0.31%) |
:arrow_down: |
padl/dumptools/var2mod.py | 94.06% <95.16%> (-0.73%) |
:arrow_down: |
padl/__init__.py | 100.00% <100.00%> (ø) |
|
padl/dumptools/packagefinder.py | 96.61% <100.00%> (+0.05%) |
:arrow_up: |
padl/dumptools/serialize.py | 88.88% <100.00%> (-2.32%) |
:arrow_down: |
... and 6 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 46ad518...95eec78. Read the comment docs.
from padl import *
@transform
class B:
def __init__(self, x):
...
b = 1
b = B(b)
print(b._pd_dumps())
is still failing.
from padl import transform
b = 1
@transform
class B:
def __init__(self, x):
...
b = B(b)
_pd_main = B(b)
I'm testing this with this code:
It works in
IPython
but not inpython
(when executing the module).Error message from
python <modulename>.py
: