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

Remove (TypeCheck|SubjectType|PredicateType|ObjectType)Error and related #1640

Merged

Conversation

aucampia
Copy link
Member

@aucampia aucampia commented Jan 1, 2022

Also remove
check_(context|subject|predicate|object|statement|pattern).

It seems nothing is using these exceptions and functions.

Technically this does remove parts of the public API, but I would argue
they are "buggy" parts as anything that use them would be sorely
disappointed to find that the behaviour is not as expect, and these
functions/exceptions don't serve any function related to the aim of
RDFLib unless they are integrated with the rest of RDFLib.

I'm not sure this is the best approach, so any other options are welcome. Fixes #1641

@aucampia aucampia closed this Jan 1, 2022
@aucampia aucampia reopened this Jan 1, 2022
@aucampia aucampia marked this pull request as draft January 1, 2022 11:44
@aucampia aucampia changed the title Remove (TypeCheck|SubjectType|PredicateType|ObjectType)Error and re… Remove (TypeCheck|SubjectType|PredicateType|ObjectType)Error and related Apr 4, 2022
@aucampia aucampia force-pushed the iwana-20220101T0023-broken_test_type_check branch 2 times, most recently from 408399f to 2f6316e Compare April 4, 2022 19:53
@aucampia aucampia marked this pull request as ready for review April 4, 2022 19:53
@aucampia aucampia requested a review from a user April 14, 2022 17:56
@aucampia aucampia force-pushed the iwana-20220101T0023-broken_test_type_check branch from 2f6316e to 6460fbb Compare April 14, 2022 18:04
…lated

Also remove
`check_(context|subject|predicate|object|statement|pattern)`.

It seems nothing is using these exceptions and functions.

Technically this does remove parts of the public API, but I would argue
they are "buggy" parts as anything that use them would be sorely
disappointed to find that the behaviour is not as expect, and these
functions/exceptions don't serve any function related to the aim of
RDFLib unless they are integrated with the rest of RDFLib.
@aucampia aucampia force-pushed the iwana-20220101T0023-broken_test_type_check branch from 6460fbb to 436bc1e Compare April 14, 2022 18:05
@nicholascar
Copy link
Member

I don't recall ever knowing or caring about these tests so I'm happy for them to be removed.

@aucampia aucampia merged commit ebba08e into RDFLib:master Apr 15, 2022
@aucampia aucampia deleted the iwana-20220101T0023-broken_test_type_check branch April 9, 2023 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

{TypeCheck,SubjectType,PredicateType,ObjectType}Error and related are not being used
2 participants