From cc4dd8b5a18f6554da7b91cfc4c595806fe63092 Mon Sep 17 00:00:00 2001 From: Azalea Gui Date: Sun, 29 Jan 2023 23:47:09 -0500 Subject: [PATCH] [O] Fix typos --- popos/popos.py | 3 +-- requirements.txt | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/popos/popos.py b/popos/popos.py index 8313f19..d5a55d2 100644 --- a/popos/popos.py +++ b/popos/popos.py @@ -286,8 +286,7 @@ class OrderListData: warehouse_list: List[WarehouseList] - -def js(s: str | Response): +def jsn(s: str | Response): if isinstance(s, Response): s = s.text return json.loads(s, object_hook=lambda d: SimpleNamespace(**d)) diff --git a/requirements.txt b/requirements.txt index 2a1a28a..c355c6a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,3 +2,4 @@ requests fastapi hypy_utils uvicorn +pysocks