Object shape and doc fixes
This commit is contained in:
parent
8154ba8e0e
commit
cc867d810c
|
@ -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 ...]
|
||||
|
||||
|
|
3
main.py
3
main.py
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue