@binancepumpsignais · Post #50866 · 07.02.2026 г., 14:16
| Coin: #ARC/USDT - Short 20x | Entry Targets: 0.06602 Take-Profit Targets: 1) 0.0647 2) 0.06404 3) 0.06338 4) 0.06272 Binance Pumps®
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
Пребарај: #arc
@binancepumpsignais · Post #50866 · 07.02.2026 г., 14:16
| Coin: #ARC/USDT - Short 20x | Entry Targets: 0.06602 Take-Profit Targets: 1) 0.0647 2) 0.06404 3) 0.06338 4) 0.06272 Binance Pumps®
Hashtags
@whale_tank_crypto · Post #47806 · 15.05.2026 г., 12:48
Binance Futures, ByBit USDT #ARC/USDT All take-profit targets achieved 😎 Profit: 935.3599% 📈 Period: 12 Hours 55 Minutes ⏰ VIP LIFETIME" INSIDER SIGNALS JOIN NOW.
Hashtags
@whale_tank_crypto · Post #46368 · 01.03.2026 г., 15:29
Binance Futures, ByBit USDT #ARC/USDT All take-profit targets achieved 😎 Profit: 1,640.7112% 📈 Period: 12 Hours 57 Minutes ⏰ "VIP LIFETIME" INSIDER SIGNALS JOIN NOW.
Hashtags
@binancefuturesignal · Post #36150 · 23.03.2026 г., 20:40
🎯🎯Amazing 60% Profit on #ARC/USDT for all Premium Members 🚀🚀It has crossed all the targets 👁🗨Contact @futurechief to enter the premium group & make daily gains
Hashtags
@binancefuturesignal · Post #35987 · 05.03.2026 г., 10:03
🚀🚀 Storming Profits in the Premium Group 🎯🎯#ARC/USDT has covered all the targets to give a profit 361% for all Premium Members 👁🗨Contact @futurechief to enter the Premium Futures & SPOT Group for daily gains
Hashtags
@binancefuturesignal · Post #35833 · 16.02.2026 г., 23:32
🚀🚀 Consistent profit on all the Premium signals - 143% profit made on #ARC/USDT - All profit targets covered 🎯🎯Contact - @futurechief for Premium Access
Hashtags
@binancefuturesignal · Post #35748 · 08.02.2026 г., 13:18
🎯🎯 Non Stop Huge profit on Premium signals for all Premium Members 🔥🔥#ARC/USDT has crossed all the profit targets and made a great profit of 394% 👁🗨Contact @futurechief to enter the Premium Futures & SPOT Group for daily gains
Hashtags
@binancefuturesignal · Post #35572 · 21.01.2026 г., 21:01
🚀 Back to Back profits are made in the Premium Group 🎯🎯#ARC/USDT has covered all the target to give a Profit of 350% to all Premium Members 👁🗨Contact @futurechief to enter the Premium Futures & SPOT Group for daily gain
Hashtags
@binancefuturesignal · Post #35497 · 16.01.2026 г., 07:02
🎯🎯 Non Stop Huge profit on Premium signals for all Premium Members 🔥🔥#ARC/USDT has crossed all the profit targets and made a great profit of 254% 👁🗨Contact @futurechief to enter the Premium Futures & SPOT Group for daily gains
Hashtags
@binancefuturesignal · Post #35468 · 14.01.2026 г., 00:01
⏳ MISSED THIS MOVE? #ARC/USDT premium trade crossed all targets and delivered a clean move. Free channel saw the outcome. Premium members had the entry. 👉@futurechief
Hashtags
@cryptosignalalert · Post #28278 · 14.01.2026 г., 16:22
Binance Futures, OKX, Deribit, BitGET, BybitUSDT, KuCoin, Huobi Long/Buy #ARC/USDT Entry Point - 7125 Targets: 7160 - 7195 - 7230 - 7265 Leverage - 10x Stop Loss - 6840
Hashtags
@cryptosignalalert · Post #27967 · 19.12.2025 г., 09:07
Binance Futures, OKX, Deribit, BitGET, BybitUSDT, KuCoin, Huobi Long/Buy #ARC/USDT Entry Point - 5100 Targets: 5125 - 5151 - 5176 - 5202 Leverage - 10x
Hashtags