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

Use the property built-in as a decorator #1703

Merged

Commits on Feb 8, 2022

  1. Use the property built-in as a decorator

    The use of the `property` built-in as a function does not allow for
    the same type annotations as using `property` as a decorator.
    
    This change should not affect runtime behaviour, but I added tests to
    cover all properties that were changed to decorators explicitly just to
    make sure they work as they should.
    
    There are still other places where the `property` built-in is used as a
    function but this is outside of the core parts of RDFLib.
    aucampia committed Feb 8, 2022
    Configuration menu
    Copy the full SHA
    f0a16af View commit details
    Browse the repository at this point in the history