fixed type errors when pylance type checking mode is strict.

This commit is contained in:
2023-07-19 21:47:47 +09:00
parent 23025bd679
commit 08d8a0626a
24 changed files with 387 additions and 236 deletions

View File

@@ -1,3 +1,5 @@
from typing import Any
from pydantic.dataclasses import dataclass
from mdrsclient.models.utils import iso8601_to_user_friendly
@@ -11,7 +13,7 @@ class File:
size: int
thumbnail: str | None
description: str
metadata: dict
metadata: dict[str, Any]
download_url: str
created_at: str
updated_at: str