Introduction of ParserConfig class #80
WolfgangFahl
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Given that we already have quite a few parameters in the
parse
call:path: Union[FilePath, str]
separator: str = "\n"
day_first: bool = False
encoding: str = "utf-8"
lenient: bool = False
debug: bool = False
num_errors_to_show: int = 10
progress=None
More parameters might be necessary to address the issues #78, #64, #65, and #67. Given the need for options to handle and ignore certain non-standard line codes, I suggest creating a
ParserConfig
class to encapsulate these parameters.Beta Was this translation helpful? Give feedback.
All reactions