mxcubecore.HardwareObjects.abstract.ISPyBDataAdapter#

Functions

utf_decode(res_d)

utf_encode(res_d)

Classes

ISPyBDataAdapter(ws_root, proxy, ...)

mxcubecore.HardwareObjects.abstract.ISPyBDataAdapter.suds_encode(self, /, encoding='utf-8', errors='strict')#

Decode the bytes using the codec registered for encoding.

encoding

The encoding with which to decode the bytes.

errors

The error handling scheme to use for the handling of decoding errors. The default is ‘strict’ meaning that decoding errors raise a UnicodeDecodeError. Other possible values are ‘ignore’ and ‘replace’ as well as any other name registered with codecs.register_error that can handle UnicodeDecodeErrors.