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

Lupl/adapter redesign #64

Merged
merged 2 commits into from
Aug 20, 2024
Merged

Lupl/adapter redesign #64

merged 2 commits into from
Aug 20, 2024

Conversation

lu-pl
Copy link
Contributor

@lu-pl lu-pl commented Aug 20, 2024

Closes: #38

@lu-pl lu-pl requested a review from b1rger August 20, 2024 11:35
@lu-pl lu-pl force-pushed the lupl/adapter-redesign branch 2 times, most recently from 789a42a to bc6c3ca Compare August 20, 2024 11:41
pyproject.toml Show resolved Hide resolved
@lu-pl lu-pl force-pushed the lupl/adapter-redesign branch from bc6c3ca to 24d05e9 Compare August 20, 2024 13:00
lu-pl added 2 commits August 20, 2024 15:16
The redesign introduces major class API changes:

1. Initialization now takes the endpoint, query and model class directly, this simplifies
class usage and allows for better state retention in the instance.

2. functionality previously defined in
SPARQLModelAdapter.__call__ is transposed to SPARQLModelAdapter.query.

Closes: #38.
@lu-pl lu-pl force-pushed the lupl/adapter-redesign branch from 24d05e9 to b0536ba Compare August 20, 2024 13:18
@b1rger b1rger self-requested a review August 20, 2024 13:21
@b1rger b1rger merged commit ec97bf1 into main Aug 20, 2024
7 checks passed
@lu-pl lu-pl deleted the lupl/adapter-redesign branch October 18, 2024 04:38
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.

Consider redesign of SPARQLModelAdapter
2 participants