@coin_signals · Post #16646 · 13.05.2025 г., 09:11
#BABYDOGE Buy & Hold. Target 1 : 2x - 3x
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
Пребарај: #babydoge
@coin_signals · Post #16646 · 13.05.2025 г., 09:11
#BABYDOGE Buy & Hold. Target 1 : 2x - 3x
Hashtags
@cryptoalgebra · Post #2387 · 04.07.2025 г., 15:20
Haven’t spotlighted our first non-EVM DEX in a while 👀 🌱 TONCO — the first CLAMM on TON blockchain — is thriving: 🔁 135K swaps,💸 $801K fees 📈 $285M total vol, $8.2M TVL, 537 weekly traders 🔥 Highlights: – $FDUSD launch w/ farming – #BabyDoge: $600K vol, 335% APR – $STORM farm: 500% APR – $BLUM: 100%+ real yield – $TON / $USDT: 42.5% avg APR – highest on TON All powered by Algebra 💪 Dive in 👉tonco.io
Hashtags
@tonlines · Post #7226 · 15.05.2025 г., 13:15
⚡️STON.fi Welcomes BabyDoge to Its Platform #BabyDoge#TON STON.fi has announced that on May 19, BabyDoge will be available for trading and liquidity provision on their platform. Launched in 2021, BabyDoge has grown into a robust multi-chain ecosystem featuring elements like BabyDogeSwap and an NFT Marketplace. This move further integrates BabyDoge into the TON ecosystem, appealing to crypto enthusiasts through its community-driven initiatives. Source: link @tonlines
@tradeandinvest_ann · Post #667 · 13.02.2025 г., 15:53
#BSC szn is already literally dragging liquidity off the entire market rn 😂 And CZ is increasing the pull by soft shilling his dog Been comfy in $CAKE, $CAT, $BAKE, $CGPT, $ANDY, #BabyDoge while also anticipating CZ’s dog. Open to whatever else makes sense on the chain tho 👇🏽
@tonlines · Post #7315 · 21.05.2025 г., 17:12
Trading Competition: Baby Doge Coin on xRocket #xRocket#BabyDoge xRocket News announces the listing of Baby Doge Coin on xRocket with a trading competition. Participants trading the $1MBABYDOGE/$TON pair can win a share of the $5,000 prize pool, with the competition running from May 21 to May 28. Baby Doge Coin, a popular meme token on Binance Smart Chain, is now integrated with xRocket’s SocialFi tools. Source: link @tonlines
@tonlines · Post #7313 · 21.05.2025 г., 16:35
⚡️STON.fi Welcomes BabyDoge Token #BabyDoge#STONfi#TON STON.fi announces the addition of the popular meme token, BabyDoge, to its trading platform. BabyDoge, known for its robust ecosystem featuring BabyDogeSwap and an NFT Marketplace, offers exclusive farming opportunities for users with $10,000 in rewards. Source: link @tonlines
@michaelvandepoppeanalyst · Post #4744 · 02.09.2024 г., 17:08
#1000BONK +736%💎 #BABYDOGE +175%💎 #ASTR +280%💎 Premium VIP Signal
@michaelvandepoppeanalyst · Post #4741 · 02.09.2024 г., 17:06
#1000BONK +736%💎 #BABYDOGE +175%💎 #ASTR +280%💎 Premium VIP Signal
@michaelvandepoppeanalyst · Post #4160 · 09.07.2024 г., 12:28
#BABYDOGE +247%🔥 #ENJ +313%⚡️ #GFT +175%💥 #SOL +234%🚀 Premium VIP Signal