Skip to content

Refactor register_pil_terms Function to Use LicenseTermsInput Parameter #178

@bonnie57

Description

@bonnie57

The current register_pil_terms function accepts multiple individual parameters, resulting in lengthy parameter lists that reduce code readability and maintainability. Introduce a LicenseTermsInput dataclass to encapsulate all term parameters, simplifying the function signature:

 def register_pil_terms(terms:LicenseTermsInput )

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions