__init__.py 357 B

123456789101112131415161718
  1. from pydantic import BaseModel, Field
  2. class PackagingInfo(BaseModel):
  3. """
  4. Packaging build information
  5. """
  6. CURRENT_VERSION: str = Field(
  7. description='Dify version',
  8. default='0.6.12',
  9. )
  10. COMMIT_SHA: str = Field(
  11. description="SHA-1 checksum of the git commit used to build the app",
  12. default='',
  13. )