Auto-registering subclasses

Open
#2 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Start by reading the existing Registrable functionality and how classes are currently registered and instantiated. Then determine how subclass discovery and camel-case name generation should work, including the expected behavior for nested or ambiguous subclasses. Done means the issue has a settled design and corresponding implementation and tests, but this issue does not name specific files or tests.

Written by the indexing model from the issue text.

Description

contributions welcome

I saw this repo and I think it's great to wrap up the Registrable functionality in a library.

I was wondering what are your thoughts on automatic class registration? Like, searching through the subclasses, where the name of a subclass would be the camel case version of its name.

Dominant language
Python
Stars
13
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from epwalsh/python-registrable

All issues in epwalsh/python-registrable

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.