Thanks, I thought I had a routine checking the README before uploading, so I probably have to check the checking routine.
Thanks, I thought I had a routine checking the README before uploading, so I probably have to check the checking rouinte.
First of all: - there is no API and I guarantee that things will change (when I finally have some time), so pin the ruamel.yaml version you use, and wrap the access routines so the needed updates can be done in one place) - these kind of questions should be on StackOverflow. If your comments are in block style after a key-value pair in a mapping ( your comment 2 and 3) or after a sequence element (your comment 1) then you can find them under .ca.items with the mapping key (or the sequence index)....
It looks like you are also using PyYAML, which only supports a subset of YAML 1.1, and ruamel.yaml dumps by default to YAML 1.2. So I would expect you to use y.version = (1, 1) or similar to force YAML 1.1 output. It would also be useful if you include the actual value of s
Others have asked not to import the typing module as it slows things down. So the suggested solution is not really an option. I also spent about 10x more time on mypy c.s. to stop complaining, compared to issues found, so I am unlikely to spent more time on this for a tool I don't use myself. I'll leave this open for the moment to see if I make this somehow env. var. dependant. At some time
ruaml.yaml.clib for arm64 and python 3.12 missing
Just install without the dependency, (it will be removed in a future version of ruamel.yaml anyway.) Sorry for the delay, so many rude people wasting my time by double posting in incorrect projects that there is little time left
download stat svg