You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, generated model has no field named from.
So I have two questions:
How can I get/set this field while initialization of the model Range?
Is there any workaround for such fields?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
devgomax
changed the title
Ignoring filed names equal to reserved keywords like "from"
Ignoring field names equal to reserved keywords like "from"
Aug 12, 2023
Hi. from is a python reserved keyword so it is skipped on the property. You will have to use some methods from the base class - the getattr and setattr
Hello! Here is the proto message for example:
And there is the generated interface:
Unfortunately, generated model has no field named
from
.So I have two questions:
Range
?Thanks in advance!
The text was updated successfully, but these errors were encountered: