2025-08-15 11:01:21 +05:00
|
|
|
from abc import ABC, abstractmethod
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class MessageFactory(ABC):
|
2025-08-15 11:09:40 +05:00
|
|
|
@staticmethod
|
2025-08-15 11:01:21 +05:00
|
|
|
@abstractmethod
|
2025-08-15 11:09:40 +05:00
|
|
|
def new(raw_message) -> object:
|
2025-08-15 11:01:21 +05:00
|
|
|
pass
|