@elfcryptovip · Post #11802 · 08.08.2025 г., 04:51
JUST IN:💰 The SEC has officially ended its legal battle with #ripple as both parties have officially filed for joint dismissal of appeals.
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
Пребарај: #ripple
@elfcryptovip · Post #11802 · 08.08.2025 г., 04:51
JUST IN:💰 The SEC has officially ended its legal battle with #ripple as both parties have officially filed for joint dismissal of appeals.
Hashtags
@finsignal · Post #2652 · 06.11.2023 г., 12:29
🪙#Ripple is preparing for an initial public offering of IPO shares We are waiting for $XRP 🚀🚀🚀 and our set goals (0.88$) 🥳🥳🥳
Hashtags
@finsignal · Post #2649 · 05.11.2023 г., 10:02
San Francisco, November 3, 2023 — The company #Ripple, one of the leading participants in the global market of cryptocurrencies and blockchain technologies, announced its intention to join the development of a digital version of the national currency — the digital lari, cooperating with Georgia.
Hashtags
@the_jefferymead · Post #563 · 07.03.2026 г., 20:07
🚨HUGE: #Ripple is integrating #XRP payments directly into core banking systems via DXC. IT'S HAPPENING! 🤯
@the_jefferymead · Post #559 · 03.03.2026 г., 06:36
LETS GOOOOOOOOOOOOOO!!!💥 LISTENING TO BRAD GARLINGHOUSE AT FOX BUSINESS! IM SURE #RIPPLE WILL SOON HANDLE TRANSACTIONS ARROUND THE WORLD THROUGH #XRP AS BRIDGE CURRENCY✅🏦
@the_jefferymead · Post #483 · 14.02.2026 г., 21:30
Brad Garlinghouse - CEO of #Ripple says: “I will give it 75% by the end of April, that we are not just back on track, but very close to being signed.” 💥REGULATORY CLARITY IS COMING💥 $RLUSD 🤝#XRP
@the_jefferymead · Post #419 · 05.02.2026 г., 08:56
Brad Garlinghouse, the CEO of #Ripple, will join the White House as the new Trump’s Crypto Czar! #XRP
@the_jefferymead · Post #379 · 23.01.2026 г., 22:46
🚨Brad Garlinghouse - CEO of #Ripple, reveals that #XRP plays a crucial role in the successful listing of Ripple's $RLUSD on Binance today! “eXtRemely Positive…” X R P
@the_jefferymead · Post #351 · 17.01.2026 г., 22:46
#Ripple sets the highest standard for stablecoin compliance! $RLUSD Ripple will become the new FEDERAL RESERVE and #XRP-escrow will be the backbone of the new financial system.
@the_jefferymead · Post #336 · 15.01.2026 г., 19:26
#Ripple will become a Bank in Q1 2026! 💥Ripple National Trust Bank💥#XRP
@the_jefferymead · Post #331 · 15.01.2026 г., 19:19
#Ripple will become a Bank in Q1 2026! 💥Ripple National Trust Bank💥#XRP
@the_jefferymead · Post #280 · 09.01.2026 г., 01:17
The SEC Chair - Paul Atkins who ended the #Ripple case says that blockchains are more transparent than any legacy financial system ever built! #XRP