cdgriffith / cdgriffith/Box

Internal-only Variables?

Open
#269 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
2.8k
Forks
135
PR merge metrics
No merged PRs in 30d

Description

I apologize in advance if this is covered somewhere, but I could not find it searching the repo and the docs.

Is there a way to have a variable be internal only so it's not exported, not included in to_dict, etc.? The use case is to subclass Box and have variables internal to the class, but not included in the data.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Box subclassing and serialization paths responsible for exports and to_dict. Check whether existing documentation or behavior already addresses subclass-owned variables. Done should mean a clearly defined way for internal variables to remain available to the subclass while being excluded from the named data outputs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
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.