def group_create(self, group, **kwargs):  # noqa: E501
        """Create a group  # noqa: E501

        Create a group  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass asynchronous=True
        >>> thread = api.group_create(group, asynchronous=True)
        >>> result = thread.get()

        :param asynchronous bool
        :param Group group: Group (required)
        :return: DeviceGroup
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('asynchronous'):
            return self.group_create_with_http_info(group, **kwargs)  # noqa: E501
        else:
            (data) = self.group_create_with_http_info(group, **kwargs)  # noqa: E501
            return data