MCPcopy Create free account
hub / github.com/python-cmd2/cmd2 / __init__

Method __init__

tests/test_commandset.py:1025–1026  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1023 # Define an arbitrary class with some attribute
1024 class Arbitrary:
1025 def __init__(self) -> None:
1026 self.some_value = 5
1027
1028 # Declare a CommandSet with a settable of some arbitrary property
1029 class WithSettablesA(CommandSetBase):

Callers 15

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected