Comments (3)
The return type of these api are dynamically generated class from the swagger specs.
So it's kinda hard to document. Cause when I doc a rtype like :rtype: etcdserverpbSnapshotResponse
is not pointing to any code.
Maybe I can manage to hardcode those model classes in the future ๐ . Or make a live document use swagger UI.
For now, you can view these document using swagger HUB:
-
https://app.swaggerhub.com/apis-docs/Revol/etcd3-rpc.proto/3.3
-
https://app.swaggerhub.com/apis-docs/Revol/etcd3-v3lock.proto/3.3
-
https://app.swaggerhub.com/apis-docs/Revol/etcd3-v3election.proto/3.3
from etcd3-py.
...can I ask why protobufs are even involved? They're not part of the etcd API, are they?
from etcd3-py.
https://github.com/etcd-io/etcd/blob/master/Documentation/dev-guide/api_grpc_gateway.md
etcd v3 uses gRPC for its messaging protocol. The etcd project includes a gRPC-based Go client and a command line utility, etcdctl, for communicating with an etcd cluster through gRPC. For languages with no gRPC support, etcd provides a JSON gRPC gateway. This gateway serves a RESTful proxy that translates HTTP/JSON requests into gRPC messages.
from etcd3-py.
Related Issues (20)
- setting a watch fails with AttributeError: 'ModelizedStreamResponse' object has no attribute 'raw' HOT 10
- AttributeError: 'Client' object has no attribute 'server_version_sem' HOT 2
- ErrUserEmpty error:'etcdserver: user name is empty, code:3' HOT 6
- self cancelling watcher HOT 8
- Are you aware of https://github.com/dims/etcd3-gateway ? HOT 9
- Don't fail on large requests HOT 9
- the AioClient has an exceptiion with call range() function HOT 2
- Unclosed client session HOT 3
- Package name collision when installing it with pypi HOT 3
- Does long running lead to high loads with โWatcher() APIโ HOT 4
- Timeout HOT 2
- lease instance can not be awaited HOT 4
- use Lock in python 2.6 will cause "error: release unlocked lock" problem HOT 2
- when connect etcd-3.4.7, etcd3-py dont work HOT 2
- Install fails using pip>=20.1 HOT 3
- Swagger cache fills itself up without boundaries HOT 3
- Implement `get` function in KVAPI class
- I've got no time to maintain this lib HOT 1
- AttributeError: 'AioClient' object has no attribute 'server_version_sem' My Network Problems? Why?
- 0.3s is too short to get etcd version for my scenario and always timeout.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from etcd3-py.