import logging
from datetime import datetime
from typing import List

from sqlmodel import Session, select

from db import engine
from models import Social, User


def get_last_social() -> Social:
    with Session(engine) as session:
        statement = 