E58C handle delete as it is in the api · ptarjan/python-oauth@b339a86 · GitHub
[go: up one dir, main page]

Skip to content

Commit b339a86

Browse files
committed
handle delete as it is in the api
1 parent 636abc6 commit b339a86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

oauth/db/inmemory.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ def get_key(self):
1515
@staticmethod
1616
def get(key):
1717
return users[key]
18+
def delete(self):
19+
del users[key]
1820
def save(self):
1921
if not self.primary_key:
2022
import string

0 commit comments

Comments
 (0)
0