We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 389d7b2 commit 303a3caCopy full SHA for 303a3ca
1 file changed
abstractions.py
@@ -16,9 +16,9 @@ class AdoptablePet:
16
species: str # "dog" or "cat"
17
breed: str
18
location: str
19
- adoption_url: str
20
- image_url: str
21
description: str = ""
+ adoption_url: str | None = None
+ image_url: str | None = None
22
age_string: str | None = None
23
sex: str | None = None
24
size_group: str | None = None
@@ -50,8 +50,8 @@ class Post:
50
"""Represents a social media post about an adoptable pet."""
51
52
text: str
53
54
- link: str
+ link: str | None = None
55
alt_text: str | None = None # For image accessibility
56
tags: list[str] = field(default_factory=list)
57
0 commit comments