cachier icon indicating copy to clipboard operation
cachier copied to clipboard

Support exclude `self` in classmethod

Open eromoe opened this issue 7 years ago • 1 comments

Hello,

I found cachier failed with a unpickable Class , becase that class contain database session . It is no need to cache self in a class method .

Maybe you can add an option to pup the first argumernt .

eromoe avatar Jan 23 '19 09:01 eromoe

That sounds like a good idea. However, I do not currently have the bandwidth to write this myself. Why don't you give this a go? I'm here to help!

shaypal5 avatar Jan 29 '19 11:01 shaypal5