You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
527 B
Python
29 lines
527 B
Python
"""
|
|
This type stub file was generated by pyright.
|
|
"""
|
|
|
|
from . import base
|
|
|
|
"""App Engine memcache based cache for the discovery document."""
|
|
LOGGER = ...
|
|
NAMESPACE = ...
|
|
class Cache(base.Cache):
|
|
"""A cache with app engine memcache API."""
|
|
def __init__(self, max_age) -> None:
|
|
"""Constructor.
|
|
|
|
Args:
|
|
max_age: Cache expiration in seconds.
|
|
"""
|
|
...
|
|
|
|
def get(self, url): # -> None:
|
|
...
|
|
|
|
def set(self, url, content): # -> None:
|
|
...
|
|
|
|
|
|
|
|
cache = ...
|