Files
web_django_template/site/social/connectors/base.py
T
westfarnandCursor 787f0e48fb Populate the client website template with catalog feature flags.
Extract always-on public/portal/UTM plus optional email_sms, directmail, blog, payments, social, and social_ai so new client sites can be bootstrapped from this seed.

Refs #1
Refs #2

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-26 07:55:26 -05:00

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: ...