From ee422dce33f2060a4709d56c111ff9bcf6cba9e6 Mon Sep 17 00:00:00 2001 From: kiriharu Date: Sun, 3 Jan 2021 17:57:42 +0300 Subject: [PATCH] http emoji dict --- apps/core/core/coretypes.py | 7 +++++++ apps/core/pyproject.toml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/apps/core/core/coretypes.py b/apps/core/core/coretypes.py index 8b291a1..e8bf1c6 100644 --- a/apps/core/core/coretypes.py +++ b/apps/core/core/coretypes.py @@ -37,3 +37,10 @@ class Response: class APINode: address: str token: str + + +HTTP_EMOJI = { + 200: "🆗", + 404: "🔍", + 500: "☠️", +} \ No newline at end of file diff --git a/apps/core/pyproject.toml b/apps/core/pyproject.toml index e203d43..6bc5c62 100644 --- a/apps/core/pyproject.toml +++ b/apps/core/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "core" -version = "0.3.0" +version = "0.4.0" description = "Types and other core functionality" authors = ["kiriharu "]