I'll make the image private actually ;)
This commit is contained in:
parent
30b8bebfcb
commit
b0221ea514
|
@ -2,7 +2,7 @@
|
|||
"cells": [
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 106,
|
||||
"execution_count": 1,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
@ -21,7 +21,7 @@
|
|||
" self.url = url\n",
|
||||
" self.width = width\n",
|
||||
" self.height = height\n",
|
||||
" self.image = get_cat_image(url)\n",
|
||||
" self._image = get_cat_image(url)\n",
|
||||
"\n",
|
||||
" def get_image(self) -> Image:\n",
|
||||
" \"\"\"Return the image of the cat object, cropped correctly if the width and height are changed.\n",
|
||||
|
|
Loading…
Reference in a new issue