Skip to content

Commit 57be2d8

Browse files
committed
Remove redundant config fields
1 parent af33cdd commit 57be2d8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/ns/adapters/inbound/akafka.py

-12
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,13 @@
2020
from ghga_event_schemas.validation import get_validated_payload
2121
from hexkit.custom_types import Ascii, JsonObject
2222
from hexkit.protocols.eventsub import EventSubscriberProtocol
23-
from pydantic import Field
2423

2524
from ns.ports.inbound.notifier import NotifierPort
2625

2726

2827
class EventSubTranslatorConfig(NotificationEventsConfig):
2928
"""Config for the event subscriber"""
3029

31-
notification_topic: str = Field(
32-
default=...,
33-
description="Name of the event topic used to track notification events",
34-
examples=["notifications"],
35-
)
36-
notification_type: str = Field(
37-
default=...,
38-
description="The type to use for events containing content to be sent",
39-
examples=["notification"],
40-
)
41-
4230

4331
class EventSubTranslator(EventSubscriberProtocol):
4432
"""A translator that can consume Notification events"""

0 commit comments

Comments
 (0)