Skip to content

build_key(key, namespace) is missing from some modules/classes #569

Closed
@padraic-shafer

Description

@padraic-shafer

There are some parts of aiocache that do not honor namespaces. This means that BaseCache.build_key(key, namespace) is never called to join the namespace with the key. The affected modules/classes are:

  • decorators.cached
  • plugins.HitMissRatioPlugin
  • backends.memory.SimpleMemoryCache

This affects sharing an aliased cache across multiple @cached-decorated callables. This currently works only when namespace==None.

A PR will be submitted shortly.

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