支持手动token认证
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
def str_is_empty(s: str) -> bool:
|
||||
"""Check if a string is empty or contains only whitespace."""
|
||||
if s is None:
|
||||
return True
|
||||
stripped = s.replace(" ", " ")
|
||||
return not bool(stripped)
|
||||
Reference in New Issue
Block a user