docs: def create_or_update(cls, bucket, key, value):
          """Create or update a new tag for bucket."""
          obj = cls.get(bucket, key)
          if obj:
              obj.value = value
              db.session.merge(obj)
          else:
              obj = cls.create(bucket, key, value)
          return obj