Skip to content

Feat: add the get_licensing_config method#137

Merged
bonnie57 merged 8 commits intomainfrom
PYSDK-48
Sep 5, 2025
Merged

Feat: add the get_licensing_config method#137
bonnie57 merged 8 commits intomainfrom
PYSDK-48

Conversation

@bonnie57
Copy link
Contributor

@bonnie57 bonnie57 commented Sep 5, 2025

Description

  1. Add the get_licensing_config method
  2. Fix the set_licensing_config method
  3. Create LicensingConfigData data class
  4. Add unit tests and integration tests

Breaking change

  • Modify licensing_config signature from dict to LicensingConfig in the set_licensing_config method.
  • Modify return signature from dict|None to dict in the following methods:
    1. register_commercial_use_pil
    2. register_commercial_remix_pil

Test Plan

image

Issue

…cks and add unit tests for licensing hook registration
…te License class to utilize LicensingConfig for improved licensing configuration management
…Config class and update assertions for improved clarity and structure
…s and improve logging checks; enhance test structure by utilizing existing fixtures and updating assertions
…edicated validate_address function; enhance type hints in test cases for improved clarity
…ds for consistency; update licensing hook documentation for clarity
@bonnie57 bonnie57 merged commit f2a3f7a into main Sep 5, 2025
8 checks passed
@bonnie57 bonnie57 deleted the PYSDK-48 branch September 5, 2025 09:11
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