Yunus Zaytaev
Yunus Zaytaev
It's because `RedisModel.from_redis()` intentionally removes `id` from fields, so later pyndantic validation fails: https://github.com/redis/redis-om-python/blob/main/aredis_om/model/model.py#L1211 No clue why so far, didn't find mentions in code/docs
another possible approach is to create your logger under `rosout` logger: `logger = logging.getLogger(f'rosout.{__name__}')` then all subsequent logger's calls will print messages into console, log file and `rosout` topic.
@m-hiki provided the great example, thank you! I have the same cases, and would appreciate changes. I have some workarounds though: 1. if you have a small set of charts...
some examples can be found in the code, e.g. https://github.com/redis/redis-om-python/blob/main/aredis_om/model/model.py#L798
Having `python 3.9.16` and `prophet==1.1`, this solved the issue on M1: ``` install_name_tool -add_rpath @executable_path/cmdstan-2.26.1/stan/lib/stan_math/lib/tbb .venv/lib/python3.9/site-packages/prophet/stan_model/prophet_model.bin ``` and my tests passed successfully as on linux. so it's broken on M1...
you can create a custom `Retry` class with adjusted `call_with_retry()` method and pass it down to pool/client: ``` class NeatRetry(Retry): def __init__(self, backoff, retries: int, supported_errors): if OSError not in...
Hi, @Cnoor0171 ! I'm having the same issue with `[email protected]`, macos, python:3.10: ``` Unexpected exception: ConnectionError("Error while reading from redis-server : (110, 'Connection timed out')") Traceback (most recent call last):...