Skip to content

Commit

Permalink
remove @_unstable from __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 committed Dec 5, 2024
1 parent ff92685 commit ca5f3e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions tests/stubs_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ def visit_ClassDef(self, node: ast.ClassDef):
self.current_cls = None

def visit_FunctionDef(self, node: ast.FunctionDef):
if node.name == "_unstable":
return
func = getattr(self.current_cls or self.module, node.name)
if node.name.startswith("__") or node.name.endswith("serializer"):
pass
Expand Down
4 changes: 0 additions & 4 deletions zenoh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,3 @@
from . import ext
except ImportError:
pass


def _unstable(item):
return item

0 comments on commit ca5f3e8

Please sign in to comment.