SAMPMsgReplierWrapper#
- class astropy.samp.SAMPMsgReplierWrapper(cli)[source]#
Bases:
object
Function decorator that allows to automatically grab errors and returned maps (if any) from a function bound to a SAMP call (or notify).
- Parameters:
- cli
SAMPIntegratedClient
orSAMPClient
SAMP client instance. Decorator initialization, accepting the instance of the client that receives the call or notification.
- cli
Methods Summary
__call__
(f)Call self as a function.
Methods Documentation