mirror of
https://github.com/logos-messaging/logos-delivery-interop-tests.git
synced 2026-02-28 06:53:13 +00:00
* small improvements * minor adjustments * new tests * try with more runners * try with more runners2 * tweaks for parallel run * new tests * small tweaks * new tests * new tests * test remove defaults from CI * handle empty strings for env vars in CI * add nodekey to main node * add more tests * finishing touches * fixes based on Alex suggestions * revert unwanted change * add new pause test
19 lines
522 B
Python
19 lines
522 B
Python
from dataclasses import dataclass, field
|
|
from marshmallow_dataclass import class_schema
|
|
from typing import Optional, Union
|
|
|
|
|
|
@dataclass
|
|
class MessageRpcResponse:
|
|
payload: str
|
|
contentTopic: str
|
|
version: Optional[int]
|
|
timestamp: Optional[int]
|
|
ephemeral: Optional[bool]
|
|
meta: Optional[str]
|
|
rateLimitProof: Optional[Union[dict, str]] = field(default_factory=dict)
|
|
rate_limit_proof: Optional[dict] = field(default_factory=dict)
|
|
|
|
|
|
message_rpc_response_schema = class_schema(MessageRpcResponse)()
|