generated from westfarn/web_django_template
11 lines
226 B
Python
11 lines
226 B
Python
from typing import Protocol
|
|
|
|
|
|
class SocialConnector(Protocol):
|
|
platform: str
|
|
|
|
def publish(self, post, target) -> str:
|
|
"""Publish and return remote post id."""
|
|
|
|
def refresh_token(self, account) -> None: ...
|