Skip to content
#

argparse

Here are 289 public repositories matching this topic...

SimpleParsing
aoikaneko
aoikaneko commented Jan 15, 2022

Is your feature request related to a problem? Please describe.
'choices' does not seem to be checked in load() method and invalid value can be set via the method.

To reproduce:

config.yml

animal: bird

argtest.py

import dataclasses
import simple_parsing as sp
from simple_parsing.helpers import Serializable

@dataclasses.dataclass
class Config(Serializabl
help wanted good first issue

📂 Source Code for (some of) the Programming Tutorials from my Italian YouTube Channel and website ProgrammareInPython.it. This is just a small portion of the content: please visit the website for more.

  • Updated Mar 30, 2021
  • Python

Improve this page

Add a description, image, and links to the argparse topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the argparse topic, visit your repo's landing page and select "manage topics."

Learn more