mirror of
https://github.com/andrewthetechie/py-healthchecks.io.git
synced 2026-05-02 03:35:43 +02:00
chore: ci fixups and poetry update
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user