From 3252969fb687c7fdb7099c1d13ed41d87dc9b08b Mon Sep 17 00:00:00 2001 From: swathipil <76007337+swathipil@users.noreply.github.com> Date: Tue, 14 Sep 2021 09:17:18 -0700 Subject: [PATCH] [SchemaRegistry] remove codec param in serializer (#20671) * remove codec * changelog --- .../azure-schemaregistry-avroserializer/CHANGELOG.md | 1 + .../avroserializer/_schema_registry_avro_serializer.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/CHANGELOG.md b/sdk/schemaregistry/azure-schemaregistry-avroserializer/CHANGELOG.md index ce6d28a08c1d..80fb90b1405e 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/CHANGELOG.md +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/CHANGELOG.md @@ -11,6 +11,7 @@ - `schema_registry` parameter in the `SchemaRegistryAvroSerializer` constructor has been renamed `client`. - `schema_group` parameter in the `SchemaRegistryAvroSerializer` constructor has been renamed `group_name`. - `data` parameter in the `serialize` and `deserialize` methods on `SchemaRegistryAvroSerializer` has been renamed `value`. +- `SchemaRegistryAvroSerializer` constructor no longer takes in the `codec` keyword argument. ### Bugs Fixed diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py index 73eb25a9b31d..1717ce89a093 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py @@ -42,7 +42,6 @@ class SchemaRegistryAvroSerializer(object): :param str group_name: Schema group under which schema should be registered. :keyword bool auto_register_schemas: When true, register new schemas passed to serialize. Otherwise, and by default, fail if it has not been pre-registered in the registry. - :keyword str codec: The writer codec. If None, let the avro library decides. """