chore: ci fixups and poetry update

This commit is contained in:
Andrew Herrington
2024-05-05 12:20:49 -05:00
parent cb862fa2c5
commit d0b986025e
24 changed files with 829 additions and 1026 deletions

View File

@@ -2,7 +2,6 @@
https://healthchecks.io/docs/api/
"""
from typing import Dict
from pydantic import BaseModel
@@ -15,6 +14,6 @@ class Integration(BaseModel):
kind: str
@classmethod
def from_api_result(cls, integration_dict: Dict[str, str]) -> "Integration":
def from_api_result(cls, integration_dict: dict[str, str]) -> "Integration":
"""Converts a dictionary from the healthchecks api into an Integration object."""
return cls(**integration_dict)