Skip to content

Commit dffd72b

Browse files
committed
update doc string format
1 parent 9799903 commit dffd72b

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

awscrt/aws_iot_metrics.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ class IoTMetricsMetadata:
2424

2525
@dataclass
2626
class AWSIoTMetrics:
27-
"""
28-
Configuration for IoT SDK metrics that are embedded in MQTT Connect Packet username field.
27+
"""Configuration for IoT SDK metrics that are embedded in MQTT Connect Packet username field.
2928
3029
Args:
3130
library_name (str): The SDK library name (e.g., "IoTDeviceSDK/Python")
@@ -311,8 +310,7 @@ def _get_encoded_feature_list(client_options):
311310

312311

313312
def _get_encoded_feature_list_mqtt3(proxy_options, tls_ctx=None):
314-
"""
315-
Generates the encoded feature list string for metrics from MQTT3 connection options.
313+
"""Generates the encoded feature list string for metrics from MQTT3 connection options.
316314
Format: "ID/Value,ID/Value..."
317315
318316
MQTT3 connections always include:
@@ -359,7 +357,7 @@ def _merge_feature_lists(crt_features, user_features):
359357
"""Merge CRT-generated features with user-provided (IoT SDK) features.
360358
361359
When both lists contain the same feature ID, the user-provided value
362-
takes precedence. The result is sorted alphabetically by feature ID.
360+
takes precedence. The result is sorted by feature ID.
363361
364362
Args:
365363
crt_features (str): CRT-generated feature list.
@@ -463,8 +461,7 @@ def create_metrics_mqtt5(client_options):
463461

464462

465463
def create_metrics_mqtt3(user_metrics=None, proxy_options=None, tls_ctx=None):
466-
"""
467-
Creates the final AWSIoTMetrics object for an MQTT3 connection.
464+
"""Creates the final AWSIoTMetrics object for an MQTT3 connection.
468465
469466
Generates the CRT feature list from the MQTT3 connection parameters
470467

0 commit comments

Comments
 (0)