Source code for marshmallow_utils.fields.links

# -*- coding: utf-8 -*-
#
# Copyright (C) 2020 CERN.
#
# Marshmallow-Utils 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 store and field for generating links."""

from marshmallow import fields, missing
from uritemplate import URITemplate





def always(*args, **kwargs):
    """A function that returns True no matter what is passed to it."""
    return True