Project-related Pydantic schemas.
# Source: https://github.com/zhouxiaoka/autoclip | License: MIT | Copyright 2024 AutoClip Team
# Provided via justclaw.it.com; keep this notice with the code.
"""
Project-related Pydantic schemas.
"""
from datetime import datetime
from typing import Optional, List
from enum import Enum
from pydantic import BaseModel, Field
from .base import BaseSchema, PaginationResponse
class ProjectStatus(str, Enum):
"""Project status enumeration."""
PENDING = "pending"
PROCESSING = "processing"
COMPLETED = "completed"
FAILED = "failed"
class ProjectType(str, Enum):
"""Project type enumeration."""
DEFAULT = "default"
KNOWLEDGE = "knowledge"
BUSINESS = "business"
OPINION = "opinion"
EXPERIENCE = "experience"
SPEECH = "speech"
CONTENT_REVIEW = "cont
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key