Skip to content

Commit

Permalink
docs typos (Azure#22992)
Browse files Browse the repository at this point in the history
  • Loading branch information
swathipil authored Feb 9, 2022
1 parent ad18b2b commit 727672f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sdk/eventhub/azure-eventhub/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
author_email='[email protected]',
url='https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventhub/azure-eventhub',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Development Status :: 4 - Beta",
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
Expand Down
8 changes: 4 additions & 4 deletions sdk/schemaregistry/azure-schemaregistry-avroencoder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ If message type or callback function is not provided, and by default, the encode
The following sections provide several code snippets covering some of the most common Schema Registry tasks, including:

- [Encoding](#encoding)
- [Deencoding](#decoding)
- [Decoding](#decoding)
- [Event Hubs Sending Integration](#event-hubs-sending-integration)
- [Event Hubs Receiving Integration](#event-hubs-receiving-integration)

### Encoding

Use `AvroEncoder.encode` method to encode dict data with the given avro schema.
Use `AvroEncoder.encode` method to encode dict data with the given Avro schema.
The method will use a schema previously registered to the Schema Registry service and keep the schema cached for future encoding usage. It is also possible to avoid pre-registering the schema to the service and automatically register with the `encode` method by instantiating the `AvroEncoder` with the keyword argument `auto_register_schemas=True`.

```python
Expand Down Expand Up @@ -175,7 +175,7 @@ with encoder:

### Event Hubs Sending Integration

Integration with [Event Hubs][eventhubs_repo] to send encoded avro dict data as the body of EventData.
Integration with [Event Hubs][eventhubs_repo] to send encoded Avro dict data as the body of EventData.

```python
import os
Expand Down Expand Up @@ -219,7 +219,7 @@ with eventhub_producer, avro_encoder:

### Event Hubs Receiving Integration

Integration with [Event Hubs][eventhubs_repo] to receive `EventData` and decoded raw bytes into avro dict data.
Integration with [Event Hubs][eventhubs_repo] to receive `EventData` and decoded raw bytes into Avro dict data.

```python
import os
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pip install azure-eventhub==5.9.0b1

1. Open a terminal window and `cd` to the directory that the samples are saved in.
2. Set the environment variables specified in the sample file you wish to run.
3. Follow the usage described in the file, e.g. `python avro_encoder.py`
3. Follow the usage described in the file, e.g. `python encode_and_decode_event_data_message.py`

## Next steps

Expand Down

0 comments on commit 727672f

Please sign in to comment.