MCPcopy Create free account
hub / github.com/dbunt1tled/python-fast-api / JsonApiResource

Class JsonApiResource

src/core/http/response/response.py:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13
14class JsonApiResource(BaseModel):
15 type: str
16 id: str
17 attributes: dict[str, Any]
18 relationships: dict[str, Any] | None = None
19
20
21class JsonApiResponse(BaseModel):

Callers 1

data_to_resourceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected