Fix BotoCredentialAdapter pickling (#2904)
Fix BotoCredentialAdapter pickling (#2904)

* new PR because the other one got messy... my bad

* put into adapter into try

* Revert "put into adapter into try"

This reverts commit eaed01688856e9c619bc915832084003253ca720.

* added check for base_class

* added retrun if base_class is Nonew

* added check for base_class being none

* added issubclass to check instance of base_class to try except

* Revert "added issubclass to check instance of base_class to try except"

This reverts commit 7d5f5275dd2a796abded898a79c2486c87c09fbf.

* changed error catching

* passing base class into adaptorw

* revert back to 'put into adapter into try'

* fixed syntax

* pushed missing defs into class level

* Cleaned up monkey_patch

* removed redun base clsas

* triggering test again

Co-authored-by: Adam Novak <0e779b910d3a07c20c5112429ccd7eaa900865ed@soe.ucsc.edu>

BD2KGenomics/slugflow,BD2KGenomics/slugflow