def create_data(self, extra=None):
if self._data:<EOL><INDENT>return self._data<EOL><DEDENT>self._data = {'<STR_LIT>': self.get_coverage()}<EOL>self._data.update(git_info())<EOL>self._data.update(self.config)<EOL>if extra:<EOL><INDENT>if '<STR_LIT>' in extra:<EOL><INDENT>self._data['<STR_LIT>'].extend(extra['<STR_LIT>'])<EOL><DEDENT>else:<EOL><INDENT>log.warning('<STR_LIT>'<EOL>'<STR_LIT>')<EOL><DEDENT><DEDENT>return self._data<EOL>
r"""
        Generate object for api.

        Example json:
            {
                "service_job_id": "1234567890",
                "service_name": "travis-ci",
                "source_files": [
                    {
                        "name": "example.py",
                        "source": "def four\n  4\nend",
                        "coverage": [null, 1, null]
                    },
                    {
                        "name": "two.py",
                        "source": "def seven\n  eight\n  nine\nend",
                        "coverage": [null, 1, 0, null]
                    }
                ],
                "parallel": True
            }