We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8ce906 commit 2cc6454Copy full SHA for 2cc6454
examples/example2.py
@@ -22,7 +22,7 @@ async def main():
22
print("Ended.")
23
# An explicit close is necessary to stop the stream
24
# or use async context manager like in example4.py
25
- w.close()
+ await w.close()
26
27
28
if __name__ == '__main__':
kubernetes_asyncio/utils/create_from_yaml.py
@@ -70,7 +70,7 @@ async def create_from_yaml(
70
**kwargs)
71
k8s_objects.append(created)
72
except FailToCreateError as failure:
73
- api_exceptions.extend(failure)
+ api_exceptions.append(failure)
74
75
# In case we have exceptions waiting for us, raise them
76
if api_exceptions:
0 commit comments