def create_drafts_bp(app):
    """Create drafts blueprint."""
    ext = app.extensions["invenio-rdm-records"]
    return ext.drafts_resource.as_blueprint(
            "bibliographic_draft_resource"
        )