Skip to content

Commit bfedebf

Browse files
chore: Remove deprecated comment and set version after tests to 2.0.0
1 parent b52c2c9 commit bfedebf

File tree

4 files changed

+3
-26
lines changed

4 files changed

+3
-26
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ client.table_row_delete(project, table_name, row_id)
143143

144144
### Using custom filters
145145

146-
Nocodb is evolving and new operators are comming with each release.
146+
Nocodb is evolving and new operators are coming with each release.
147147

148148
Most of the basic operations are inside this package but you could need some new
149149
feature that could not be added yet.

nocodb/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.0.0a2"
1+
__version__ = "2.0.0"

nocodb/nocodb.py

-23
Original file line numberDiff line numberDiff line change
@@ -54,29 +54,6 @@ def get_where(self) -> str:
5454
pass
5555

5656

57-
"""This could be great but actually I don't know how to join filters in the
58-
NocoDB DSL. I event don't know if this is possible through the current API.
59-
I hope they add docs about it soon.
60-
61-
class NocoDBWhere:
62-
63-
def __init__(self):
64-
self.__filter_array: List[WhereFilter] = []
65-
66-
def add_filter(self, where_filter: WhereFilter) -> NocoDBWhere:
67-
self.__filter_array.append(
68-
where_filter
69-
)
70-
return self
71-
72-
def get_where(self) -> str:
73-
return '&'.join([filter_.get_where() for filter_ in self.__filter_array])
74-
75-
def __str__(self):
76-
return f'Where: "{self.get_where()}"'
77-
"""
78-
79-
8057
class NocoDBProject:
8158
def __init__(self, org_name: str, project_name: str):
8259
self.project_name = project_name

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name='nocodb',
6-
version='2.0.0a2',
6+
version='2.0.0',
77
author='Samuel López Saura',
88
author_email='samuellopezsaura@gmail.com',
99
packages=find_packages(),

0 commit comments

Comments
 (0)