From 97d9197cbb920efef36032db9488a43bdece1b92 Mon Sep 17 00:00:00 2001 From: berrytern Date: Mon, 14 Oct 2024 21:07:29 -0300 Subject: [PATCH] docs: fix grammar errors --- amqp_client_python/domain/models/config.py | 8 ++++---- amqp_client_python/domain/models/options.py | 2 +- amqp_client_python/domain/models/ssl_options.py | 3 +-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/amqp_client_python/domain/models/config.py b/amqp_client_python/domain/models/config.py index f676dc3..02c30a9 100644 --- a/amqp_client_python/domain/models/config.py +++ b/amqp_client_python/domain/models/config.py @@ -10,11 +10,11 @@ def __init__( self, options: Options, ssl_options: Optional[SSLOptions] = None ) -> None: """ - Create an Config object thats hold and mount the connection information. + Create a Config object that holds and manages the connection information. Args: - options: hold information for estabilish connection - ssl_options: hold information for estabilish SSL connections + options: holds information for establishing connection + ssl_options: holds information for establishing SSL connections Returns: @@ -32,7 +32,7 @@ def __init__( def build(self) -> "Config": """ - Create an Config object thats hold and mount the connection information. + Create a Config object that holds and manages the connection information. Args: diff --git a/amqp_client_python/domain/models/options.py b/amqp_client_python/domain/models/options.py index a4f18c3..08fe75c 100644 --- a/amqp_client_python/domain/models/options.py +++ b/amqp_client_python/domain/models/options.py @@ -18,7 +18,7 @@ def __init__( **kwargs: Dict[str, Any] ) -> None: """ - Create an Options object that hold the credentials and configs options. + Create an Options object that holds the credentials and configuration options. Args: queue_name: name of queue that will be used for subscriptions diff --git a/amqp_client_python/domain/models/ssl_options.py b/amqp_client_python/domain/models/ssl_options.py index ad14bc4..69d9de6 100644 --- a/amqp_client_python/domain/models/ssl_options.py +++ b/amqp_client_python/domain/models/ssl_options.py @@ -3,7 +3,7 @@ def __init__( self, certfile_path: str, keyfile_path: str, ca_certs_path: str ) -> None: """ - Create an SslOptions object that hold the certs paths. + Create an SslOptions object that holds the cert paths. Args: certfile_path: cert file path string @@ -11,7 +11,6 @@ def __init__( ca_certs_path: ca file path string Returns: - Um dicionĂ¡rio com as notas da escala e os graus. Raises: