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

Class RelationshipConfig

src/core/http/response/response.py:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43@dataclass
44class RelationshipConfig:
45 name: str
46 service_name: str
47 foreign_key: str
48 local_key: str = "id"
49 service_method: str | None = None
50 relationship_type: RelationshipType = RelationshipType.HAS_ONE
51 include_in_response: bool = True
52
53
54@dataclass

Callers 2

relationshipsMethod · 0.90
relationshipsMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected