Skip to content

Commit

Permalink
Fix docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
ods committed Nov 27, 2023
1 parent 170834f commit fdba764
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion aiokafka/consumer/consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class AIOKafkaConsumer:
sasl_plain_password (str): password for SASL ``PLAIN`` authentication.
Default: None
sasl_oauth_token_provider (~aiokafka.abc.AbstractTokenProvider):
OAuthBearer token provider instance. (See :mod:`aiokafka.oauth`).
OAuthBearer token provider instance.
Default: None
Note:
Expand Down
3 changes: 1 addition & 2 deletions aiokafka/producer/producer.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ class AIOKafkaProducer:
sasl_plain_password (str): password for SASL ``PLAIN`` authentication.
Default: :data:`None`
sasl_oauth_token_provider (:class:`~aiokafka.abc.AbstractTokenProvider`):
OAuthBearer token provider instance. (See
:mod:`aiokafka.oauth`).
OAuthBearer token provider instance.
Default: :data:`None`
Note:
Expand Down
4 changes: 1 addition & 3 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ and ``GSSAPI`` SASL methods. Be sure to install `gssapi`_ python module to use
Please consult the `official documentation <http://kafka.apache.org/documentation.html#security_sasl>`__
for setup instructions on Broker side. Client configuration is pretty much the
same as Java's, consult the ``sasl_*`` options in Consumer and Producer API
Reference for more details.

.. automodule:: aiokafka.oauth
Reference for more details. See :class:`~aiokafka.abc.AbstractTokenProvider`.


Error handling
Expand Down

0 comments on commit fdba764

Please sign in to comment.