File: _string_utils.py

package info (click to toggle)
azure-kusto-python 5.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,704 kB
  • sloc: python: 10,633; sh: 13; makefile: 3
file content (3 lines) | stat: -rw-r--r-- 131 bytes parent folder | download | duplicates (3)
1
2
3
def assert_string_is_not_empty(value: str):
    if not value or not value.strip():
        raise ValueError("Should not be empty")