MCPcopy Create free account
hub / github.com/Loping151/RoverSign / build

Method build

RoverSign/utils/database/models.py:269–271  ·  view source on GitHub ↗
(cls, uid: str, pgr_uid: Optional[str] = None)

Source from the content-addressed store, hash-verified

267
268 @classmethod
269 def build(cls, uid: str, pgr_uid: Optional[str] = None):
270 date = get_today_date()
271 return cls(uid=uid, pgr_uid=pgr_uid, date=date)
272
273 @classmethod
274 def build_game_sign(cls, uid: str):

Callers

nothing calls this directly

Calls 1

get_today_dateFunction · 0.85

Tested by

no test coverage detected