added APINode dataclass

This commit is contained in:
kiriharu 2021-01-03 16:38:06 +03:00
parent 4f0b36656c
commit 3f6c966b5f
2 changed files with 7 additions and 1 deletions

View File

@ -31,3 +31,9 @@ class HttpCheckerResponse(Payload):
class Response:
status: ResponseStatus
payload: Payload
@dataclass
class APINode:
address: str
token: str

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "core"
version = "0.1.0"
version = "0.3.0"
description = "Types and other core functionality"
authors = ["kiriharu <kiriharu@yandex.ru>"]