mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2024-11-15 17:10:46 +00:00
repr method added to factory base
This commit is contained in:
parent
2c8659a4e5
commit
4de384c66c
@ -108,6 +108,12 @@ class FactoryBase(VbanCmd):
|
||||
def __str__(self) -> str:
|
||||
return f"Voicemeeter {self.kind}"
|
||||
|
||||
def __repr__(self):
|
||||
return (
|
||||
type(self).__name__
|
||||
+ f"({self.kind}, ip='{self.ip}', port={self.port}, streamname='{self.streamname}')"
|
||||
)
|
||||
|
||||
@property
|
||||
@abstractmethod
|
||||
def steps(self):
|
||||
|
Loading…
Reference in New Issue
Block a user