fix: sync 35528 (#35539)

This commit is contained in:
Yunlu Wen
2026-04-24 03:59:33 +00:00
committed by GitHub
parent 38fc2a6574
commit 48e13f65dc
4 changed files with 89 additions and 8 deletions
@@ -5,6 +5,7 @@ import uuid
from datetime import datetime
from typing import TYPE_CHECKING
from cachetools.func import ttl_cache
from pydantic import BaseModel, ConfigDict, Field, model_validator
from configs import dify_config
@@ -99,6 +100,7 @@ def try_join_default_workspace(account_id: str) -> None:
class EnterpriseService:
@classmethod
@ttl_cache(ttl=5)
def get_info(cls):
return EnterpriseRequest.send_request("GET", "/info")