Object shape and doc fixes

This commit is contained in:
Natty 2023-10-24 18:30:33 +02:00
parent 8154ba8e0e
commit cc867d810c
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
2 changed files with 4 additions and 1 deletions

View File

@ -14,6 +14,8 @@ Install dependencies:
Run as a CLI command:
*Please note the handle has to be in the format @user:instance.org`
```
python main.py [-h] --tag TAG --token TOKEN --instance INSTANCE emoji_file [emoji_file ...]

View File

@ -10,6 +10,7 @@ import dacite
import aiohttp
import typing
import urllib.parse
from typing import Optional
from dataclasses import dataclass
from tqdm import tqdm
@ -30,7 +31,7 @@ class EmojiDef:
@dataclass
class PackMeta:
display_name: str
usage: list[str]
usage: Optional[list[str]]
@dataclass