def create_content_migration(self, migration_type, **kwargs):
from canvasapi.content_migration import ContentMigration, Migrator<EOL>if isinstance(migration_type, Migrator):<EOL><INDENT>kwargs['<STR_LIT>'] = migration_type.type<EOL><DEDENT>elif isinstance(migration_type, string_types):<EOL><INDENT>kwargs['<STR_LIT>'] = migration_type<EOL><DEDENT>else:<EOL><INDENT>raise TypeError('<STR_LIT>')<EOL><DEDENT>response = self._requester.request(<EOL>'<STR_LIT:POST>',<EOL>'<STR_LIT>'.format(self.id),<EOL>_kwargs=combine_kwargs(**kwargs)<EOL>)<EOL>response_json = response.json()<EOL>response_json.update({'<STR_LIT>': self.id})<EOL>return ContentMigration(self._requester, response_json)<EOL>
Create a content migration.

:calls: `POST /api/v1/groups/:group_id/content_migrations \
<https://canvas.instructure.com/doc/api/content_migrations.html#method.content_migrations.create>`_

:param migration_type: The migrator type to use in this migration
:type migration_type: str or :class:`canvasapi.content_migration.Migrator`

:rtype: :class:`canvasapi.content_migration.ContentMigration`