Commit ·
565ea1f
1
Parent(s): 245f296
Update handler.py
Browse files- handler.py +2 -0
handler.py
CHANGED
|
@@ -22,6 +22,8 @@ class EndpointHandler():
|
|
| 22 |
|
| 23 |
def __call__(self, data: Dict) -> Dict:
|
| 24 |
|
|
|
|
|
|
|
| 25 |
image_url = data.get('image_url')
|
| 26 |
logging.info(f'Image url is : {image_url}')
|
| 27 |
response = requests.get(image_url)
|
|
|
|
| 22 |
|
| 23 |
def __call__(self, data: Dict) -> Dict:
|
| 24 |
|
| 25 |
+
logging.info(f'data is : {data}')
|
| 26 |
+
logging.info(f'type of data is : {type(data)}')
|
| 27 |
image_url = data.get('image_url')
|
| 28 |
logging.info(f'Image url is : {image_url}')
|
| 29 |
response = requests.get(image_url)
|