<filename>src/sanic_jsonrpc/models/notification.py
from typing import Any

from fashionable import Attribute

from ._jsonrpc import _Jsonrpc

__all__ = [
    'Notification',
]


class Notification(_Jsonrpc):
    method = Attribute(str, strict=True)
    params = Attribute(Any)

<filename>src/sanic_jsonrpc/models/notification.py
from typing import Any

from fashionable import Attribute

from ._jsonrpc import _Jsonrpc

__all__ = [
    'Notification',
]


class Notification(_Jsonrpc):
    method = Attribute(str, strict=True)
    params = Attribute(Any)
