Questions tagged as 'yaml'

2
answers

What is and what is YAML for?

Briefly, what is YAML? What are the advantages of using it?
asked by 14.08.2015 / 21:41
1
answer

How to read Yaml with Python?

How do I read a file or Yaml code with Python? Is it necessary to install anything, or can you do it natively? Example: fruits: - Apple - Orange - Strawberry - Mango     
asked by 16.11.2016 / 11:50
2
answers

How to convert a yaml to PHP array?

How could I do to convert yaml data to a array of PHP? Example yaml: Usuario: nome: Wallace idade: 25 linguagens: - PHP - Python - Javascript     
asked by 28.08.2015 / 18:14
1
answer

What is a YAML file and when should we use it? [duplicate]

What is a YAML file used for and when is it appropriate to create it in a project?     
asked by 14.11.2017 / 13:46
3
answers

Regex to ignore invalid filenames

Hello, I'm trying to add a regex in app.yaml to ignore files with strange names in Google App Engine , but it is not working. My regular expression: skip_files: - [.\~#%&*{}:<>?|\"-!] I'm getting this error:    appcf...
asked by 20.01.2016 / 20:56
1
answer

How to get all values of 'YamlDotNet' in 'File.yml'?

I'm working on an .yml file and I want to get all the values that contain this file. I am using the YamlDotNet.Serialization reference. What I want to do is take a certain value and display the properties of that particular value. But just...
asked by 04.09.2018 / 13:51
1
answer

How to assign retrieve the ip of a service inside the docker-composer?

I am trying to get zabbix in docker, I created a docker-compose with several services, one of them is the database. I need to raise the database first and then get the ip of the database and set the environment variable for other services, howev...
asked by 13.07.2018 / 23:19
0
answers

How to get the name of a section that contains a String

The code is to get all the sections in the YML file, until it is working, but I do not know how to get the section containing the name "So-and-so", for example: Grupos: Usuário: pessoas: - Fulano Dono: pessoas: Code to get all se...
asked by 19.07.2018 / 17:43
0
answers

How to use Oauth in the application.properties file?

I had an application.yml file using Oauth as follows: oauth: enabled: true all-in-one: true But now I need to use the application.properties file and the structure is different. I thought it was just like this: oauth.enabled= true...
asked by 28.03.2018 / 18:52
1
answer

Google App Engine project Python works on localhost but gives server error

My project is running perfectly on localhost but when I do deploy and access it gives the following error: Here is my code: import os import jinja2 import webapp2 import json from google.appengine.ext import db from google.appengine.api i...
asked by 23.12.2016 / 20:37