Searched refs:represent_mapping (Results 1 – 2 of 2) sorted by relevance
/third_party/PyYAML/lib/yaml/ |
D | representer.py | 103 def represent_mapping(self, tag, mapping, flow_style=None): member in BaseRepresenter 207 return self.represent_mapping('tag:yaml.org,2002:map', data) 213 return self.represent_mapping('tag:yaml.org,2002:set', value) 228 return self.represent_mapping(tag, state, flow_style=flow_style) 342 return self.represent_mapping( 356 return self.represent_mapping(tag+function_name, value)
|
/third_party/PyYAML/tests/lib/ |
D | test_constructor.py | 42 return representer.represent_mapping("!tag1", native.__dict__) 81 return representer.represent_mapping(cls.yaml_tag, native.__dict__)
|