@classmethod<EOL><INDENT>def create(cls, files):<DEDENT>
data = {}<EOL>for index, file_ in enumerate(files):<EOL><INDENT>if isinstance(file_, File):<EOL><INDENT>file_index = '<STR_LIT>'.format(index=index)<EOL>data[file_index] = six.text_type(file_)<EOL><DEDENT>else:<EOL><INDENT>raise InvalidParamError(<EOL>'<STR_LIT>'<EOL>)<EOL><DEDENT><DEDENT>if not data:<EOL><INDENT>raise InvalidParamError('<STR_LIT>')<EOL><DEDENT>group_info = uploading_request('<STR_LIT:POST>', '<STR_LIT>', data=data)<EOL>group = cls.construct_from(group_info)<EOL>return group<EOL>
Creates file group and returns ``FileGroup`` instance.

        It expects iterable object that contains ``File`` instances, e.g.::

            >>> file_1 = File('6c5e9526-b0fe-4739-8975-72e8d5ee6342')
            >>> file_2 = File('a771f854-c2cb-408a-8c36-71af77811f3b')
            >>> FileGroup.create((file_1, file_2))
            <uploadcare.FileGroup 0513dda0-6666-447d-846f-096e5df9e2bb~2>