bp / bp/resqpy

Move _GridFromCp to Grid.py as classmethod

Open
#334 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
67
Forks
18
Avg merge
2h 26m
Merged PRs (30d)
1

Description

Move private class (_GridFromCp) from rq_import and reveal it publicly as an @classmethod in the Grid class, which would end up returning the _GridFromCp.grid attribute

FYI @cflynn3

Contributor guide

Open the contributing guide

Research direction

Start by locating _GridFromCp in rq_import and comparing it with the Grid class in Grid.py. Trace how the class is currently used, then verify that the public Grid classmethod returns the _GridFromCp.grid attribute and that existing behavior remains covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.