Skip to content

Conversation

@jwodder
Copy link
Collaborator

@jwodder jwodder commented Dec 19, 2023

Closes #52.

To do:

  • Ensure that subclassing works!
    • Subclasses of parsable need to be decorated with @parsable as well in order to guarantee that parsing them works
    • A subclass of a parsable that is also decorated with @parsable should fall back to the parents' name_decoder and other @parsable-specific params if the subclass doesn't specify them
      • How should this work with multiple inheritance?
      • Maybe don't inherit @parsable params?
  • Use typing.assert_type() in tests?
  • Write docs
    • Document mypy plugin
  • Update changelog
  • Rewrite long description
  • Change the package's short description to no longer mention the "argparse-like-ness"
  • Deprecate the old argparse-like parser

@jwodder jwodder added enhancement New feature or request therefor attrs-parser in progress Currently under development labels Dec 19, 2023
@jwodder jwodder added this to the Attrs-Based Parser milestone Dec 19, 2023
@jwodder jwodder self-assigned this Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

attrs-parser enhancement New feature or request therefor in progress Currently under development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a new parser API built on attrs for defining classes instantiated from scanned stanzas

2 participants