Skip to content

Commit

Permalink
format files
Browse files Browse the repository at this point in the history
  • Loading branch information
Md Shahriyar Alam committed Dec 1, 2023
1 parent afce445 commit 947f4bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion easy_pil/gif_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from io import BytesIO
from pathlib import Path
from typing import List, Union, Tuple
from typing import List, Tuple, Union

from PIL import Image as PilImage, ImageSequence
from PIL.GifImagePlugin import GifImageFile
Expand Down
6 changes: 4 additions & 2 deletions easy_pil/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import functools
from functools import lru_cache
from io import BytesIO
from typing import Union, Optional
from typing import Optional, Union

import aiohttp
import requests
Expand Down Expand Up @@ -52,7 +52,9 @@ def load_image(

@cached(ttl=60 * 60 * 24)
async def load_image_async(
link: str, session: Optional[aiohttp.ClientSession] = None, raw: bool = False
link: str,
session: Optional[aiohttp.ClientSession] = None,
raw: bool = False,
) -> Union[Image.Image, GifImageFile]:
"""Load image from link (async)
Expand Down

0 comments on commit 947f4bd

Please sign in to comment.