Fix bugs due to metadata ids behing ints instead of strings

This commit is contained in:
Zoe Roux 2024-01-05 17:26:24 +01:00
parent 1b140661ba
commit 8318a87d5d
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,5 @@
import asyncio
import logging
from sys import orig_argv
from aiohttp import ClientSession
from datetime import datetime, timedelta
from typing import Awaitable, Callable, Dict, List, Optional, Any, TypeVar

View File

@ -6,3 +6,6 @@ from typing import Optional
class MetadataID:
data_id: str
link: Optional[str]
def __post_init__(self):
self.data_id = str(self.data_id)