MCPcopy Create free account
hub / github.com/alibaba/GraphScope / check_argument

Function check_argument

python/graphscope/framework/errors.py:218–222  ·  view source on GitHub ↗
(condition, message=None)

Source from the content-addressed store, hash-verified

216
217
218def check_argument(condition, message=None):
219 if not condition:
220 if message is None:
221 message = "in '%s'" % inspect.stack()[1].code_context[0]
222 raise InvalidArgumentError("Check failed: %s" % message)

Callers 15

to_dataframeMethod · 0.90
to_vineyard_dataframeMethod · 0.90
outputMethod · 0.90
signatureMethod · 0.90
_check_unmodifiedMethod · 0.90
signatureMethod · 0.90
__init__Method · 0.90
resolveMethod · 0.90
i_to_attrFunction · 0.90
u_to_attrFunction · 0.90
b_to_attrFunction · 0.90
s_to_attrFunction · 0.90

Calls 1

Tested by

no test coverage detected