xync-db 0.5.5.dev82__tar.gz → 0.5.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/PKG-INFO +1 -1
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/enums.py +1 -1
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/models/__init__.py +1 -1
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/.gitignore +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/README.md +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/pyproject.toml +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/__init__.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/config.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/exceptions.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/graph.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/i18n.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/login_store.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/logo.png +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/CLAUDE.md +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/__init__.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/models/0001_initial.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/models/0002_triggers.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/models/0003_seed.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/models/__init__.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/models/seed/__init__.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/models/seed/a_actor_seed.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/models/seed/a_bin_seed.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/models/seed/a_country_seed.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/models/seed/a_tg_seed.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/models/seed/b_htx_seed.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/models/seed/c_net_seed.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/models/seed/countries.json +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/models/seed/ranges.csv +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/migrations/models/seed/xync_files.sql +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/models/CLAUDE.md +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/py.typed +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/shared.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/typs/__init__.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/typs/db/__init__.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/typs/db/actor.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/typs/db/ad.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/typs/db/common.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/typs/db/cred.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/typs/db/order.py +0 -0
- {xync_db-0.5.5.dev82 → xync_db-0.5.6}/src/xync_db/typs/db/pm.py +0 -0
|
@@ -248,7 +248,7 @@ class GeminiRes(IntEnum): # исход запроса к Gemini (`GeminiReq`)
|
|
|
248
248
|
minute = 1 # прочие 429 (…PerMinute…, отказ без квоты): ключ на минуту мимо этой модели
|
|
249
249
|
day = 2 # 429 …PerDay…: ключ выбыл по этой модели до сброса квоты (`GeminiKey.pick`)
|
|
250
250
|
bad_key = 4 # 401/403/API_KEY_INVALID: ключ выбыл по всем моделям на сутки
|
|
251
|
-
fail = 5 # прочие сбои (таймаут; 5xx — перегружена модель: условие — к следующей)
|
|
251
|
+
fail = 5 # прочие сбои (таймаут; 499 — оборван, один повтор; 5xx — перегружена модель: условие — к следующей)
|
|
252
252
|
|
|
253
253
|
|
|
254
254
|
class ExStatus(IntEnum):
|
|
@@ -2036,7 +2036,7 @@ class Cred(Model):
|
|
|
2036
2036
|
def repr(self):
|
|
2037
2037
|
xtr = f" ({self.extra})" if self.extra else ""
|
|
2038
2038
|
name = f", имя: {self.name}" if self.name else ""
|
|
2039
|
-
return f"
|
|
2039
|
+
return f"{self.detail}{name}{xtr}"
|
|
2040
2040
|
|
|
2041
2041
|
_UNSET: ClassVar = object() # sentinel: «поле не передано» (отличаем от явного None, который НУЛЯЕТ)
|
|
2042
2042
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|