Skip to content

Commit

Permalink
release 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyElaina committed Jun 3, 2022
1 parent 0586f6c commit a27f769
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
11 changes: 7 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,33 @@ license = "MIT"
name = "graia-amnesia"
packages = [{include = "graia", from = "src"}]
readme = "README.md"
version = "0.4.0"
version = "0.5.0"

[tool.poetry.dependencies]
loguru = "^0.6.0"
python = "^3.8"

ujson = {version = "^5.2.0", optional = true}
orjson = {version = "^3.6.7", optional = true}
yarl = "^1.7.2"
launart = "^0.1.0"
statv = "^0.1.0"
ujson = {version = "^5.2.0", optional = true}
orjson = {version = "^3.6.7", optional = true}

[tool.poetry.dev-dependencies]
aiohttp = "^3.8.1"
black = {version = "^22.1.0", allow-prereleases = true}
ipykernel = "^6.9.2"
starlette = "^0.19.0"
uvicorn = "^0.17.6"
websockets = "^10.3"
richuru = "^0.1.0"

[tool.poetry.extras]
orjson = ["orjson"]
ujson = ["ujson"]
aiohttp = ["aiohttp"]
starlette = ["starlette"]
uvicorn = ["uvicorn"]


[build-system]
build-backend = "poetry.core.masonry.api"
Expand Down
3 changes: 2 additions & 1 deletion src/graia/amnesia/builtins/memcache.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
from time import time
from typing import Any, Dict, List, Optional, Tuple, Type

from graia.amnesia.transport.common.storage import CacheStorage
from launart import Launart, Service

from graia.amnesia.transport.common.storage import CacheStorage


class Memcache(CacheStorage[Any]):
cache: Dict[str, Tuple[Optional[float], Any]]
Expand Down

0 comments on commit a27f769

Please sign in to comment.