@degenpump_crypto_pump_signals · Post #503903 · 08.05.2026 г., 03:40
#BOME/USDT Take-Profit target 1 ✅ Profit: 21.2323% 📈 Period: 3 hr 4 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
Пребарај: #bome
@degenpump_crypto_pump_signals · Post #503903 · 08.05.2026 г., 03:40
#BOME/USDT Take-Profit target 1 ✅ Profit: 21.2323% 📈 Period: 3 hr 4 min ⏰
Hashtags
@CoinSonar · Post #244181 · 18.04.2026 г., 12:41
#BOME | Volume spike (USDT PAIR) 23 times the average volume 130.62K USDT traded in 15 min └Selling vol: 78.31K USDT 🔴 Boost score: 1/10 24h Vol: 525.99K USDT (Binance) Price: 0.000495 (-5.4% in 24h)
Hashtags
@CoinSonar · Post #244097 · 18.04.2026 г., 09:24
#BOME | Volume spike (USDT PAIR) 23 times the average volume 128.69K USDT traded in 15 min └Selling vol: 82.08K USDT 🔴 Boost score: 1/10 24h Vol: 525.99K USDT (Binance) Price: 0.000528 (-5.4% in 24h)
Hashtags
@CoinSonar · Post #243753 · 17.04.2026 г., 15:43
#BOME | Volume spike (USDT PAIR) 26 times the average volume 145.96K USDT traded in 15 min └Buying vol: 78.95K USDT 🟢 Boost score: 3/10 24h Vol: 525.99K USDT (Binance) Price: 0.000541 (-5.4% in 24h)
Hashtags
@CoinSonar · Post #243695 · 17.04.2026 г., 13:42
#BOME | Volume spike (USDT PAIR) 23 times the average volume 128.46K USDT traded in 15 min └Selling vol: 70.51K USDT 🔴 Boost score: 1/10 24h Vol: 525.99K USDT (Binance) Price: 0.000551 (-5.4% in 24h)
Hashtags
@CoinSonar · Post #243400 · 17.04.2026 г., 01:28
#BOME | Volume spike (USDT PAIR) 44 times the average volume 243.33K USDT traded in 15 min └Buying vol: 125.38K USDT 🟢 Boost score: 2/10 24h Vol: 525.99K USDT (Binance) Price: 0.000563 (-5.4% in 24h)
Hashtags
@CoinSonar · Post #243358 · 16.04.2026 г., 23:28
#BOME | Volume spike (USDT PAIR) 24 times the average volume 133.72K USDT traded in 15 min └Selling vol: 68.65K USDT 🔴 Boost score: 1/10 24h Vol: 525.99K USDT (Binance) Price: 0.000563 (-5.4% in 24h)
Hashtags
@CoinSonar · Post #243314 · 16.04.2026 г., 20:28
#BOME | Volume spike (USDT PAIR) 78 times the average volume 429.45K USDT traded in 15 min └Selling vol: 252.64K USDT 🔴 Boost score: 1/10 24h Vol: 525.99K USDT (Binance) Price: 0.000573 (-5.4% in 24h)
Hashtags
@cryptosignalalert · Post #28168 · 04.01.2026 г., 17:21
Binance Futures, OKX, Deribit, BitGET, BybitUSDT, KuCoin, Huobi #BOME/USDT Enter Above - 8040 Targets: 8080 - 8120 - 8160 - 8200 Leverage - 10x
Hashtags
@americancryptotrading · Post #27545 · 25.02.2026 г., 09:23
🇺🇸#BOME/USDT is consolidating near the lowerborder of the fallingwedge formation on the 3D chart💁♂️ Bullish if we bounce off the one📈 American Crypto©
Hashtags
@michaelvandepoppeanalyst · Post #3916 · 21.06.2024 г., 17:29
#BOME All Target Done 👍 Profit: +772% 🚀🚀🚀🚀
Hashtags
@michaelvandepoppeanalyst · Post #3798 · 14.06.2024 г., 23:54
Bingx, Binance Futures, ByBit USDT #BOME/USDT Take-Profit target 1 ✅🚀 Take-Profit target 2 ✅🚀 Profit: 125.45%📈 Period: 6 Hours 52 Minutes ⏰
Hashtags