Revert "chore: ci fixups and poetry update"

This reverts commit d0b986025e.
This commit is contained in:
Andrew Herrington
2024-05-05 13:02:14 -05:00
parent d0b986025e
commit 4ca01eaf0c
24 changed files with 1026 additions and 829 deletions

View File

@@ -2,6 +2,7 @@
https://healthchecks.io/docs/api/
"""
from typing import Dict
from pydantic import BaseModel
@@ -17,7 +18,7 @@ class Badges(BaseModel):
shields3: str
@classmethod
def from_api_result(cls, badges_dict: dict[str, str]) -> "Badges":
def from_api_result(cls, badges_dict: Dict[str, str]) -> "Badges":
"""Converts a dictionary from the healthchecks api into a Badges object."""
badges_dict["json_url"] = badges_dict["json"]
badges_dict["json3_url"] = badges_dict["json3"]