@degenpump_crypto_pump_signals · Post #504310 · 10.05.2026 г., 16:26
#RSR/USDT Take-Profit target 2 ✅ Profit: 31.5867% 📈 Period: 5 hr 2 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
Пребарај: #rsr
@degenpump_crypto_pump_signals · Post #504310 · 10.05.2026 г., 16:26
#RSR/USDT Take-Profit target 2 ✅ Profit: 31.5867% 📈 Period: 5 hr 2 min ⏰
Hashtags
@degenpump_crypto_pump_signals · Post #504289 · 10.05.2026 г., 15:37
#RSR/USDT Take-Profit target 1 ✅ Profit: 22.0372% 📈 Period: 4 hr 34 min ⏰
Hashtags
@proanalysistrader · Post #28518 · 05.03.2025 г., 09:32
#RSR/USDT analysis : The #RSR price is currently in a bearish trend and has established new lows. The price is expected to continue its downward movement and test lower levels. For short entry, consider waiting for the price to touch the resistance zone. TF : 2H Entry : $0.007040 Target : $0.005453 SL : $0.008022
Hashtags
@proanalysistrader · Post #28352 · 21.12.2024 г., 09:52
#RSR/USDT analysis : #RSR has retraced and tested a key support zone, facing immediate rejection that formed a bullish rejection candle. This suggests strong buying interest, the price is expected to rebound from this level and resume its bullish momentum, potentially testing previous highs. TF : 1D Entry : $0.01170 Target : $0.02570 SL : $0.00864
Hashtags
@americancryptotrading · Post #27223 · 19.04.2025 г., 17:23
🇺🇸#RSR/USDT is bouncing off the broken descendingresistance line on the daily chart👨💻 Looks good to buy📈 American Crypto©
Hashtags
@americancryptotrading · Post #27192 · 21.03.2025 г., 17:07
🇺🇸#RSR/USDT is holding above the broken descendingresistance on the weekly chart🧐 More upside is coming📈 American Crypto©
Hashtags
@americancryptotrading · Post #27044 · 09.11.2024 г., 14:53
🇺🇸#RSR/USDT is testing the s/r zone right now on weekly timeframe👀 Bullish if breaks above the one🐃 American Crypto©
Hashtags
@cryptocurreniesbtc · Post #22033 · 08.11.2023 г., 05:45
#RSR/USDT (Futures LONG) 🐋 Entry - CMP 0.002475 - 0.0024 Stoploss - 0.0022 Targets - 0.0026 - 0.0027 - 0.0030 - 0.0034 - 0.0037 Cross X10 - X50
Hashtags
@coinlegs · Post #9878 · 10.02.2024 г., 16:02
#RSR looks good. As long as the price does not fall below the blue zone, no problem for long positions
Hashtags
@doublegtrading · Post #7253 · 26.01.2025 г., 18:40
Binance Futures, Bitget Futures, ByBit USDT, KuCoin Futures, OKX Futures #RSR/USDT Take-Profit target 1 ✅ Profit: 19.0259% 📈 Period: 34 Minutes ⏰
Hashtags
@signal_bitcoins · Post #2711 · 08.02.2024 г., 15:05
#RSR pullback done to the broken falling wedge pattern on Weekly time frame,we are waiting for the next movement right now 👀 ❄️@signals_bitcoin_crypto❄️ ❄️@Shadow_support0o❄️
Hashtags
@signal_bitcoins · Post #2223 · 08.01.2024 г., 12:51
#RSR broken down the Bearish channel on Daily time frame,we expect more correction after a pullback to the bottom of broken channel 📉 ❄️@signals_bitcoin_crypto❄️ ❄️@Shadow_support0o❄️
Hashtags