Skip to content

Commit bec589a

Browse files
authored
[SchemaRegistry] avro fix sample (Azure#23823)
1 parent ca02772 commit bec589a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdk/schemaregistry/azure-schemaregistry-avroencoder/samples/async_samples/encode_and_decode_with_message_content_async.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828

2929
from azure.identity.aio import ClientSecretCredential
3030
from azure.schemaregistry.aio import SchemaRegistryClient
31-
from azure.schemaregistry.encoder.avroencoder.aio import AvroEncoder, MessageContent
31+
from azure.schemaregistry.encoder.avroencoder import MessageContent
32+
from azure.schemaregistry.encoder.avroencoder.aio import AvroEncoder
3233
from azure.eventhub import EventData
3334

3435
TENANT_ID = os.environ["AZURE_TENANT_ID"]

0 commit comments

Comments
 (0)