astronomy-commons / astronomy-commons/lsdb

Pass compute kwargs to methods that call compute

Open
#1,489 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
55
Forks
26
Avg merge
4d 1h
Merged PRs (30d)
8

Description

**Feature request**

e.g. `HealpixDataset.sample` calls `compute` under-the-hood. We would like to be able to disable the progress bar.

There may be other methods that call compute under-the-hood, and there may be other kwargs that will be relevant to pass through at a later date, so making it general would be preferred.

**Before submitting**
Please check the following:

- [ ] I have described the purpose of the suggested change, specifying what I need the enhancement to accomplish, i.e. what problem it solves.
- [ ] I have included any relevant links, screenshots, environment information, and data relevant to implementing the requested feature, as well as pseudocode for how I want to access the new functionality.
- [ ] If I have ideas for how the new feature could be implemented, I have provided explanations and/or pseudocode and/or task lists for the steps.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with HealpixDataset.sample and inspect the other methods that call compute under the hood. Trace how compute is invoked and determine how kwargs such as progress-bar control should be passed through. Done means callers can disable the progress bar through the relevant public methods, with the behavior applied consistently to other compute callers.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.