'See :py:meth `ModuleStoreDraftAndPublished.create_item`'

def create_item(self, user_id, course_key, block_type, block_id=None, definition_locator=None, fields=None, asides=None, force=False, skip_auto_publish=False, **kwargs):

    course_key = self._map_revision_to_branch(course_key)
    emit_signals = ((course_key.branch == ModuleStoreEnum.BranchName.published) or (block_type in DIRECT_ONLY_CATEGORIES))
    with self.bulk_operations(course_key, emit_signals=emit_signals):
        item = super(DraftVersioningModuleStore, self).create_item(user_id, course_key, block_type, block_id=block_id, definition_locator=definition_locator, fields=fields, asides=asides, force=force, **kwargs)
        if (not skip_auto_publish):
            self._auto_publish_no_children(item.location, item.location.category, user_id, **kwargs)
        return item
