Skip to content
This repository was archived by the owner on Aug 17, 2026. It is now read-only.
This repository was archived by the owner on Aug 17, 2026. It is now read-only.

Find explicit way to expose Params subclass parameters to the user when constructing an instance of the subclass #12

Description

@schuylerfried
  • Right now, if you construct an instance of a Params subclass, you either need to manually create an __init__ function to override the BaseClass init to explicitly show what the subclass attributes are. Or, you need to read the source code.

  • Neither of these is ideal for people scripting in Ipython or using a jupyter notebook.

  • Possible avenues:

  1. Override the help on a class somehow, such that it prints all the attributes.
  2. Autogenerate an __init__ function through a decorator on the Params subclass

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions