Skip to content

[Question] Reuse decorator settings + Race Conditions #741

@Wyko

Description

@Wyko

I'm trying out this package for the first time today, and I'm trying to understand some things. I'd appreciate the answer to the following:

  1. Is there any way to set class defaults for the cached decorator so that I don't need to set the parameters each time I use it? I didn't see anything in the examples for this.
  2. Is there any potential for race conditions when using any of the different cache options? I saw that the simple memory option had the interesting caveat about mutable objects, which makes me wonder.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions