microsoft / microsoft/Qcodes

Way to disable default subscribers

Open
#1,463 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
459
Forks
359
Avg merge
3d 6h
Merged PRs (30d)
73

Description

For any data generation routines like fixtures, the action of the default subscribers is most likely undesired.
I suggest we implement a context manager to disable them.
A concrete place where this shows up is for the creation of legacy test DBs.

Contributor guide

Open the contributing guide

Research direction

Start by locating the default subscriber setup and the legacy test DB creation path mentioned in the issue. Determine how a context manager could temporarily disable subscribers during data-generation routines; done means those routines can opt out without changing subscriber behavior outside the context.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.