MCPcopy
hub / github.com/dataelement/Clawith / scalar_one_or_none

Method scalar_one_or_none

backend/tests/test_auth.py:33–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 self._scalar_value = scalar_value
32
33 def scalar_one_or_none(self):
34 if self._values:
35 return self._values[0]
36 return self._scalar_value
37
38 def scalars(self):
39 return self

Callers 15

seedFunction · 0.45
mainFunction · 0.45
runFunction · 0.45
lifespanFunction · 0.45
check_agent_accessFunction · 0.45
get_current_userFunction · 0.45
get_authenticated_userFunction · 0.45
_tickFunction · 0.45
_ensure_providerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected