Skip to content

Make unavailable attributes default to None #14

@Nubuki-all

Description

@Nubuki-all

For example trying to access anime.title.english shouldn't result in an AttributeError when anilist doesn't return one
It should instead return None
The current way to check if the value exists is with hasattr which is mostly inconvenient

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions