Use docker compose compatible boolean values (#66)

This commit is contained in:
Pedro Reyes
2023-07-29 22:36:36 -03:00
committed by GitHub
parent e1c0e23ff2
commit 3ad0d3621e

View File

@@ -9,6 +9,7 @@ from collections import OrderedDict
import docker
import pyaml
pyaml.add_representer(bool,lambda s,o: s.represent_scalar('tag:yaml.org,2002:bool',['false','true'][o]))
IGNORE_VALUES = [None, "", [], "null", {}, "default", 0, ",", "no"]