bridgy-fed/xrpc_graph.py

22 wiersze
420 B
Python
Czysty Zwykły widok Historia

"""app.bsky.graph.* XRPC methods."""
2022-12-28 17:27:42 +00:00
import logging
from app import xrpc_server
logger = logging.getLogger(__name__)
# get these from datastore
2022-12-25 05:08:12 +00:00
@xrpc_server.method('app.bsky.graph.getFollowers')
2022-12-28 17:27:42 +00:00
def getFollowers(input):
2022-12-25 05:08:12 +00:00
"""
lexicons/app/bsky/graph/getFollowers.json
"""
@xrpc_server.method('app.bsky.graph.getFollows')
2022-12-28 17:27:42 +00:00
def getFollows(input):
2022-12-25 05:08:12 +00:00
"""
lexicons/app/bsky/graph/getFollows.json
"""