Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"sdk/eventhub/azure-eventhub-checkpointstoretable/**",
"sdk/eventgrid/azure-eventgrid/**",
"sdk/eventhub/azure-eventhub-checkpointstoreblob-aio/**",
"sdk/eventhub/azure-eventhub-checkpointstoreblob/**",
"sdk/eventhub/azure-eventhub/**",
"sdk/graphrbac/azure-graphrbac/**",
"sdk/formrecognizer/azure-ai-formrecognizer/samples/sample_forms/**",
Expand Down Expand Up @@ -182,6 +181,7 @@
"illumos",
"imds",
"inotify",
"ints",
"iohttp",
"IOHTTP",
"inprogress",
Expand Down Expand Up @@ -217,6 +217,7 @@
"LPCWSTR",
"Lucene",
"mbps",
"mday",
"mibps",
"mgmt",
"mhsm",
Expand All @@ -231,6 +232,7 @@
"mydirectory",
"myfile",
"nazsdk",
"nbytes",
"noarch",
"NOPERM",
"northcentralus",
Expand All @@ -243,6 +245,7 @@
"onboarded",
"onmicrosoft",
"owasp",
"ownerid",
"PBYTE",
"PCREDENTIAL",
"perfmon",
Expand All @@ -256,6 +259,7 @@
"popen",
"prebuilts",
"premf",
"prevsnapshot",
"pschema",
"PSECRET",
"pyfuncitem",
Expand Down Expand Up @@ -292,6 +296,8 @@
"skus",
"southcentralus",
"ssis",
"struct",
"STRUCT",
"substringof",
"systemperf",
"tenvparallel",
Expand All @@ -303,8 +309,10 @@
"uamqp",
"uksouth",
"ukwest",
"unpad",
"unpadder",
"unredacted",
"unseekable",
"unsubscriptable",
"upns",
"upserted",
Expand All @@ -322,8 +330,10 @@
"utid",
"Uvsc",
"vcrpy",
"vendored",
"verifysdist",
"verifywhl",
"versionid",
"vmimage",
"vmss",
"vmwarecloudsimple",
Expand Down Expand Up @@ -493,6 +503,22 @@
"mmspecial"
]
},
{
"filename": "sdk/eventhub/azure-eventhub-checkpointstoreblob/**",
"words": [
"blobstoragecs",
"blobstoragepm",
"rscc",
"rscd",
"rsce",
"rscl",
"rsct",
"saoid",
"scid",
"skoid",
"suoid"
]
},
{
"filename": "sdk/formrecognizer/azure-ai-formrecognizer/tests/*.py",
"words": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This version and all future versions will require Python 3.7+. Python 2.7 and 3.
### Bugs Fixed

- Fixed a bug with `BlobCheckpointStore.claim_ownership` mutating the `ownership_list` argument to no longer mutate the argument.
- Updated `azure-core` dependecy to 1.20.1 to fix `cchardet` ImportError.
- Updated `azure-core` dependency to 1.20.1 to fix `cchardet` ImportError.

## 1.1.4 (2021-04-07)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ def delete_blobs(self, *blobs, **kwargs):
key: 'name', value type: str
snapshot you want to delete:
key: 'snapshot', value type: str
whether to delete snapthots when deleting blob:
whether to delete snapshots when deleting blob:
key: 'delete_snapshots', value: 'include' or 'only'
if the blob modified or not:
key: 'if_modified_since', 'if_unmodified_since', value type: datetime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def _initial_request(self):
# If the file is small, the download is complete at this point.
# If file size is large, download the rest of the file in chunks.
if response.properties.size != self.size:
# Lock on the etag. This can be overriden by the user by specifying '*'
# Lock on the etag. This can be overridden by the user by specifying '*'
if self._request_options.get("modified_access_conditions"):
if not self._request_options["modified_access_conditions"].if_match:
self._request_options["modified_access_conditions"].if_match = response.properties.etag
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def __init__(self, name, namespace=None):
# Validate the fullname:
if _RE_FULL_NAME.match(self._fullname) is None:
raise SchemaParseException(
'Invalid schema name %r infered from name %r and namespace %r.'
'Invalid schema name %r inferred from name %r and namespace %r.'
% (self._fullname, self._name, self._namespace))

def __eq__(self, other):
Expand Down Expand Up @@ -439,9 +439,9 @@ def name_ref(self, names):
"""Reports this schema name relative to the specified name tracker.

Args:
names: Avro name tracker to relativise this schema name against.
names: Avro name tracker to relativize this schema name against.
Returns:
This schema name, relativised against the specified name tracker.
This schema name, relativized against the specified name tracker.
"""
if self.namespace == names.default_namespace:
return self.name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def encrypt_queue_message(message, key_encryption_key):
Returns a json-formatted string containing the encrypted message and the encryption metadata.

:param object message:
The plain text messge to be encrypted.
The plain text message to be encrypted.
:param object key_encryption_key:
The user-provided key-encryption-key. Must implement the following methods:
wrap_key(key)--wraps the specified key using an algorithm of the user's choice.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def is_retry(response, mode):
"""
status = response.http_response.status_code
if 300 <= status < 500:
# An exception occured, but in most cases it was expected. Examples could
# An exception occurred, but in most cases it was expected. Examples could
# include a 309 Conflict or 412 Precondition Failed.
if status == 404 and mode == LocationMode.SECONDARY:
# Response code 404 should be retried if secondary was used.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def validate_and_format_range_headers(
range_validation = None
if check_content_md5:
if start_range is None or end_range is None:
raise ValueError("Both start and end range requied for MD5 content validation.")
raise ValueError("Both start and end range required for MD5 content validation.")
if end_range - start_range > 4 * 1024 * 1024:
raise ValueError("Getting content MD5 for a range greater than 4MB is not supported.")
range_validation = 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ async def delete_blobs( # pylint: disable=arguments-differ
key: 'name', value type: str
snapshot you want to delete:
key: 'snapshot', value type: str
whether to delete snapthots when deleting blob:
whether to delete snapshots when deleting blob:
key: 'delete_snapshots', value: 'include' or 'only'
if the blob modified or not:
key: 'if_modified_since', 'if_unmodified_since', value type: datetime
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class StorageStreamDownloader(object): # pylint: disable=too-many-instance-attr
The properties of the blob being downloaded. If only a range of the data is being
downloaded, this will be reflected in the properties.
:ivar int size:
The size of the total data in the stream. This will be the byte range if speficied,
The size of the total data in the stream. This will be the byte range if specified,
otherwise the total size of the blob.
"""

Expand Down Expand Up @@ -316,7 +316,7 @@ async def _initial_request(self):
# If the file is small, the download is complete at this point.
# If file size is large, download the rest of the file in chunks.
if response.properties.size != self.size:
# Lock on the etag. This can be overriden by the user by specifying '*'
# Lock on the etag. This can be overridden by the user by specifying '*'
if self._request_options.get('modified_access_conditions'):
if not self._request_options['modified_access_conditions'].if_match:
self._request_options['modified_access_conditions'].if_match = response.properties.etag
Expand Down