@degenpump_crypto_pump_signals · Post #504758 · 14.05.2026 г., 14:19
#ZEC/USDT Take-Profit target 2 ✅ Profit: 27.7569% 📈 Period: 1 hr 51 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
Пребарај: #zec
@degenpump_crypto_pump_signals · Post #504758 · 14.05.2026 г., 14:19
#ZEC/USDT Take-Profit target 2 ✅ Profit: 27.7569% 📈 Period: 1 hr 51 min ⏰
Hashtags
@degenpump_crypto_pump_signals · Post #504743 · 14.05.2026 г., 13:11
#ZEC/USDT Take-Profit target 1 ✅ Profit: 18.0045% 📈 Period: 43 min ⏰
Hashtags
@degenpump_crypto_pump_signals · Post #504702 · 14.05.2026 г., 05:47
#ZEC/USDT Take-Profit target 1 ✅ Profit: 21.7961% 📈 Period: 2 hr 5 min ⏰
Hashtags
@CoinSonar · Post #243892 · 18.04.2026 г., 00:18
#ZEC | Volume spike (USDT PAIR) 67 times the average volume 2.06M USDT traded in 1 min └Buying vol: 1.60M USDT 🟢 Boost score: 7/10 24h Vol: 43.84M USDT (Binance) Price: 336.12 (-5.5% in 24h)
Hashtags
@CoinSonar · Post #243816 · 17.04.2026 г., 19:00
#ZEC | Volume spike (USDT PAIR) 59 times the average volume 1.82M USDT traded in 1 min └Selling vol: 1.19M USDT 🔴 Boost score: 1/10 24h Vol: 43.84M USDT (Binance) Price: 327.93 (-5.5% in 24h)
Hashtags
@CoinSonar · Post #243670 · 17.04.2026 г., 13:23
#ZEC | Volume spike (USDT PAIR) 9 times the average volume 4.42M USDT traded in 15 min └Buying vol: 2.57M USDT 🟢 Boost score: 2/10 24h Vol: 43.84M USDT (Binance) Price: 345.91 (-5.5% in 24h)
Hashtags
@binancepumpsignais · Post #51431 · 15.03.2026 г., 14:44
| Coin: #ZEC/USDT - Long 20x | Entry Targets: 227.66 Take-Profit Targets: 1) 232.2132 2) 234.4898 3) 236.7664 4) 239.043 Binance Pumps®
Hashtags
@binancepumpsignais · Post #50832 · 05.02.2026 г., 13:51
| Coin: #ZEC/USDT - Short 20x | Entry Targets: 218.54 Take-Profit Targets: 1) 214.1692 2) 211.9838 3) 209.7984 4) 207.613 Binance Pumps®
Hashtags
@cryptobull_360 · Post #49728 · 09.05.2026 г., 17:13
✴️#ZEC Zcash will launch wallets with the ability to recover from quantum attacks within a month and plans to become invulnerable to quantum attacks within 12 - 18 months.
Hashtags
@cryptobull_360 · Post #49686 · 06.05.2026 г., 07:21
#ZEC +51% massive breakout from the Cup and Handle that we mentioned on our previous post!! Congrats traders who bought on time!! https://x.com/CryptoBull_360/status/2050912195710705784?s=20
Hashtags
@cryptobull_360 · Post #49685 · 06.05.2026 г., 07:20
get ready for massive rally on #ZEC
Hashtags
@cryptobull_360 · Post #49684 · 06.05.2026 г., 07:20
#ZEC activity 🤔 32,65M USDT in 14 min (11%) on Hyperliquid P: 584 ⬆️ (7,14%) Vol 24h: 329,36M USDT
Hashtags