docs: def create(cls, bucket, key, value):
          """Create a new tag for bucket."""
          with db.session.begin_nested():
              obj = cls(
                  bucket_id=as_bucket_id(bucket),
                  key=key,
                  value=value
              )
              db.session.add(obj)
          return obj