recent changes to propertynames spits out key error
- this happens when you call
propertynamesinsklearnto check forfit or transform vs predict. once you call one them, it throws akey errorexception because whilepropertynamessayfitortransform/predictis available, actually calling one of them breaks.getmemberis a more stable call instead ofdirwhich list methods which may not be callable.
https://github.com/IBM/Lale.jl/runs/2329281498?check_suite_focus=true
cc @sethaxen since #879 is at issue here.
yes. i have to copy the old code which uses getmember so that my fit/transform call to sklearn works. i’m not sure why python returns key error. it seems the dir command has bogus return of fit/transform such that calling python object returns error because it doesn’t support it.
Could you provide a minimal example of a Python class for which dir fails but getmember works? See for example the test class added in #879 for which dir works but getmember fails.