dreamlab / asyncopenstackclient Goto Github PK
View Code? Open in Web Editor NEWAsyncio wrapper to OpenStack API
License: Apache License 2.0
Asyncio wrapper to OpenStack API
License: Apache License 2.0
Allow to create session based on OpenStack env variables (all arguments should be optional):
While calling method, which is designed to return no response (servers.force_delete
for example) JSONDecodeError is being raised:
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Expecting value: line 1 column 1 (char 0)
This is caused by OpenStack sending header Content-Type: application/json
in response, but without any body. This leads simple-rest-client
to loading json from empty string, which fails
Maybe create some sort of Resource (of python-simple-rest-client) that will handle passing arguments and fetching data.
Current usage:
servers = await self.nova.api.servers.list(params={'name': '^my'})
for server in servers.body["servers"]:
print(server)
Expected usage:
servers = await self.nova.api.servers.list(name='^my')
for server in servers:
print(server)
Since most of community already adapted this naming convention, I think it might be easier to find this lib under name aiopenstack
for new users.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.