Skip to content

Commit

Permalink
Fix minor typos (#1036)
Browse files Browse the repository at this point in the history
  • Loading branch information
lev-i committed Aug 22, 2022
1 parent c91cb47 commit ada6ab9
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Expand Up @@ -20,7 +20,7 @@ def __init__(self, hostname, registration_id, id_scope, **kwargs):
:param str hostname: The hostname of the Provisioning hub instance to connect to
:param str registration_id: The device registration identity being provisioned
:param str id_scope: The identity of the provisoning service being used
:param str id_scope: The identity of the provisioning service being used
"""
super().__init__(hostname=hostname, **kwargs)

Expand Down
Expand Up @@ -76,7 +76,7 @@ def __init__(self, pipeline_configuration):
.append_stage(pipeline_stages_provisioning_mqtt.ProvisioningMQTTTranslationStage())
#
# AutoConnectStage comes here because only MQTT ops have the need_connection flag set
# and this is the first place in the pipeline wherer we can guaranetee that all network
# and this is the first place in the pipeline where we can guarantee that all network
# ops are MQTT ops.
#
.append_stage(pipeline_stages_base.AutoConnectStage())
Expand Down
Expand Up @@ -89,7 +89,7 @@ def extract_properties_from_dps_response_topic(topic):
properties = topic_parts[2]

# NOTE: we cannot use urllib.parse.parse_qs because it always decodes '+' as ' ',
# and the behavior cannot be overriden. Must parse key/value pairs manually.
# and the behavior cannot be overridden. Must parse key/value pairs manually.

if properties:
key_value_pairs = properties.split("&")
Expand Down
Expand Up @@ -49,7 +49,7 @@ def _run_op(self, op):
query_params=urllib.parse.urlencode(query_param_seq, quote_via=urllib.parse.quote),
)

# Dynamically attach the derived MQTT values to the InitalizePipelineOperation
# Dynamically attach the derived MQTT values to the InitializePipelineOperation
# to be used later down the pipeline
op.username = username
op.client_id = client_id
Expand Down
2 changes: 1 addition & 1 deletion devbox_setup.md
Expand Up @@ -18,7 +18,7 @@ python scripts/env_setup.py

This will install not only relevant development and test dependencies, but also an editable install of the source code, which can then have any code changes immediately reflected in the install.

It is recommended to use [virtualenvwrapper](https://virtualenvwrapper.readthedocs.io/en/latest/install.html) for Unix-based platforms or [virutalenvwrapper-win](https://github.com/davidmarble/virtualenvwrapper-win) for Windows, in order to easily manage custom environments and switch Python versions, however this is optional.
It is recommended to use [virtualenvwrapper](https://virtualenvwrapper.readthedocs.io/en/latest/install.html) for Unix-based platforms or [virtualenvwrapper-win](https://github.com/davidmarble/virtualenvwrapper-win) for Windows, in order to easily manage custom environments and switch Python versions, however this is optional.

## Environment Variables (Optional)

Expand Down
2 changes: 1 addition & 1 deletion migration_guide.md
Expand Up @@ -48,7 +48,7 @@ currently only supporting the MQTT protocol so it only requires to supply the co

For x.509 device the v1 SDK required the user to supply the certificates in a call to set_options. Moving forward in the v2
SDK, we only require for the user to call the create function with an x.509 object containing the path to the x.509 file and
key file with the optional pass phrase if neccessary.
key file with the optional pass phrase if necessary.

- v1

Expand Down
2 changes: 1 addition & 1 deletion samples/README.md
Expand Up @@ -64,7 +64,7 @@ This directory contains samples showing how to use the various features of the M


async def main():
# Fetch the connection string from an enviornment variable
# Fetch the connection string from an environment variable
conn_str = os.getenv("IOTHUB_DEVICE_CONNECTION_STRING")

# Create instance of the device client using the authentication provider
Expand Down

0 comments on commit ada6ab9

Please sign in to comment.