Skip to content

Conversation

@Eugene-Polonsky
Copy link

Proposed change

This adds the ability to add a photo to an existing album.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New service (thank you!)
  • New feature (which adds functionality to an existing service)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests
  • Documentation or code sample

Example of code:

asset = find_photo_by_id(asset_id, auth_state["photos_cache"])
                if asset:
                    print(f"Moving {asset.filename} to Duplicates folder")
                    asset.add_to_album(duplicates_folder)

Additional information

  • This PR fixes or closes issue: 462
  • This PR is related to issue:

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

  • Documentation added/updated to README

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants