Lines Matching refs:flow_style
85 def represent_sequence(self, tag, sequence, flow_style=None): argument
87 node = SequenceNode(tag, value, flow_style=flow_style)
96 if flow_style is None:
98 node.flow_style = self.default_flow_style
100 node.flow_style = best_style
103 def represent_mapping(self, tag, mapping, flow_style=None): argument
105 node = MappingNode(tag, value, flow_style=flow_style)
124 if flow_style is None:
126 node.flow_style = self.default_flow_style
128 node.flow_style = best_style
223 def represent_yaml_object(self, tag, data, cls, flow_style=None): argument
228 return self.represent_mapping(tag, state, flow_style=flow_style)