

def get_discovery(self, **params):
    'Attempts to discover IMAP settings for a given email address.\n\n        2.0\n        Documentation: http://context.io/docs/2.0/discovery\n\n        Lite\n        Documentation: http://context.io/lite.0/discovery\n\n        Required Arguments:\n            source_type: string - The type of source you want to discover\n                settings for. Right now, the only supported source type is IMAP\n            email: string - An email address you want to discover IMAP\n                settings for. Make sure source_type is set to IMAP.\n\n        Returns:\n            A Discovery object.\n        '
    if ('source_type' not in params):
        params['source_type'] = 'IMAP'
    all_args = req_args = ['source_type', 'email']
    params = helpers.sanitize_params(self, all_args, req_args)
    return Discovery(self, self._request_uri('discovery', params=params))

dataset/ETHPy150Open contextio/Python-ContextIO/contextio/lib/api.py Api.get_discovery/VarMisuse@49/277 `params`->`self`