Use fire without exposing private members
Offen
- Vorherrschende Sprache
- Python
- Sterne
- 28.2k
- Forks
- 1.5k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
```python
import fire
class Calculator(object):
def add(self, x, y):
return x + y
def multiply(self, x, y):
return x * y
def _sub(self, x, y):# Privite method
return x -y
```
Now, i dont want to expose _sub method on cli, How can i do this. thanks..
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.