mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2024-11-15 17:10:46 +00:00
remove redundant __str__ overrides
This commit is contained in:
parent
1e499cd99d
commit
d41ee1a12a
@ -135,18 +135,15 @@ class VbanInstream(VbanStream):
|
|||||||
|
|
||||||
|
|
||||||
class VbanAudioInstream(VbanInstream):
|
class VbanAudioInstream(VbanInstream):
|
||||||
def __str__(self):
|
"""Represents a VBAN Audio Instream"""
|
||||||
return f"{type(self).__name__}{self._remote.kind}{self.index}"
|
|
||||||
|
|
||||||
|
|
||||||
class VbanMidiInstream(VbanInstream):
|
class VbanMidiInstream(VbanInstream):
|
||||||
def __str__(self):
|
"""Represents a VBAN Midi Instream"""
|
||||||
return f"{type(self).__name__}{self._remote.kind}{self.index}"
|
|
||||||
|
|
||||||
|
|
||||||
class VbanTextInstream(VbanInstream):
|
class VbanTextInstream(VbanInstream):
|
||||||
def __str__(self):
|
"""Represents a VBAN Text Instream"""
|
||||||
return f"{type(self).__name__}{self._remote.kind}{self.index}"
|
|
||||||
|
|
||||||
|
|
||||||
class VbanOutstream(VbanStream):
|
class VbanOutstream(VbanStream):
|
||||||
@ -165,13 +162,11 @@ class VbanOutstream(VbanStream):
|
|||||||
|
|
||||||
|
|
||||||
class VbanAudioOutstream(VbanOutstream):
|
class VbanAudioOutstream(VbanOutstream):
|
||||||
def __str__(self):
|
"""Represents a VBAN Audio Outstream"""
|
||||||
return f"{type(self).__name__}{self._remote.kind}{self.index}"
|
|
||||||
|
|
||||||
|
|
||||||
class VbanMidiOutstream(VbanOutstream):
|
class VbanMidiOutstream(VbanOutstream):
|
||||||
def __str__(self):
|
"""Represents a VBAN Midi Outstream"""
|
||||||
return f"{type(self).__name__}{self._remote.kind}{self.index}"
|
|
||||||
|
|
||||||
|
|
||||||
def _make_stream_pair(remote, kind):
|
def _make_stream_pair(remote, kind):
|
||||||
|
Loading…
Reference in New Issue
Block a user