---------------------------------------------------------------------- This is the API documentation for the gdtest_sec_blog library. ---------------------------------------------------------------------- ## Functions Public functions archive(year: int) -> list Retrieve archived posts for a given year. Parameters ---------- year : int The year to retrieve posts from. Returns ------- list A list of archived posts for the given year. Examples -------- >>> archive(2024) [] post(title: str, content: str) -> dict Create a new blog post. Parameters ---------- title : str The title of the blog post. content : str The content of the blog post. Returns ------- dict A dictionary representing the created post. Examples -------- >>> post("Hello", "World") {'title': 'Hello', 'content': 'World'}