Flask-RESTful Documentation Release 0.3.10apply to matching requests. def cache(f): @wraps(f) def cacher(*args, **kwargs): # caching stuff return cacher class MyResource(restful.Resource): method_decorators = {'get': [cache]} post(self, *args, **kwargs): return create_something(*args, **kwargs) In this case, the caching decorator would only apply to the GET request and not the POST request. Since Flask-RESTful Resources0 码力 | 42 页 | 84.60 KB | 1 年前3
Click Documentation
Release 4.2.dev0on the mode. By default, the file is opened for reading text data, but it can also be opened in binary mode or for writing. The encoding parameter can be used to force a specific encoding. The lazy flag invoke() method runs the command line script in isolation and captures the output as both bytes and binary data. The return value is a Result object, which has the captured output data, exit code, and optional Example: import click click.echo('Hello World!') Most importantly, it can print both Unicode and binary data, unlike the built-in print function in Python 3, which cannot output any bytes. It will, however0 码力 | 101 页 | 407.32 KB | 1 年前3
PlantUML 1.2020.22 Guide de référence du langageclock: A 'clocked' signal that repeatedly transitions from high to low • binary: A specific signal restricted to only 2 states (binary). Les changements d'état sont notifiés avec la notation @ et le verbe signaux binaires It's also possible to have binary and clock signal, using the following keywords: • binary • clock @startuml clock clk with period 1 binary "Enable" as EN @0 EN is low @5 EN is high keyword and starting the name with a :. @XX as :@startuml clock clk with period 1 binary "enable" as EN concise "dataBus" as db @0 as :start @5 as :en_high @10 as :en_low @:start EN is 0 码力 | 295 页 | 3.03 MB | 1 年前3
PlantUML 1.2020.23 Guide de référence du langageclock: A 'clocked' signal that repeatedly transitions from high to low • binary: A specific signal restricted to only 2 states (binary). Les changements d'état sont notifiés avec la notation @ et le verbe signaux binaires It's also possible to have binary and clock signal, using the following keywords: • binary • clock @startuml clock clk with period 1 binary "Enable" as EN @0 EN is low @5 EN is high keyword and starting the name with a :. @XX as :@startuml clock clk with period 1 binary "enable" as EN concise "dataBus" as db @0 as :start @5 as :en_high @10 as :en_low @:start EN is 0 码力 | 308 页 | 3.12 MB | 1 年前3
PlantUML 1.2023.11 Guide de référence du langageclock: Un signal qui transitionne de façon répétée entre les états haut et bas à rythme régulier. • binary: Un signal spécifique restreint à seulement deux états (binaire). Les changements d’état sont notifiés signaux binaires It’s also possible to have binary and clock signal, using the following keywords: • binary • clock @startuml clock clk with period 1 binary "Enable" as EN @0 Guide de référence du langage et en commençant le nom par un : @XX as :@startuml clock clk with period 1 binary "enable" as EN concise "dataBus" as db @0 as :start @5 as :en_high @10 as :en_low @:en_high-2 as 0 码力 | 534 页 | 7.56 MB | 1 年前3
PlantUML 1.2021.1 Guide de référence du langageclock: A ’clocked’ signal that repeatedly transitions from high to low • binary: A specific signal restricted to only 2 states (binary). Les changements d’état sont notifiés avec la notation @ et le verbe signaux binaires It’s also possible to have binary and clock signal, using the following keywords: • binary • clock @startuml clock clk with period 1 binary "Enable" as EN @0 EN is low @5 EN is high keyword and starting the name with a :. @XX as :@startuml clock clk with period 1 binary "enable" as EN concise "dataBus" as db @0 as :start @5 as :en_high @10 as :en_low @:start EN is 0 码力 | 385 页 | 4.05 MB | 1 年前3
PlantUML 1.2021.2 Guide de référence du langageclock: A ’clocked’ signal that repeatedly transitions from high to low • binary: A specific signal restricted to only 2 states (binary). Les changements d’état sont notifiés avec la notation @ et le verbe signaux binaires It’s also possible to have binary and clock signal, using the following keywords: • binary • clock @startuml clock clk with period 1 binary "Enable" as EN @0 EN is low @5 EN is high keyword and starting the name with a :. @XX as :@startuml clock clk with period 1 binary "enable" as EN concise "dataBus" as db @0 as :start @5 as :en_high @10 as :en_low @:start EN is 0 码力 | 391 页 | 4.10 MB | 1 年前3
PlantUML 1.2021.3 Guide de référence du langageclock: A ’clocked’ signal that repeatedly transitions from high to low • binary: A specific signal restricted to only 2 states (binary). Les changements d’état sont notifiés avec la notation @ et le verbe signaux binaires It’s also possible to have binary and clock signal, using the following keywords: • binary • clock @startuml clock clk with period 1 binary "Enable" as EN @0 EN is low @5 EN is high keyword and starting the name with a :. @XX as :@startuml clock clk with period 1 binary "enable" as EN concise "dataBus" as db @0 as :start @5 as :en_high @10 as :en_low @:start EN is 0 码力 | 406 页 | 4.24 MB | 1 年前3
Référence Debian v2.124partir d’un ensemble de paquets source (« *.orig.tar.gz » et « *.debian.tar.gz”/”*.diff.gz ») debuild binary construire des paquets depuis une arborescence source locale make-kpkg kernel_image construire un tels que « http://deb.debian.org/debian/dists/binstable/main/binary-amd64/Release » ou « http://deb.debian.org/debian/dists/sid/main/binary-amd64/Release » comme suit : Archive: unstable Origin: Debian y a une ligne supplémentaire, par exemple « http://deb.debian.org/debian/dists/experimental/main/binary-amd64/Release » comme suit : Archive: experimental Origin: Debian Label: Debian NotAutomatic: yes0 码力 | 279 页 | 1.47 MB | 1 年前3
共 9 条
- 1













