Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML config files over 4096 chars #26

Closed
percevalw opened this issue Dec 12, 2024 · 0 comments · Fixed by #28
Closed

YAML config files over 4096 chars #26

percevalw opened this issue Dec 12, 2024 · 0 comments · Fixed by #28
Assignees

Comments

@percevalw
Copy link
Member

Currently, we don't support yaml config files that go over 4096 characters.

For instance, this fails:

def test_very_long_yaml_config():
    config = Config.from_yaml_str(
        """\
        a: {}
        """.format("x" * 4100)
    )
    assert config == {"a": "x" * 4100}

This is related to how we handle value parsing in our code here and how yaml loads files in chunks here

@LucasDedieu LucasDedieu linked a pull request Dec 17, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants