Skip to content

Commit dcee798

Browse files
committed
Remove list_photos
1 parent e26a4ae commit dcee798

File tree

3 files changed

+0
-17
lines changed

3 files changed

+0
-17
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,6 @@ api.update_profile(profile_id, payload=payload)
173173

174174
For all payload options, consult the [API documentation](https://studio-docs.skylabtech.ai/#tag/profile/operation/updateProfileById).
175175

176-
#### List all photos
177-
178-
```python
179-
api.list_photos()
180-
```
181-
182176
#### Get photo
183177

184178
```python

skylab_studio/studio_client.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,6 @@ def update_profile(self, profile_id, payload=None):
258258
payload=payload
259259
)
260260

261-
def list_photos(self):
262-
""" API call to get all photos """
263-
return self._api_request(
264-
'photos',
265-
'GET'
266-
)
267-
268261
###### PHOTO ENDPOINTS ######
269262

270263
def _get_upload_url(self, payload={"use_cache_upload": False}):

test/test_api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,6 @@ def test_update_profile(api):
154154
result = api.update_profile(profile_id, payload=payload)
155155
assert result is not None
156156

157-
def test_list_photos(api):
158-
result = api.list_photos()
159-
assert result is not None
160-
161157
def test_get_photo(api):
162158
global photo_id
163159
result = api.get_photo(photo_id)

0 commit comments

Comments
 (0)