Source code for invenio_records_files.links

# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016-2019 CERN.
#
# Invenio is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.

"""Link for file bucket creation."""

from flask import url_for
from invenio_records_rest import current_records_rest

from .api import Record