From 3f6c966b5f8e43e3b6f116da3ef00034d3045f9b Mon Sep 17 00:00:00 2001 From: kiriharu Date: Sun, 3 Jan 2021 16:38:06 +0300 Subject: [PATCH] added APINode dataclass --- apps/core/core/coretypes.py | 6 ++++++ apps/core/pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/core/core/coretypes.py b/apps/core/core/coretypes.py index d462bd2..8b291a1 100644 --- a/apps/core/core/coretypes.py +++ b/apps/core/core/coretypes.py @@ -31,3 +31,9 @@ class HttpCheckerResponse(Payload): class Response: status: ResponseStatus payload: Payload + + +@dataclass +class APINode: + address: str + token: str diff --git a/apps/core/pyproject.toml b/apps/core/pyproject.toml index 5788630..e203d43 100644 --- a/apps/core/pyproject.toml +++ b/apps/core/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "core" -version = "0.1.0" +version = "0.3.0" description = "Types and other core functionality" authors = ["kiriharu "]