MCPcopy Create free account
hub / github.com/Materials-Consortia/optimade-python-tools / Implementation

Class Implementation

optimade/models/optimade_json.py:246–284  ·  view source on GitHub ↗

Information on the server implementation

Source from the content-addressed store, hash-verified

244
245
246class Implementation(BaseModel):
247 """Information on the server implementation"""
248
249 name: Annotated[
250 str | None, StrictField(description="name of the implementation")
251 ] = None
252
253 version: Annotated[
254 str | None,
255 StrictField(description="version string of the current implementation"),
256 ] = None
257
258 homepage: Annotated[
259 jsonapi.JsonLinkType | None,
260 StrictField(
261 description="A [JSON API links object](http://jsonapi.org/format/1.0/#document-links) pointing to the homepage of the implementation.",
262 ),
263 ] = None
264
265 source_url: Annotated[
266 jsonapi.JsonLinkType | None,
267 StrictField(
268 description="A [JSON API links object](http://jsonapi.org/format/1.0/#document-links) pointing to the implementation source, either downloadable archive or version control system.",
269 ),
270 ] = None
271
272 maintainer: Annotated[
273 ImplementationMaintainer | None,
274 StrictField(
275 description="A dictionary providing details about the maintainer of the implementation.",
276 ),
277 ] = None
278
279 issue_tracker: Annotated[
280 jsonapi.JsonLinkType | None,
281 StrictField(
282 description="A [JSON API links object](http://jsonapi.org/format/1.0/#document-links) pointing to the implementation's issue tracker.",
283 ),
284 ] = None
285
286
287class ResponseMeta(jsonapi.Meta):

Callers 1

ServerConfigClass · 0.90

Calls 1

StrictFieldFunction · 0.90

Tested by

no test coverage detected