mirror of
https://github.com/Xevion/leetcode.git
synced 2025-12-07 01:15:30 -06:00
TODO category filter page generation, link LeetCode tag page for now
This commit is contained in:
@@ -27,6 +27,13 @@ class Tag(BaseModel):
|
||||
slug: str
|
||||
name: str
|
||||
|
||||
@property
|
||||
def url(self) -> str:
|
||||
"""
|
||||
Gets the URL to the tag.
|
||||
"""
|
||||
return f"https://leetcode.com/tag/{self.slug}"
|
||||
|
||||
|
||||
class Question(BaseModel):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user