Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
azure-schemaregistry-avroserializer
Advanced tools
Microsoft Azure Schema Registry Avro Serializer Client Library for Python
This package is no longer being maintained. Use the azure-schemaregistry-avroencoder package instead.
For migration instructions, see the migration guide.
This package is no longer being maintained. Use the azure-schemaregistry-avroencoder package instead.
For migration instructions, see the migration guide.
AvroSerializer
has been added under azure.schemaregistry.serializer.avroserializer.aio
.azure-schemaregistry>=1.0.0,<2.0.0
.SchemaParseError
, SchemaSerializationError
, and SchemaDeserializationError
have been introduced under azure.schemaregistry.serializer.avroserializer.exceptions
and will be raised for corresponding operations.
SchemaParseError
and SchemaSerializationError
may be raised for errors when calling serialize
on AvroSerializer
.SchemaParseError
and SchemaDeserializationError
may be raised for errors when calling deserialize
on AvroSerializer
.auto_register_schemas
keyword argument has been added to AvroSerializer
, which will allow for automatically registering schemas passed in to the serialize
, when set to True
, otherwise False
by default.value
parameter in serialize
on AvroSerializer
takes type Mapping
rather than Dict
.azure-schemaregistry==1.0.0b3
.SchemaRegistryAvroSerializer
has been renamed AvroSerializer
.schema_registry
parameter in the AvroSerializer
constructor has been renamed client
.schema_group
parameter in the AvroSerializer
constructor has been renamed group_name
.data
parameter in the serialize
and deserialize
methods on AvroSerializer
has been renamed value
.schema
parameter in the serialize
method on AvroSerializer
no longer accepts argument of type bytes
.AvroSerializer
constructor no longer takes in the codec
keyword argument.client
and group_name
in AvroSerializer
constructorschema
in serialize
on AvroSerializer
This version and all future versions will require Python 2.7 or Python 3.6+, Python 3.5 is no longer supported.
azure-schemaregistry==1.0.0b2
which supports client-level caching.Version 1.0.0b1 is the first preview of our efforts to create a user-friendly and Pythonic client library for Azure Schema Registry Avro Serializer.
New features
SchemaRegistryAvroSerializer
is the top-level client class that provides the functionality to encode and decode avro data utilizing the avro library. It will automatically register schema and retrieve schema from Azure Schema Registry Service. It provides two methods:
serialize
: Serialize dict data into bytes according to the given schema and register schema if needed.deserialize
: Deserialize bytes data into dict data by automatically retrieving schema from the service.FAQs
Microsoft Azure Schema Registry Avro Serializer Client Library for Python
We found that azure-schemaregistry-avroserializer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.