Use fire without exposing private members
Aperta
- Lingua principale
- Python
- Stelle
- 28.2k
- Fork
- 1.5k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
```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..
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.