Mypy 1.8.0 Documentation
a fixed schema, such as {'id': 1, 'items': ['x']}. Here is a typical example: movie = {'name': 'Blade Runner', 'year': 1982} Only a fixed set of string keys is expected ('name' and 'year' above), and import TypedDict Movie = TypedDict('Movie', {'name': str, 'year': int}) movie: Movie = {'name': 'Blade Runner', 'year': 1982} Movie is a TypedDict type with two items: 'name' (with type str) and 'year'0 码力 | 234 页 | 902.89 KB | 1 年前3Mypy 1.10.0+dev Documentation
a fixed schema, such as {'id': 1, 'items': ['x']}. Here is a typical example: movie = {'name': 'Blade Runner', 'year': 1982} Only a fixed set of string keys is expected ('name' and 'year' above), and import TypedDict Movie = TypedDict('Movie', {'name': str, 'year': int}) movie: Movie = {'name': 'Blade Runner', 'year': 1982} Movie is a TypedDict type with two items: 'name' (with type str) and 'year'0 码力 | 318 页 | 270.84 KB | 1 年前3Mypy 1.8.0 Documentation
a fixed schema, such as {'id': 1, 'items': ['x']}. Here is a typical example: movie = {'name': 'Blade Runner', 'year': 1982} Only a fixed set of string keys is expected ('name' and 'year' above), and import TypedDict Movie = TypedDict('Movie', {'name': str, 'year': int}) movie: Movie = {'name': 'Blade Runner', 'year': 1982} Movie is a TypedDict type with two items: 'name' (with type str) and 'year'0 码力 | 318 页 | 271.55 KB | 1 年前3Mypy 1.10.0+dev Documentation
a fixed schema, such as {'id': 1, 'items': ['x']}. Here is a typical example: movie = {'name': 'Blade Runner', 'year': 1982} Only a fixed set of string keys is expected ('name' and 'year' above), and import TypedDict Movie = TypedDict('Movie', {'name': str, 'year': int}) movie: Movie = {'name': 'Blade Runner', 'year': 1982} 1.17. TypedDict 103 Mypy Documentation, Release 1.10.0+dev.790e8a73d86710 码力 | 234 页 | 913.89 KB | 1 年前3Flask Documentation (1.1.x)
the API section. Flask depends on the Jinja [https://www.palletsprojects.com/p/jinja/] template engine and the Werkzeug [https://www.palletsprojects.com/p/werkzeug/] WSGI toolkit. The documentation for interested. Design Decisions in Flask The Explicit Application Object The Routing System One Template Engine Micro with Dependencies Thread Locals What Flask is, What Flask is Not HTML/XHTML FAQ History of decisions for you, such as what database to use. Those decisions that it does make, such as what templating engine to use, are easy to change. Everything else is up to you, so that Flask can be everything you0 码力 | 428 页 | 895.98 KB | 1 年前3Flask Documentation (1.1.x)
of Flask in detail, with a full reference in the API section. Flask depends on the Jinja template engine and the Werkzeug WSGI toolkit. The documentation for these libraries can be found at: • Jinja documentation decisions for you, such as what database to use. Those decisions that it does make, such as what templating engine to use, are easy to change. Everything else is up to you, so that Flask can be everything you Unless you delib- erately mark insecure HTML as secure, Flask and the underlying Jinja2 template engine have you covered. But there are many more ways to cause security problems. The documentation will0 码力 | 291 页 | 1.25 MB | 1 年前3Jinja2 Documentation Release 2.10
DOCUMENTATION 1 2 CHAPTER 1 Introduction This is the documentation for the Jinja2 general purpose templating language. Jinja2 is a library for Python that is designed to be flexible, fast and secure. If parameter that can be one of those classes or a custom subclass of Undefined. Whenever the template engine is unable to look up a name or access an attribute one of those objects is created and returned. 3. exception jinja2.TemplateRuntimeError(message=None) A generic runtime error in the template engine. Under some situations Jinja may raise this exception. exception jinja2.TemplateAssertionError(message0 码力 | 148 页 | 475.08 KB | 1 年前3Tornado 4.5 Documentation
Static files and aggressive file caching Debug mode and automatic reloading WSGI and Google App Engine Introduction Tornado [http://www.tornadoweb.org] is a Python web framework and asynchronous networking method’s docstring for caveats). Templates and UI Tornado includes a simple, fast, and flexible templating language. This section describes that language as well as related issues such as internationalization the template language; we created it explicitly to provide the flexibility that other, stricter templating systems prevent. Consequently, if you write random stuff inside of your template expressions, you0 码力 | 333 页 | 322.34 KB | 1 年前3Tornado 4.5 Documentation
docstring for caveats). 4.1.6 Templates and UI Tornado includes a simple, fast, and flexible templating language. This section describes that language as well as related issues such as internationalization the template language; we created it explicitly to provide the flexibility that other, stricter templating systems prevent. Conse- quently, if you write random stuff inside of your template expressions some IDEs. WSGI and Google App Engine Tornado is normally intended to be run on its own, without a WSGI container. However, in some environments (such as Google App Engine), only WSGI is allowed and applications0 码力 | 222 页 | 833.04 KB | 1 年前3Tornado 5.1 Documentation
docstring for caveats). 5.1.6 Templates and UI Tornado includes a simple, fast, and flexible templating language. This section describes that language as well as related issues such as internationalization the template language; we created it explicitly to provide the flexibility that other, stricter templating systems prevent. Conse- quently, if you write random stuff inside of your template expressions Release 5.1.1 WSGI and Google App Engine Tornado is normally intended to be run on its own, without a WSGI container. However, in some environments (such as Google App Engine), only WSGI is allowed and applications0 码力 | 243 页 | 895.80 KB | 1 年前3
共 328 条
- 1
- 2
- 3
- 4
- 5
- 6
- 33