diff --git a/docs/docs/en/public_api b/docs/docs/en/public_api index 2c417d1ba5..9e5bfb42d2 120000 --- a/docs/docs/en/public_api +++ b/docs/docs/en/public_api @@ -1 +1 @@ -./api/ +api \ No newline at end of file diff --git a/tests/brokers/kafka/test_publish.py b/tests/brokers/kafka/test_publish.py index a75e6f1ce8..ac2c866362 100644 --- a/tests/brokers/kafka/test_publish.py +++ b/tests/brokers/kafka/test_publish.py @@ -1,4 +1,5 @@ import asyncio +from typing import Any from unittest.mock import Mock import pytest @@ -11,8 +12,8 @@ @pytest.mark.kafka class TestPublish(BrokerPublishTestcase): - def get_broker(self, apply_types: bool = False): - return KafkaBroker(apply_types=apply_types) + def get_broker(self, apply_types: bool = False, **kwargs: Any) -> KafkaBroker: + return KafkaBroker(apply_types=apply_types, **kwargs) @pytest.mark.asyncio async def test_publish_batch(self, queue: str):