Skip to content

get_from_catalog does not return a fresh copy of the catalog object #1364

Open
@yoavkatz

Description

get_from_catalog does not return a fresh copy of the catalog object

   card = get_from_catalog("cards.banking77")
   card.task="...." 
   card = get_from_catalog("cards.banking77")
   /// same card object is returned from cache, and is the modified version

fetch_artifact returns a new value every time:

    card , _ = fetch_artifact("cards.banking77")
    card.task="...." 
     card , _ = fetch_artifact("cards.banking77")
     /// card is created a new, with the original task

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