Skip to content

store_from_source(r, RedisStoreWithNumericLists) raises AttributeError ('store') #10

Closed

Description

@thorwhalen

Found in the review of #9: store_from_source builds a store with object.__new__, which does not work for classes wrapped by wrap_kvs (they expect a .store attribute). Fix: have store_from_source construct wrapped classes properly, or document/raise a clear error. Repro: store_from_source(FakeRedis(), RedisStoreWithNumericLists)['k'].

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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