MCPcopy Create free account
hub / github.com/apache/solr / to_dict

Method to_dict

dev-tools/scripts/changes2logchange.py:166–173  ·  view source on GitHub ↗

Convert to dictionary for YAML serialization.

(self)

Source from the content-addressed store, hash-verified

164 links: List[Link] = field(default_factory=list)
165
166 def to_dict(self):
167 """Convert to dictionary for YAML serialization."""
168 return {
169 "title": self.title,
170 "type": self.change_type,
171 "authors": [author.to_dict() for author in self.authors],
172 "links": [link.to_dict() for link in self.links],
173 }
174
175
176class AuthorParser:

Callers

nothing calls this directly

Calls 1

to_dictMethod · 0.45

Tested by

no test coverage detected