Samuel Yvon
Samuel Yvon
Also looking for this feature! There is a duration setting in the win API. I will make a pr within this week if there is no response.
I am pitching this as an additional feature, feel free to let me know what you think. I will maintain my own fork otherwise; I do feel like this is...
I'll put as draft for now. Some issues to note: - Does not play well with oneOf - ForwardRefs need to be updated Right now the imports are done through...
Plan for the `oneOf` (with pydantic dataclasses): - Set each field part of a group to `Optional` - Set the `message_field` `optional` attribute to `True` - Add a pydantic validator...
> ... that checks that at least one of the field is defined Changed the validator to ensure that _exactly_ one field is defined.
Further tasks - [x] Only add the call to update the forward refs if the message has other messages as fields - [x] Add tests
Hey @danielgtaylor. I've completed these changes a while back. This code has been in production at Garda World for well over two months now without any specific incident. I just...
@Alibirb you can assign this to me, I have the hardware / time and need for this. I can start the implementation tomorrow.
Noted. I'll wait for a ping then :)
@Alibirb I think this may be fixed for you :)