Skip to content

Support custom config args for caches #5

@sgibbons

Description

@sgibbons

Add support for dict -> kwargs style config parameters to be passed through to custom cache instantiation via the Expander constructor.

Should work more or less like this for a custom sql-backed cache:

exp = Expander( 
    cache = ( 
        SqlCache, { 
            'server': 'localhost',
            'user': 'some_username',
            'password': 'some_password'
        })
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions