projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
massive update, probably broken
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-pyright
/
node_modules
/
pyright
/
dist
/
typeshed-fallback
/
stubs
/
aws-xray-sdk
/
aws_xray_sdk
/
core
/
sampling
/
reservoir.pyi
1
from enum import Enum
2
3
class Reservoir:
4
def __init__(self) -> None: ...
5
def borrow_or_take(self, now, can_borrow): ...
6
def load_quota(self, quota, TTL, interval) -> None: ...
7
@property
8
def quota(self): ...
9
@property
10
def TTL(self): ...
11
12
class ReservoirDecision(Enum):
13
TAKE: str
14
BORROW: str
15
NO: str