Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow exclude parameters in reload kwargs #1378

Merged
merged 2 commits into from
Mar 16, 2024

Conversation

JonnyWong16
Copy link
Collaborator

Description

Allow exclude parameters in reload **kwargs. A list of known exclude parameters is added to PlexPartialObject._EXCLUDES.

Example:

movie.reload(excludeElements='Media,Genre,Collection', excludeFields='summary')

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the docstring for new or existing methods
  • I have added tests when applicable

@JonnyWong16 JonnyWong16 merged commit 642ba8b into pkkid:master Mar 16, 2024
5 checks passed
@JonnyWong16 JonnyWong16 deleted the feature/reload_kwargs branch March 31, 2024 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant