mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2025-07-18 02:01:46 +00:00
instantiate types
bump poethepoet
This commit is contained in:
parent
abbbf57982
commit
4953751c02
@ -16,7 +16,7 @@ dependencies = [
|
|||||||
packages = [{ include = "voicemeeterlib" }]
|
packages = [{ include = "voicemeeterlib" }]
|
||||||
|
|
||||||
[tool.poetry.requires-plugins]
|
[tool.poetry.requires-plugins]
|
||||||
poethepoet = "^0.32.1"
|
poethepoet = "^0.35.0"
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
[tool.poetry.group.dev.dependencies]
|
||||||
pytest = "^8.3.4"
|
pytest = "^8.3.4"
|
||||||
|
@ -96,7 +96,7 @@ class BusEQ(IRemote):
|
|||||||
Returns a BusEQ class.
|
Returns a BusEQ class.
|
||||||
"""
|
"""
|
||||||
kls = (cls,)
|
kls = (cls,)
|
||||||
return type(
|
BusEQ_cls = type(
|
||||||
'BusEQ',
|
'BusEQ',
|
||||||
kls,
|
kls,
|
||||||
{
|
{
|
||||||
@ -105,6 +105,7 @@ class BusEQ(IRemote):
|
|||||||
)
|
)
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
return BusEQ_cls(remote, i)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def identifier(self) -> str:
|
def identifier(self) -> str:
|
||||||
@ -136,7 +137,7 @@ class BusEQCh(IRemote):
|
|||||||
Returns a BusEQCh class.
|
Returns a BusEQCh class.
|
||||||
"""
|
"""
|
||||||
kls = (cls,)
|
kls = (cls,)
|
||||||
return type(
|
BusEQCh_cls = type(
|
||||||
'BusEQCh',
|
'BusEQCh',
|
||||||
kls,
|
kls,
|
||||||
{
|
{
|
||||||
@ -145,6 +146,7 @@ class BusEQCh(IRemote):
|
|||||||
)
|
)
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
return BusEQCh_cls(remote, i, j)
|
||||||
|
|
||||||
def __init__(self, remote, i, j):
|
def __init__(self, remote, i, j):
|
||||||
super().__init__(remote, i)
|
super().__init__(remote, i)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user