Open chrisdurand-RL opened 2 years ago
Thanks again @chrisdurand-RL - I'm following up with my team and will get back to you with a timeline for a fix.
Hi there,
Any update here? Our launch is currently blocked on this issue. Who can we reach out to can an update?
Hi @tonyurso-RL, we are actively investigating the issues and working towards a new release with all the identified fixes. I'll update when we have a clear timeline to provide.
Can you recommend any workarounds at the moment?
On Thu, May 12, 2022, 5:51 PM carmenquan @.***> wrote:
Hi @tonyurso-RL https://github.com/tonyurso-RL, we are actively investigating the issues and working towards a new release with all the identified fixes. I'll update when we have a clear timeline to provide.
— Reply to this email directly, view it on GitHub https://github.com/launchdarkly/api-client-python/issues/11#issuecomment-1125553299, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQKF3LPTXIXBWSALGMXYQXTVJWRR7ANCNFSM5VWUDMKA . You are receiving this because you were mentioned.Message ID: @.***>
Hi @tonyurso-RL,
The correct way to populate instructions for this request is using the raw dictionary, not using the model for Rule
directly. However, the error you are seeing when you do that is related to the open-source openapi generator that we rely on to generate our client library, and we're currently investigating. Unfortunately I don't have a workaround other than making a request without our client library to unblock yourself, but we are actively working to get a new release out.
Hello, do you have any updates for this bug?
Hey Chris, just sent you an email with an update.
When doing a rule replacement, the semantic patch expects the field
variationId
to be present. However, the internal model for Rule has a propertyvariation
. These are incompatible and the service throws an error.As you can see from the model for Rule, the attribute is called
variation
, notvariationId
. I can try to use a raw dictionary that conforms to the semantic patch pattern, but then I get a different error: