def update_attributes(self, subject, repo, package, version=None, attributes=None):
        """ Update attributes associated with the specified package or version.

            Attributes may have a null value. Optionally, specify an attribute type. Otherwise,
            type will be inferred from the attribute’s value. If a type cannot be inferred, string