1
0

Implemented content upload app with tests and pre-commit hooks

This commit is contained in:
2026-03-13 11:30:28 +00:00
commit 342d39d457
33 changed files with 2740 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
from __future__ import annotations
from typing import Protocol
class SocialNetworkAdapter(Protocol):
"""Contract for social network posting adapters."""
name: str
def post_media(self, media_url: str, caption: str) -> str:
"""Publish media and return an external post identifier."""