Skip to content

Commit

Permalink
Fix the Return Type for search
Browse files Browse the repository at this point in the history
  • Loading branch information
Ombucha committed Jun 25, 2022
1 parent 435a0c0 commit 3ef1a77
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
project = "gocomics.py"
copyright = "2022, Omkaar"
author = "Mr.Brawler"
release = "1.1.3"
release = "1.1.4"

extensions = ["sphinx.ext.autodoc"]
2 changes: 1 addition & 1 deletion gocomics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
__author__ = 'Omkaar'
__license__ = 'MIT'
__copyright__ = 'Copyright 2022 Omkaar'
__version__ = '1.1.3'
__version__ = '1.1.4'


from .comic import *
Expand Down
2 changes: 1 addition & 1 deletion gocomics/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def fetch_comics(*, category: Optional[str] = None) -> List[str]:
return slugs


def search(text: str, *, category: Optional[Literal["comic", "feature"]] = "comic", page: Optional[int] = 1, sort: Optional[Literal["relevance", "ascending", "descending"]] = "relevance") -> Comic:
def search(text: str, *, category: Optional[Literal["comic", "feature"]] = "comic", page: Optional[int] = 1, sort: Optional[Literal["relevance", "ascending", "descending"]] = "relevance") -> List[Comic]:
"""
Searches GoComics.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "gocomics.py"
version = "1.1.3"
version = "1.1.4"
description = "Fetch comics from GoComics."
authors = ["Mr.Brawler <omkaar.nerurkar@gmail.com>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name = "gocomics.py",
version = "1.1.3",
version = "1.1.4",
description = "Fetch comics from GoComics.",
long_description = README,
long_description_content_type = "text/x-rst",
Expand Down

0 comments on commit 3ef1a77

Please sign in to comment.