Skip to content

Commit 81f69d7

Browse files
committed
Initial commit
1 parent 10c65de commit 81f69d7

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

appwrite/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def __init__(self):
77
self._endpoint = 'https://appwrite.io/v1'
88
self._global_headers = {
99
'content-type': '',
10-
'x-sdk-version': 'appwrite:python:1.0.2',
10+
'x-sdk-version': 'appwrite:python:1.0.3',
1111
}
1212

1313
def set_self_signed(self, status=True):

appwrite/services/database.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ def get_collection(self, collection_id):
4242
'content-type': 'application/json',
4343
}, params)
4444

45-
def update_collection(self, collection_id, name, readstring(4) ""[]""
46-
=[], writestring(4) ""[]""
47-
=[], rulesstring(4) ""[]""
45+
def update_collection(self, collection_id, name, read, write, rulesstring(4) ""[]""
4846
=[]):
4947
"""Update Collection"""
5048

appwrite/services/storage.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ def list_files(self, search='', limit=25, offset=0, order_type='ASC'):
1717
'content-type': 'application/json',
1818
}, params)
1919

20-
def create_file(self, files, readstring(4) ""[]""
21-
=[], writestring(4) ""[]""
22-
=[], folder_id=''):
20+
def create_file(self, files, read, write, folder_id=''):
2321
"""Create File"""
2422

2523
params = {}

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
setup(
44
name = 'appwrite',
55
packages = ['appwrite'],
6-
version = '1.0.2',
6+
version = '1.0.3',
77
license='BSD-3-Clause',
88
description = 'Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)',
99
author = 'Appwrite Team',
1010
author_email = 'team@appwrite.io',
1111
maintainer = 'Appwrite Team',
1212
maintainer_email = 'team@appwrite.io',
1313
url = 'https://appwrite.io/support',
14-
download_url='https://github.com/appwrite/sdk-for-python/archive/1.0.2.tar.gz',
14+
download_url='https://github.com/appwrite/sdk-for-python/archive/1.0.3.tar.gz',
1515
# keywords = ['SOME', 'MEANINGFULL', 'KEYWORDS'],
1616
install_requires=[
1717
'requests',

0 commit comments

Comments
 (0)