Georg M. Sorst
Georg M. Sorst
I added a reproduction case in #663 .
I have asked in https://github.com/samuelcolvin/pydantic/discussions/3561 how to handle this in Pydantic.
So the generator comes up with something like ```python class Foo(BaseModel): bar: Optional[ Union[ Dict[constr(regex=r'^A_\d$'), str], Dict[constr(regex=r'^B_\d$'), str], ] ] = None ``` However, the correct way is ```python class...
Nevermind. This only works for the case where all keys the same type `str`.
@eoinmarron > I take a look a the output for docker inspect and I can see the "IPAddress" key with an IP address-like value When I take the container.attrs['NetworkSettings']['IPAddress'] as...
So `container.attrs` appears to be just a snapshot and does not update as the container state changes. In my case, `container.attrs` was kept at status `created` without an IP. Refreshing...
I've stumbled on this too. Similarly, expressions such as just `1` or `1 2` are considered valid while e.g. https://crontab.guru/ considers them invalid.
The issue happens with Slack and Signal, but not with Telegram or Warp (terminal).