@degenpump_crypto_pump_signals · Post #504533 · 12.05.2026 г., 01:58
#REZ/USDT Take-Profit target 2 ✅ Profit: 27.2134% 📈 Period: 14 min ⏰
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #397 · 12 ное.
Использование Pydantic сегодня стало нормой, и это правильно. Но иногда на ревью вижу, что используют его не всегда корректно. Например, метод BaseModel.model_dump() по умолчанию не преобразует стандартные типы, такие как datetime, UUID или Decimal, в простой сериализуемый для JSON вид. Тогда пишут кастмоный сериализатор для этих типов чтобы функция json.dump() не падала с ошибкой. import uuid from datetime import datetime from decimal import Decimal from uuid import UUID from pydantic import BaseModel class MyModel(BaseModel): id: UUID date: datetime value: Decimal obj = MyModel( id=uuid.uuid4(), date=datetime.now(), value='1.23' ) print(obj.model_dump()) # не подходит для json.dump # { # 'id': UUID('4f8c1bc4-25fd-40cd-9dbe-2c73639b0dc1'), # 'date': datetime.datetime(2025, 12, 12, 12, 12, 12, 111111), # 'value': Decimal('1.23') # } # добавляем свой кастомный сериализатор json.dumps(obj.model_dump(), cls=MySerializer) # { # 'id': '4f8c1bc4-25fd-40cd-9dbe-2c73639b0dc1', # 'date': '2025-12-12T12:12:12.111111', # 'value': '1.23' # } В данном случае класс MySerializer обрабатывает datetime, UUID и Decimal. Например так: class MySerializer(json.JSONEncoder): def default(self, o): if isinstance(o, Decimal): return str(o) elif isinstance(o, datetime): return o.isoformat() elif isinstance(o, UUID): return str(o) return super().default(o) Специально для тех, кто всё еще так делает - в этом нет необходимости! Pydantic может это сделать сам, просто нужно добавить параметр mode="json". json.dumps(obj.model_dump(mode="json")) # { # 'id': '4f8c1bc4-25fd-40cd-9dbe-2c73639b0dc1', # 'date': '2012-12-12T12:12:12.111111', # 'value': '1.23' # } #pydantic#libs
Пребарај: #rez
@degenpump_crypto_pump_signals · Post #504533 · 12.05.2026 г., 01:58
#REZ/USDT Take-Profit target 2 ✅ Profit: 27.2134% 📈 Period: 14 min ⏰
Hashtags
@degenpump_crypto_pump_signals · Post #504530 · 12.05.2026 г., 01:57
#REZ/USDT Take-Profit target 1 ✅ Profit: 17.4165% 📈 Period: 13 min ⏰
Hashtags
@CoinSonar · Post #243598 · 17.04.2026 г., 10:48
#REZ | Volume spike (USDT PAIR) 319 times the average volume 104.86K USDT traded in 1 min └Selling vol: 98.59K USDT 🔴 Boost score: 1/10 24h Vol: 473.26K USDT (Binance) Price: 0.00406 (+1.8% in 24h)
Hashtags
@CoinSonar · Post #243323 · 16.04.2026 г., 21:10
#REZ | Volume spike (USDT PAIR) 74 times the average volume 122.91K USDT traded in 5 min └Buying vol: 75.21K USDT 🟢 Boost score: 4/10 24h Vol: 473.26K USDT (Binance) Price: 0.00434 (+1.8% in 24h)
Hashtags
@binancepumpsignais · Post #51434 · 15.03.2026 г., 20:36
| Coin: #REZ/USDT - Short 20x | Entry Targets: 0.004692 Take-Profit Targets: 1) 0.004598 2) 0.004551 3) 0.004504 4) 0.004457 Binance Pumps®
Hashtags
@whale_tank_crypto · Post #47586 · 08.05.2026 г., 11:20
Binance Futures, ByBit USDT #REZ/USDT All take-profit targets achieved 😎 Profit: 524.5757% 📈 Period: 16 Hours 53 Minutes ⏰ VIP LIFETIME" INSIDER SIGNALS JOIN NOW.
Hashtags
@americancryptotrading · Post #27444 · 20.11.2025 г., 15:51
🇺🇸#REZ/USDT is shaping descendingchannel pattern on the 3D chart👨💻 Going upside on a bounce📈 American Crypto©
Hashtags
@americancryptotrading · Post #27440 · 16.11.2025 г., 09:34
🇺🇸#REZ/USDT has shaped the descendingchannel on the 3D timeframe🔍 Accumulate here for the medium term🐃 American Crypto©
Hashtags
@americancryptotrading · Post #27395 · 03.10.2025 г., 09:30
🇺🇸#REZ/USDT is consolidating just below the upperborder of the descendingchannel formation on the daily timeframe🧐 Looking for a breakout🚀 American Crypto©
Hashtags
@americancryptotrading · Post #27308 · 11.07.2025 г., 08:34
🇺🇸#REZ/USDT is climbing above the descendingresistance line on the daily chart🔍 To the moon📈 American Crypto©
Hashtags
@elfcryptovip · Post #12121 · 10.10.2025 г., 04:03
#REZ📈
Hashtags
@coinlegs · Post #10271 · 02.06.2024 г., 09:19
#REZ🚀🚀+77% I share the altcoins I buy on spot in my Discord channel. You can join my channel by just subscribing coinlegs.com Gain access to both my handpicked signals and the most advanced analysis tools 💪
Hashtags