Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

queries cached in unexpected ways #1

Description

@evanbeard

because query_data is a class method when you make a new products instance (Semantics3::Products.new(API_KEY,API_SECRET)) this causes the query results from previous queries to be cached between runs, causing some confusing errors.

it seems to me either this should be documented (at least document the clear() method) or fixed. it certainly isn't intuitive that a new Products instance would retain query parameters from previous searches

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