mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add docs about PyYAML's 1024 character limitations for simple keys (#33459)
Fixes #33389
This commit is contained in:
parent
3b12f396b4
commit
00f9090928
1 changed files with 10 additions and 0 deletions
|
@ -340,3 +340,13 @@ string with quotes:
|
|||
ValueError: month must be in 1..12
|
||||
>>> yaml.safe_load('"4017-16-20"')
|
||||
'4017-16-20'
|
||||
|
||||
|
||||
Keys Limited to 1024 Characters
|
||||
===============================
|
||||
|
||||
Simple keys are limited to a single line and cannot be longer that 1024 characters.
|
||||
This is a limitation from PyYaml, as seen in a comment in `PyYAML's code`_, and
|
||||
applies to anything parsed by YAML in Salt.
|
||||
|
||||
.. _PyYAML's code: http://pyyaml.org/browser/pyyaml/trunk/lib/yaml/scanner.py#L91
|
||||
|
|
Loading…
Add table
Reference in a new issue