mirror of
https://github.com/LucasVbr/LucasVbr.git
synced 2026-12-05 10:50:50 +00:00
9 lines
340 B
Python
9 lines
340 B
Python
from src.model.social import Social
|
|
|
|
|
|
def social_list(socials: list) -> dict[str, str]:
|
|
socials: dict[str, str] = {social.get("name"): str(Social(social.get("name"), social.get("url"))) for social in
|
|
socials}
|
|
socials["all"] = "\n".join([str(social) for social in socials.values()])
|
|
return socials
|