Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

fix: remove NotImplementedError from Service base class. #222

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

peterschutt
Copy link
Member

This requires the methods to have a default functionality, so:

  • list method returns an empty list
  • create, update/upsert methods return the object, untouched.
  • get and delete methods raise NotFoundError

closes #179

This requires the methods to have a default functionality, so:

- list method returns an empty list
- create, update/upsert methods return the object, untouched.
- get and delete methods raise NotFoundError

closes #179
@peterschutt peterschutt merged commit e0af274 into 0.24 Jan 11, 2023
@peterschutt peterschutt deleted the issue-179-service-baseclass branch January 11, 2023 03:24
@peterschutt peterschutt mentioned this pull request Jan 11, 2023
peterschutt added a commit that referenced this pull request Jan 11, 2023
This requires the methods to have a default functionality, so:

- list method returns an empty list
- create, update/upsert methods return the object, untouched.
- get and delete methods raise NotFoundError

closes #179
peterschutt added a commit that referenced this pull request Jan 11, 2023
This requires the methods to have a default functionality, so:

- list method returns an empty list
- create, update/upsert methods return the object, untouched.
- get and delete methods raise NotFoundError

closes #179
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant