diff --git a/src/confluent_kafka/schema_registry/schema_registry_client.py b/src/confluent_kafka/schema_registry/schema_registry_client.py index 06ca30d0e..e38e55c15 100644 --- a/src/confluent_kafka/schema_registry/schema_registry_client.py +++ b/src/confluent_kafka/schema_registry/schema_registry_client.py @@ -821,6 +821,8 @@ def __init__(self, schema_id, schema, subject, version): self.subject = subject self.version = version + def __str__(self) -> str: + return self.schema.schema_str class SchemaReference(object): """