Skip to content

Cache functions returning None with decorators #1033

@valo-joonas

Description

@valo-joonas

This is seemingly the same issue as #452 but as is noted in the comments in that issue, the skipping of None values is still hardcoded into the decorator @cached.

value = await self.get_from_cache(key)
if value is not None:
return value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions