10 lines
223 B
Python
10 lines
223 B
Python
from __future__ import annotations
|
|
|
|
from typing import Protocol, runtime_checkable
|
|
|
|
|
|
@runtime_checkable
|
|
class IS3(Protocol):
|
|
async def upload_bytes(self, *, key: str, body: bytes, content_type: str) -> str:
|
|
...
|