MCPcopy Index your code
hub / github.com/couchbase/couchbase-python-client / is_null_or_empty

Function is_null_or_empty

couchbase/_utils.py:41–44  ·  view source on GitHub ↗
(
    value  # type: str
)

Source from the content-addressed store, hash-verified

39
40
41def is_null_or_empty(
42 value # type: str
43) -> bool:
44 return not (value and not value.isspace())
45
46
47def to_form_str(params # type: Dict[str, Any]

Callers 15

__repr__Method · 0.90
_parse_http_contextMethod · 0.90
_parse_kv_contextMethod · 0.90
_deserialize_rowMethod · 0.90
__init__Method · 0.90
from_serverMethod · 0.90
from_server_jsonMethod · 0.90
form_encodeMethod · 0.90
validateMethod · 0.90
form_encodeMethod · 0.90
validateMethod · 0.90
form_encodeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected