- Notifications
You must be signed in to change notification settings - Fork674
chore: add alazy boolean attribute toRESTObject#2082
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
671d02d to7ed5620Comparecodecov-commenter commentedJun 20, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Codecov Report
@@ Coverage Diff @@## main #2082 +/- ##======================================= Coverage 95.39% 95.39% ======================================= Files 79 79 Lines 5149 5152 +3 =======================================+ Hits 4912 4915 +3 Misses 237 237
Flags with carried forward coverage won't be shown.Click here to find out more.
|
nejch commentedJun 21, 2022
@JohnVillalovos I don't mind this but I think it would be good to merge with a real-world use case implemented along with it, as currently this does not do anything. WDYT? |
Uh oh!
There was an error while loading.Please reload this page.
JohnVillalovos commentedJun 21, 2022
Sure. Will update it either today or tomorrow. |
7ed5620 to8ba00fcCompareJohnVillalovos commentedJul 6, 2022
Good idea. I added a real-world use case at the same time. |
7c668e0 to7b4eceaCompare7b4ecea to8d8f296Comparenejch commentedJul 20, 2022
Thanks@JohnVillalovos, just one more comment on the warning message, as I think it might be confusing if it raises for a real error on a method typo or so :) |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This can be used to tell if a `RESTObject` was created using`lazy=True`.Add a message to the `AttributeError` if attribute access fails for aninstance created with `lazy=True`.
8d8f296 toa7e8cfbCompare
Uh oh!
There was an error while loading.Please reload this page.
This can be used to tell if a
RESTObjectwas created usinglazy=True.Add a message to the
AttributeErrorif attribute access fails for aninstance created with
lazy=True.