We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 315ae48 commit 4f158f6Copy full SHA for 4f158f6
pulsar/__init__.py
@@ -223,7 +223,7 @@ def __init__(self, context: _pulsar.EncryptionContext):
223
224
Parameters
225
----------
226
- key: _pulsar.EncryptionContext
+ context: _pulsar.EncryptionContext
227
The underlying EncryptionContext instance from the C extension.
228
"""
229
self._context = context
@@ -366,7 +366,7 @@ def producer_name(self) -> str:
366
367
return self._message.producer_name()
368
369
- def encryption_context(self) -> EncryptionContext:
+ def encryption_context(self) -> EncryptionContext | None:
370
371
Get the encryption context for this message or None if it's not encrypted.
372
0 commit comments