Logo
Explore Help
Register Sign In
yujunjun/dify
1
0
Fork 0
You've already forked dify
mirror of https://github.com/langgenius/dify.git synced 2026-01-06 23:10:54 +00:00
Code Issues Packages Projects Releases Wiki Activity
dify/api/configs/packaging/__init__.py

15 lines
331 B
Python
Raw Normal View History

fix(configs): Update pydantic settings in config files (#6023)
2024-07-07 12:18:15 +08:00
from pydantic import Field
feat: introduce pydantic-settings for config definition and validation (#5202) Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-06-19 13:41:12 +08:00
refactor: define the Dify project version in pyproject.toml (#20910)
2025-07-01 12:07:24 +08:00
from configs.packaging.pyproject import PyProjectConfig, PyProjectTomlConfig
feat: introduce pydantic-settings for config definition and validation (#5202) Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-06-19 13:41:12 +08:00
refactor: define the Dify project version in pyproject.toml (#20910)
2025-07-01 12:07:24 +08:00
class PackagingInfo(PyProjectTomlConfig):
feat: introduce pydantic-settings for config definition and validation (#5202) Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-06-19 13:41:12 +08:00
"""
Packaging build information
"""
COMMIT_SHA: str = Field(
description="SHA-1 checksum of the git commit used to build the app",
chore(api/configs): apply ruff reformat (#7590)
2024-08-23 23:46:01 +08:00
default="",
feat: introduce pydantic-settings for config definition and validation (#5202) Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-06-19 13:41:12 +08:00
)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 1302ms Template: 109ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API