Skip to content

Commit 86e404e

Browse files
committed
Initial commit
1 parent 0ae9472 commit 86e404e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

appwrite/services/auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def logout_by_session(self, id):
3535
return self.client.call('delete', path, {
3636
}, params)
3737

38-
def oauth(self, provider, success='', failure=''):
38+
def oauth(self, provider, success, failure):
3939
"""OAuth Login"""
4040

4141
params = {}

appwrite/services/database.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ def list_collections(self, search='', limit=25, offset=0, order_type='ASC'):
1616
return self.client.call('get', path, {
1717
}, params)
1818

19-
def create_collection(self, name, readstring(4) ""[]""
20-
=[], writestring(4) ""[]""
21-
=[], rulesstring(4) ""[]""
22-
=[]):
19+
def create_collection(self, name, read, write, rules):
2320
"""Create Collection"""
2421

2522
params = {}

0 commit comments

Comments
 (0)