profile

Module Contents

Functions

is_following_for_user(conn: db.mongodb.AsyncIOMotorClient, current_username: str, target_username: str) → bool

follow_for_user(conn: db.mongodb.AsyncIOMotorClient, current_username: str, target_username: str)

unfollow_user(conn: db.mongodb.AsyncIOMotorClient, current_username: str, target_username: str)

get_profile_for_user(conn: db.mongodb.AsyncIOMotorClient, target_username: str, current_username: Optional[str] = None) → models.profile.Profile

async profile.is_following_for_user(conn: db.mongodb.AsyncIOMotorClient, current_username: str, target_username: str) bool
async profile.follow_for_user(conn: db.mongodb.AsyncIOMotorClient, current_username: str, target_username: str)
async profile.unfollow_user(conn: db.mongodb.AsyncIOMotorClient, current_username: str, target_username: str)
async profile.get_profile_for_user(conn: db.mongodb.AsyncIOMotorClient, target_username: str, current_username: Optional[str] = None) models.profile.Profile