pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/EuroPython/programapi/commit/47036eb2175255e2e5441dc2ad183ce555dd4edb

css" /> Make avatar and avatar_url fields optional in EuroPythonSpeaker and P… · EuroPython/programapi@47036eb · GitHub
Skip to content

Commit 47036eb

Browse files
committed
Make avatar and avatar_url fields optional in EuroPythonSpeaker and PretalxSpeaker models
1 parent a2371db commit 47036eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/models/europython.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class EuroPythonSpeaker(BaseModel):
1919
code: str
2020
name: str
2121
biography: str | None = None
22-
avatar: str
22+
avatar: str | None = None
2323
slug: str
2424
answers: list[PretalxAnswer] = Field(..., exclude=True)
2525
submissions: list[str]
@@ -367,7 +367,7 @@ class EuroPythonScheduleSpeaker(BaseModel):
367367

368368
code: str
369369
name: str
370-
avatar: str
370+
avatar: str | None = None
371371
slug: str
372372
website_url: str
373373

src/models/pretalx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class PretalxSpeaker(BaseModel):
4545
code: str
4646
name: str
4747
biography: str | None = None
48-
avatar_url: str
48+
avatar_url: str | None = None
4949
submissions: list[str]
5050
answers: list[PretalxAnswer]
5151

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy