MCPcopy Create free account
hub / github.com/mlco2/codecarbon / __repr__

Method __repr__

carbonserver/carbonserver/api/infra/database/sql_models.py:182–189  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

180 organizations = relationship("Membership", back_populates="user")
181
182 def __repr__(self):
183 return (
184 f'<User(id="{self.id}", '
185 f'name="{self.name}", '
186 f'is_active="{self.is_active}", '
187 f"organizations={self.organizations}"
188 f'email="{self.email}")>'
189 )
190
191
192class ProjectToken(Base):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected