mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-10-20 07:11:28 +02:00
- Added `clean_name` function to `validation.py` for name validation with max length. - Simplified docstrings in `dnsx` client, parser, and service files for clarity. - Enhanced error handling in `ViewDNSService` to prevent disabling keys on rate limits. - Improved WHOIS service to handle concurrent inserts gracefully with integrity checks. - Updated `Settings` class in worker config to inherit from `BaseAppSettings`. - Added new dependencies in `pyproject.toml` for `apprise` and `cryptography`.
14 lines
240 B
Python
14 lines
240 B
Python
from enum import Enum
|
|
|
|
|
|
class InstanceMode(Enum):
|
|
BUG_BOUNTY = "bug_bounty"
|
|
CORPORATE = "corporate"
|
|
|
|
|
|
class AIProvider(Enum):
|
|
OPENAI = "openai"
|
|
ANTHROPIC = "anthropic"
|
|
AZURE_OPENAI = "azure_openai"
|
|
GOOGLE = "google"
|