Skip to content

Commit

Permalink
Upgrade to Immich API 1.118.2 (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-athome authored Oct 23, 2024
1 parent c676c0b commit 04b295e
Show file tree
Hide file tree
Showing 256 changed files with 5,404 additions and 15,750 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,7 @@ dmypy.json

# Cython debug symbols
cython_debug/

# other
/immich-openapi-specs.json
/temp
18 changes: 18 additions & 0 deletions generate-immich-client.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
# TODO move this to Poetry

set -e
rm -fr temp
mkdir -p temp
curl "https://raw.githubusercontent.com/immich-app/immich/v1.118.2/open-api/immich-openapi-specs.json" >immich-openapi-specs.json
cd temp

python3 -m venv venv
source venv/bin/activate
pip install openapi-python-client
openapi-python-client generate --path ../immich-openapi-specs.json
cd -

rm -fr immich_carddav_sync/immich_client
cp -r temp/immich-client/immich_client immich_carddav_sync/
rm -fr temp
1 change: 0 additions & 1 deletion immich_carddav_sync/immich_client/README.md

This file was deleted.

3 changes: 2 additions & 1 deletion immich_carddav_sync/immich_client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
""" A client library for accessing Immich """
"""A client library for accessing Immich"""

from .client import AuthenticatedClient, Client

__all__ = (
Expand Down
2 changes: 1 addition & 1 deletion immich_carddav_sync/immich_client/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" Contains methods for accessing the API """
"""Contains methods for accessing the API"""
190 changes: 0 additions & 190 deletions immich_carddav_sync/immich_client/api/album/add_assets_to_album.py

This file was deleted.

166 changes: 0 additions & 166 deletions immich_carddav_sync/immich_client/api/album/add_users_to_album.py

This file was deleted.

Loading

0 comments on commit 04b295e

Please sign in to comment.