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

Class Author

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

Represents a changelog entry author/contributor.

Source from the content-addressed store, hash-verified

129
130@dataclass
131class Author:
132 """Represents a changelog entry author/contributor."""
133 name: str
134 nick: Optional[str] = None
135 url: Optional[str] = None
136
137 def to_dict(self):
138 """Convert to dictionary, excluding None values."""
139 result = {"name": self.name}
140 if self.nick:
141 result["nick"] = self.nick
142 if self.url:
143 result["url"] = self.url
144 return result
145
146
147@dataclass

Callers 1

parse_authorsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…