Bugfix.
This commit is contained in:
parent
dec19669cd
commit
a7ce1059f1
@ -25,10 +25,12 @@ class RPC:
|
||||
self.__dict__.update(msg)
|
||||
|
||||
def __iter__(self):
|
||||
yield from self.__dict__.get("data", [])
|
||||
for k in self.__dict__.get("data", []):
|
||||
yield k
|
||||
|
||||
async def __aiter__(self):
|
||||
yield from self.__dict__.get("data", [])
|
||||
for k in self.__dict__.get("data", []):
|
||||
yield k
|
||||
|
||||
def __getitem__(self, name):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user