Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

231 B
Raw Blame
import uuid


def is_valid_uuid(uuid_str: str | None) -> bool:
    if uuid_str is None or len(uuid_str) == 0:
        return False
    try:
        uuid.UUID(uuid_str)
        return True
    except Exception:
        return False