MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / seed_random

Method seed_random

pager/pagerctl_mock.py:516–518  ·  view source on GitHub ↗
(self, seed)

Source from the content-addressed store, hash-verified

514 return _rand.randint(0, max_val - 1)
515
516 def seed_random(self, seed):
517 import random as _rand
518 _rand.seed(seed)
519
520 # ------------------------------------------------------------------
521 # Image support

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected