def cmd_defaults(self, **kwargs):
        if len(kwargs) == 1 and callable(list(kwargs.values())[0]):
            raise TypeError("defaults() decorator requires arguments, "
                            "but none were supplied")

        # Work-around http://bugs.python.org/issue9351 by storing the
        # defaults outside the ArgumentParser. The special key "None" is
        # used for the pending defaults for a yet-to-be defined command.
        self._defaults[None] = kwargs
        return lambda func: func
Update SSO Settings.
dataset/ETHPy150Open splunk/splunk-webframework/contrib/aaargh/aaargh.py/App.cmd_defaults--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python3-alpha/python-libs/gdata/apps/adminsettings/service.py/AdminSettingsService.UpdateSSOSettings