Accessing and loading images from Sources #680
chris-langfield
started this conversation in
General
Replies: 2 comments 2 replies
|
Nice, good idea, I forgot about this area already :). Thanks! Re-reading my short story, I meant |
1 reply
|
From what I can tell (and my attempts) I don't there's a way to have this API without a helper class to have the class Source:
def __init__(self):
self.__imageViewHelper = ImageViewHelper(self._images)
@property
def images(self):
return self.__imageViewHelper
def _images(self):
raise AttributeError("Subclass must implement")See https://stackoverflow.com/questions/57468622/defining-getitem-and-setitem-for-a-property-in-python |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Figured since this is an important topic we could move the discussion from #619 here.
see also #524
Where we're at so far:
#619 (comment)
#619 (comment)
#619 (comment)
#619 (comment)
All reactions