Skip to content

Commit

Permalink
chore: Remove deprecated comment and set version after tests to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
elchicodepython committed Apr 27, 2023
1 parent b52c2c9 commit bfedebf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 26 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ client.table_row_delete(project, table_name, row_id)

### Using custom filters

Nocodb is evolving and new operators are comming with each release.
Nocodb is evolving and new operators are coming with each release.

Most of the basic operations are inside this package but you could need some new
feature that could not be added yet.
Expand Down
2 changes: 1 addition & 1 deletion nocodb/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.0a2"
__version__ = "2.0.0"
23 changes: 0 additions & 23 deletions nocodb/nocodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,29 +54,6 @@ def get_where(self) -> str:
pass


"""This could be great but actually I don't know how to join filters in the
NocoDB DSL. I event don't know if this is possible through the current API.
I hope they add docs about it soon.
class NocoDBWhere:
def __init__(self):
self.__filter_array: List[WhereFilter] = []
def add_filter(self, where_filter: WhereFilter) -> NocoDBWhere:
self.__filter_array.append(
where_filter
)
return self
def get_where(self) -> str:
return '&'.join([filter_.get_where() for filter_ in self.__filter_array])
def __str__(self):
return f'Where: "{self.get_where()}"'
"""


class NocoDBProject:
def __init__(self, org_name: str, project_name: str):
self.project_name = project_name
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='nocodb',
version='2.0.0a2',
version='2.0.0',
author='Samuel López Saura',
author_email='samuellopezsaura@gmail.com',
packages=find_packages(),
Expand Down

0 comments on commit bfedebf

Please sign in to comment.