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

Method random

pager/pagerctl_mock.py:512–514  ·  view source on GitHub ↗
(self, max_val)

Source from the content-addressed store, hash-verified

510 # ------------------------------------------------------------------
511
512 def random(self, max_val):
513 import random as _rand
514 return _rand.randint(0, max_val - 1)
515
516 def seed_random(self, seed):
517 import random as _rand

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected