mirror of
https://github.com/rio-labs/rio.git
synced 2026-02-13 17:18:29 -06:00
fix private methods being displayed in the docs
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
__version__ = "0.6.5"
|
||||
__version__ = "0.6.6"
|
||||
|
||||
import logging
|
||||
|
||||
|
||||
@@ -291,5 +291,10 @@ class NumberInput(Component):
|
||||
return self._text_input
|
||||
|
||||
async def grab_keyboard_focus(self) -> None:
|
||||
"""
|
||||
## Metadata
|
||||
|
||||
public: False
|
||||
"""
|
||||
if self._text_input is not None:
|
||||
await self._text_input.grab_keyboard_focus()
|
||||
|
||||
@@ -334,7 +334,7 @@ def postprocess_class_docs(docs: imy.docstrings.ClassDocs) -> None:
|
||||
keep = False
|
||||
|
||||
# Check if it's explicitly excluded
|
||||
if not docs.metadata.public:
|
||||
if not func.metadata.public:
|
||||
keep = False
|
||||
|
||||
# Strip it out, if necessary
|
||||
|
||||
@@ -22,7 +22,7 @@ def main() -> None:
|
||||
|
||||
# Make sure there are no uncommitted changes
|
||||
process = subprocess.run(
|
||||
["git", "status", "--porcelain"],
|
||||
["git", "status", "--porcelain", "--untracked-files=no"],
|
||||
check=True,
|
||||
capture_output=True,
|
||||
text=True,
|
||||
|
||||
Reference in New Issue
Block a user