This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var util = require('util'); | |
| var stream = require('stream'); | |
| var Readable = stream.Readable; | |
| var Writable = stream.Writable; | |
| var map = require('through2-map'); | |
| util.inherits(Producer, Readable); | |
| function Producer () { | |
| if(!(this instanceof Producer)) return new Producer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GET /v1/orders?id_user=007 | |
| OR | |
| GET /v1/orders?idUser=007 | |
| --------------------------------- | |
| POST /v1/orders {"id_user":"007"} | |
| OR | |
| POST /v1/orders {"idUser":"007"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tue Apr 19 11:58:40 UTC 2016 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from collections.abc import Callable | |
| from typing import Concatenate, Generic, ParamSpec, Protocol, TypeVar | |
| P = ParamSpec("P") | |
| Owner = TypeVar("Owner") | |
| Return = TypeVar("Return") | |
| class Runner(Generic[Owner, P, Return]): | |
| def __init__(self, owner: Owner, func: Callable[Concatenate[Owner, P], Return]): |
OlderNewer