About 7,860,000 results
Open links in new tab
  1. How can I parse a YAML file in Python - Stack Overflow

    Nov 23, 2015 · The script can parse yaml from a file (function load), parse yaml from a string (function loads) and convert a dictionary into yaml (function dumps). It respects all variable types.

  2. How do I break a string in YAML over multiple lines?

    Sep 6, 2016 · YAML makes wrong things right - for example, an innocuous colon within one string in a string array makes YAML interpret it as an array of objects. It violates the principle of least …

  3. Azure Pipelines - Replace a variable in a yaml file

    Oct 25, 2024 · I can reproduce the same situation when using the Yaml Writer task in Azure Pipelines. It will add additional value 'containers[0]': {} at the end of the YAML file. It seems …

  4. How to export swagger.json (or yaml) - Stack Overflow

    Then refresh the page and search for the API definition file (swagger.json, swagger.yaml, api-docs or similar) among HTTP requests. You can filter by XHR to narrow down the list.

  5. How can I reference a YAML "setting" from elsewhere in the same …

    This is perfectly valid YAML and fields given and family are reused in ship-to block. You can reuse a scalar node the same way but there's no way you can change what's inside and add that last …

  6. Spring Boot: Load @Value from YAML file - Stack Overflow

    Jan 1, 2016 · I need to load a property from a .yml file, which contains the path to a folder where the application can read files from. I'm using the following code to inject the property: …

  7. why --- (3 dashes/hyphen) in yaml file? - Stack Overflow

    406 So I just started using YAML file instead of application.properties as it is more readable. I see in YAML files they start with ---. I googled and found the below explanation. YAML uses three …

  8. Spring Boot YAML configuration for a list of strings

    Nov 2, 2014 · I wouldn't call it a "syntax issue in the YAML file" – the syntax in the YAML is correct for a list of strings, just @Value can't cope with complex types.

  9. How can I parse a YAML file from a Linux shell script?

    Feb 16, 2011 · 361 I wish to provide a structured configuration file which is as easy as possible for a non-technical user to edit (unfortunately it has to be a file) and so I wanted to use YAML. I …

  10. python - Specify real path in YAML file - Stack Overflow

    Apr 9, 2021 · 2 I have a YAML file that has a directory path (templates). I would like the tilde to represent where ever the real path of where the app is being executed.