Skip to content

Commit 3ef8ca8

Browse files
authored
Fix spelling errors in Monitor Query library (Azure#23709)
* Fix spelling errors in Monitor Query library * More spelling fixes
1 parent bac9504 commit 3ef8ca8

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

sdk/monitor/azure-monitor-query/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
### Breaking Changes
2828

29-
- `LogsQueryResult` now iterates over the tables directly as a convinience.
29+
- `LogsQueryResult` now iterates over the tables directly as a convenience.
3030
- `query` API in logs is renamed to `query_workspace`
3131
- `query` API in metrics is renamed to `query_resource`
3232
- `query_workspace` API now returns a union of `LogsQueryPartialResult` and `LogsQueryResult`.

sdk/monitor/azure-monitor-query/azure/monitor/query/_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ class LogsQueryPartialResult(object):
589589
:ivar visualization: This will include a visualization property in the response that specifies the type of
590590
visualization selected by the query and any properties for that visualization.
591591
:vartype visualization: Mapping
592-
:ivar partial_error: The partial errror info
592+
:ivar partial_error: The partial error info
593593
:vartype partial_error: ~azure.monitor.query.LogsQueryError
594594
:ivar status: The status of the result. Always 'PartialError' for an instance of a LogsQueryPartialResult.
595595
:vartype status: ~azure.monitor.query.LogsQueryStatus

sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_helpers_asyc.py renamed to sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_helpers_async.py

File renamed without changes.

sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_logs_query_client_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from .._generated.models import BatchRequest, QueryBody as LogsQueryBody
1616
from .._helpers import construct_iso8601, order_results, process_error, process_prefer
1717
from .._models import LogsQueryResult, LogsBatchQuery, LogsQueryPartialResult
18-
from ._helpers_asyc import get_authentication_policy
18+
from ._helpers_async import get_authentication_policy
1919
from .._exceptions import LogsQueryError
2020

2121
if TYPE_CHECKING:

sdk/monitor/azure-monitor-query/azure/monitor/query/aio/_metrics_query_client_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
MonitorQueryClient,
1919
)
2020
from .._models import MetricsQueryResult, MetricDefinition, MetricNamespace
21-
from ._helpers_asyc import get_metrics_authentication_policy
21+
from ._helpers_async import get_metrics_authentication_policy
2222
from .._helpers import construct_iso8601
2323

2424
if TYPE_CHECKING:

sdk/monitor/azure-monitor-query/tests/perfstress_tests/batch_query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def run_sync(self):
6262
"""The synchronous perf test.
6363
6464
Try to keep this minimal and focused. Using only a single client API.
65-
Avoid putting any ancilliary logic (e.g. generating UUIDs), and put this in the setup/init instead
65+
Avoid putting any ancillary logic (e.g. generating UUIDs), and put this in the setup/init instead
6666
so that we're only measuring the client API call.
6767
"""
6868
self.logs_client.query_batch(
@@ -73,7 +73,7 @@ async def run_async(self):
7373
"""The asynchronous perf test.
7474
7575
Try to keep this minimal and focused. Using only a single client API.
76-
Avoid putting any ancilliary logic (e.g. generating UUIDs), and put this in the setup/init instead
76+
Avoid putting any ancillary logic (e.g. generating UUIDs), and put this in the setup/init instead
7777
so that we're only measuring the client API call.
7878
"""
7979
await self.async_logs_client.query_batch(

sdk/monitor/azure-monitor-query/tests/perfstress_tests/metric_query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def run_sync(self):
4343
"""The synchronous perf test.
4444
4545
Try to keep this minimal and focused. Using only a single client API.
46-
Avoid putting any ancilliary logic (e.g. generating UUIDs), and put this in the setup/init instead
46+
Avoid putting any ancillary logic (e.g. generating UUIDs), and put this in the setup/init instead
4747
so that we're only measuring the client API call.
4848
"""
4949
self.metrics_client.query_resource(
@@ -56,7 +56,7 @@ async def run_async(self):
5656
"""The asynchronous perf test.
5757
5858
Try to keep this minimal and focused. Using only a single client API.
59-
Avoid putting any ancilliary logic (e.g. generating UUIDs), and put this in the setup/init instead
59+
Avoid putting any ancillary logic (e.g. generating UUIDs), and put this in the setup/init instead
6060
so that we're only measuring the client API call.
6161
"""
6262
await self.async_metrics_client.query_resource(

sdk/monitor/azure-monitor-query/tests/perfstress_tests/single_query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def run_sync(self):
4343
"""The synchronous perf test.
4444
4545
Try to keep this minimal and focused. Using only a single client API.
46-
Avoid putting any ancilliary logic (e.g. generating UUIDs), and put this in the setup/init instead
46+
Avoid putting any ancillary logic (e.g. generating UUIDs), and put this in the setup/init instead
4747
so that we're only measuring the client API call.
4848
"""
4949
start_time=datetime(2021, 7, 25, 0, 0, 0, tzinfo=timezone.utc)
@@ -58,7 +58,7 @@ async def run_async(self):
5858
"""The asynchronous perf test.
5959
6060
Try to keep this minimal and focused. Using only a single client API.
61-
Avoid putting any ancilliary logic (e.g. generating UUIDs), and put this in the setup/init instead
61+
Avoid putting any ancillary logic (e.g. generating UUIDs), and put this in the setup/init instead
6262
so that we're only measuring the client API call.
6363
"""
6464
start_time=datetime(2021, 7, 25, 0, 0, 0, tzinfo=timezone.utc)

0 commit comments

Comments
 (0)