PlantUML 1.2019.9 Guide de référence du langage
URL, so you don't need !includeurl • Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have Function names must start with a $ • Argument names must start with a $ • Void functions can call other void functions Example: @startuml !function msg($source, $destination) $source --> $destination langage PlantUML (1.2019.9) 148 / 173 19.5 Return function 19 PREPROCESSING Variables defined in functions are local. It means that the variable is destroyed when the function ends. 19.5 Return function0 码力 | 174 页 | 1.93 MB | 1 年前3PlantUML 1.2019.6 Guide de référence du langage
URL, so you don't need !includeurl • Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have created outside function are global, that is you can access to them from everywhere (including from functions). You can emphasize this by using the optional global keyword when defining a variable. @startuml Function name should start by a $ • Argument names should start by a $ • Void functions can call other void functions Example: @startuml !function msg($source, $destination) $source --> $destination0 码力 | 174 页 | 1.91 MB | 1 年前3PlantUML 1.2020.22 Guide de référence du langage
listing is in color.) • Study the in-depth Hitchhiker’s Guide to PlantUML, eg sections Standard Library Sprites and PlantUML Stdlib Overview Guide de référence du langage PlantUML (1.2020.22) 247 / 294 URL, so you don't need !includeurl • Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have Boolean builtin functions [%false(), %true(), %not()] For convenience, you can use those boolean builtin functions: • %false() • %true() • %not( ) [See also Builtin functions] 20.4 Conditions 0 码力 | 295 页 | 3.03 MB | 1 年前3PlantUML 1.2020.23 Guide de référence du langage
listing is in color.) • Study the in-depth Hitchhiker’s Guide to PlantUML, eg sections Standard Library Sprites and PlantUML Stdlib Overview Guide de référence du langage PlantUML (1.2020.23) 260 / 307 URL, so you don't need !includeurl • Some features (like %date%) have been replaced by builtin functions (for example %date()) • When calling a legacy !definelong macro with no arguments, you do have Boolean builtin functions [%false(), %true(), %not()] For convenience, you can use those boolean builtin functions: • %false() • %true() • %not( ) [See also Builtin functions] 20.4 Conditions 0 码力 | 308 页 | 3.12 MB | 1 年前3Flask-RESTful Documentation Release 0.3.10
http://localhost:5000/todo2 {"todo2": "Change my brakepads"} Or from python if you have the requests library installed: >>> from requests import put, get >>> put('http://localhost:5000/todo1', data={'data': Flask-RESTful has built-in support for request data validation using a library similar to argparse [http://docs.python.org/dev/library/argparse.html]. from flask_restful import reqparse parser = reqparse cannot be converted to int'} The inputs module provides a number of included common conversion functions such as inputs.date() and inputs.url(). Calling parse_args with strict=True ensures that an error0 码力 | 42 页 | 84.60 KB | 1 年前3PlantUML 1.2021.1 Guide de référence du langage
[Ref. QA-12056] 12.5 Using Sprites You can use all sprites (icons) from the Standard Library or any other library. Use the notation <$sprite> to use a sprite, to make a new line, or any other Creole Archimate Macros and Library A list of Archimate macros are defined Archimate-PlantUML here which simplifies the creation of Archi- Mate diagrams, and Archimate is natively on the Standard Library of PlantUML listing is in color.) • Study the in-depth Hitchhiker’s Guide to PlantUML, eg sections Standard Library Sprites and PlantUML Stdlib Overview 22.6 Listing Sprites You can use the listsprites command to0 码力 | 385 页 | 4.05 MB | 1 年前3PlantUML 1.2021.2 Guide de référence du langage
[Ref. QA-12056] 13.5 Using Sprites You can use all sprites (icons) from the Standard Library or any other library. Use the notation <$sprite> to use a sprite, to make a new line, or any other Creole Archimate Macros and Library A list of Archimate macros are defined Archimate-PlantUML here which simplifies the creation of Archi- Mate diagrams, and Archimate is natively on the Standard Library of PlantUML listing is in color.) • Study the in-depth Hitchhiker’s Guide to PlantUML, eg sections Standard Library Sprites and PlantUML Stdlib Overview 23.6 Listing Sprites You can use the listsprites command to0 码力 | 391 页 | 4.10 MB | 1 年前3PlantUML 1.2021.3 Guide de référence du langage
[Ref. QA-12056] 13.5 Using Sprites You can use all sprites (icons) from the Standard Library or any other library. Use the notation <$sprite> to use a sprite, to make a new line, or any other Creole Archimate Macros and Library A list of Archimate macros are defined Archimate-PlantUML here which simplifies the creation of Archi- Mate diagrams, and Archimate is natively on the Standard Library of PlantUML listing is in color.) • Study the in-depth Hitchhiker’s Guide to PlantUML, eg sections Standard Library Sprites and PlantUML Stdlib Overview 23.6 Listing Sprites You can use the listsprites command to0 码力 | 406 页 | 4.24 MB | 1 年前3PlantUML 1.2023.11 Guide de référence du langage
[Ref. QA-12056] 13.5 Using Sprites You can use all sprites (icons) from the Standard Library or any other library. Use the notation <$sprite> to use a sprite, to make a new line, or any other Creole Archimate Macros and Library A list of Archimate macros are defined Archimate-PlantUML here which simplifies the creation of Archi- Mate diagrams, and Archimate is natively on the Standard Library of PlantUML start a project, a task or a milestone a number of days before or after today, using the builtin functions %now and %date: @startgantt title Today is %date("YYYY-MM-dd") !$now = %now() !$past = %date("YYYY-MM-dd"0 码力 | 534 页 | 7.56 MB | 1 年前3Click Documentation Release 4.2.dev0
exit. You can get the library directly from PyPI: pip install click 2 Contents CHAPTER 1 Documentation This part of the documentation guides you through all of the library’s usage patterns. 1.1 look at them if you enjoy them better. The obvious ones are optparse and argparse from the standard library. Click is actually implemented as a wrapper around a mild fork of optparse and does not implement composability in a way like Click. To the best of the developer’s knowledge, Click is the first Python library that aims to create a level of composability of applications that goes beyond what the system itself0 码力 | 101 页 | 407.32 KB | 1 年前3
共 17 条
- 1
- 2