add stripe.util.populate_headers (#6637)

This commit is contained in:
Anthony Sottile
2021-12-20 20:51:30 -05:00
committed by GitHub
parent afcf213936
commit 43f0cb5533

View File

@@ -1,4 +1,4 @@
from typing import Any
from typing import Any, overload
def utf8(value): ...
def log_debug(message, **params) -> None: ...
@@ -12,3 +12,8 @@ class class_method_variant:
method: Any
def __call__(self, method): ...
def __get__(self, obj, objtype: Any | None = ...): ...
@overload
def populate_headers(idempotency_key: None) -> None: ...
@overload
def populate_headers(idempotency_key: str) -> dict[str, str]: ...