Skip to content

Commit 50ce1a0

Browse files
author
Simba Khadder
committed
Remove some unnecessary comments
1 parent bd5ed5c commit 50ce1a0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/enrichmcp/entity.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ class EnrichModel(BaseModel, metaclass=EnrichModelMeta):
121121
@classmethod
122122
def relationship_fields(cls) -> set[str]:
123123
"""Return names of fields that represent relationships."""
124-
# Use the new _relationships metadata instead of checking model_fields
125124
return set(getattr(cls, "_relationships", {}).keys())
126125

127126
@classmethod
@@ -144,7 +143,6 @@ def _is_mutable(f: Any) -> bool:
144143
@classmethod
145144
def relationships(cls) -> set[Relationship]:
146145
"""Return ``Relationship`` objects declared on the model."""
147-
# Use the new _relationships metadata
148146
return set(getattr(cls, "_relationships", {}).values())
149147

150148
@classmethod

0 commit comments

Comments
 (0)