May 19, 2018 This video is unavailable. Watch Queue Queue. Watch Queue Queue. Dec 21, 2010 Cannot uplink to SG300-10 from another switch. My device was bricked and I was able to recover it using a recovery tool and recovery firmware version 1.0.0.3 but.
Nov 17, 2016 Download OpenEmu 2.0.4 for Windows. OpenEmu for Windows is an emulator that lets you play your most popular console games. Openemu 2.0.4.
Released:
Protocol Buffers (Protobuf) support for Uplink.
uplink-protobuf makes it easy to send and receive protobuf messages over HTTP.
This library is an Uplink plugin.
For any Consumer method that is expecting a protobuf encoded response,simply set the appropriate protobuf message type as the method's returnvalue annotation:
Then when invoked, the annotated method will appropriately decode theresponse into the specified message type:
For a Consumer method that needs to send a protobuf encoded request,simply annotate the appropriate method argument with uplink.Body:
Then when the method is invoked, the value of the annotated argument isautomatically encoded:
This library also supports converting JSON responses and requeststo and from protobuf messages.
uplink-protobuf can automatically convert JSON responses intoprotobuf messages if the Consumer method is annotated withreturns.from_json:
uplink-protobuf can automatically convert a protobuf message intoJSON request body if the Consumer method is annotated withuplink.json:
There are also a few decorators we provide that allows you to controlthe JSON conversion. These decorators are available through theuplink_protobuf.json_options submodule.
Here are options that can be used with @json, to controlthe conversion of protobuf messages to JSON objects:
@json_options.include_default_value_fields: This decoratorindicates that the JSON output should include fields with their defaultvalues. By default, default values are omitted if the field is not set.@json_options.preserve_proto_field_names: This decorator indicatesthat the JSON output should use the proto field names as the JSON names.By default, the JSON printer converts each proto field name tolowerCamelCase and uses that as the JSON name.@json_options.use_integers_for_enums: This decorator indicates thatthe JSON output should use the numerical value of a proto enum value,instead of the name of the enum value. By default, the name of anenum value is used in the JSON output.Next, Here are options that can be used with @returns.json, to controlthe conversion of JSON responses to protobuf messages:
@json_options.ignore_unknown_fields: This decorator indicatesthat the JSON parser should ignore unknown fields in parsing.By default, the JSON parser raises an error if it encountersan unknown field.Finally, here's an example of a Consumer that uses these options:
What is Protocol Buffers?
Checkout Google's official Protocol Buffers Developer Guide.
“LibreOffice” and “The Document Foundation” are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Libreoffice 5.2.0.4.
How do I install Google's protobuf compiler, protoc?
Checkout this guide for installation instructions with Macand Linux.
How do compile my .proto file using protoc?
Refer to this sectionin the offical Protocol Buffers Developer Guide.
What is Uplink?
It's a 'Declarative HTTP Client'. Checkout the library's GitHub repofor more.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
| Filename, size | File type | Python version | Upload date | Hashes |
|---|---|---|---|---|
| Filename, size uplink_protobuf-0.1.0-py2.py3-none-any.whl (6.7 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes |
| Filename, size uplink-protobuf-0.1.0.tar.gz (8.0 kB) | File type Source | Python version None | Upload date | Hashes |
| Algorithm | Hash digest |
|---|---|
| SHA256 | 69ab7485657f0a53bf1bcb57078555eb233a27feb63277374a56117e0e9f2e81 |
| MD5 | 2e6a5daedbf276ede063cf3caa85d240 |
| BLAKE2-256 | 83266ee21985b19cdcd04e57630a5baafddd2c833b7cbc978f3f0fb97bae2ba7 |
| Algorithm | Hash digest |
|---|---|
| SHA256 | aa7e1ae29f1c8c3720cd8e6582eceb4633e95a2c86248960532492a9e208ad62 |
| MD5 | 42929391e0e572868eaa276b3620e588 |
| BLAKE2-256 | 28d8cf52f9f50e0e425a750f704817cf330c857d3c6bfb96212dc693fa66c9f4 |