Mypy 1.8.0 Documentation"list[Literal[19]]" Intelligent indexing We can use Literal types to more precisely index into structured heterogeneous types such as tuples, NamedTuples, and TypedDicts. This feature is known as intelligent with sections later in the configuration file overriding sections earlier. 4. Sections with “well-structured” wildcard patterns (foo.bar.*), with more specific overriding more gen- eral. 5. Command line options. 6. Top-level configuration file options. The difference in precedence order between “structured” patterns (by specificity) and “unstructured” patterns (by order in the file) is unfortunate, and0 码力 | 234 页 | 902.89 KB | 1 年前3
Mypy 1.10.0+dev Documentation"list[Literal[19]]" Intelligent indexing We can use Literal types to more precisely index into structured heterogeneous types such as tuples, NamedTuples, and TypedDicts. This feature is known as intelligent sections later in the configuration file overriding sections earlier. 4. Sections with “well-structured” wildcard patterns (foo.bar.*), with more specific overriding more general. 5. Command line options options. 6. Top-level configuration file options. The difference in precedence order between “structured” patterns (by specificity) and “unstructured” patterns (by order in the file) is unfortunate, and0 码力 | 318 页 | 270.84 KB | 1 年前3
Mypy 1.8.0 Documentation"list[Literal[19]]" Intelligent indexing We can use Literal types to more precisely index into structured heterogeneous types such as tuples, NamedTuples, and TypedDicts. This feature is known as intelligent sections later in the configuration file overriding sections earlier. 4. Sections with “well-structured” wildcard patterns (foo.bar.*), with more specific overriding more general. 5. Command line options options. 6. Top-level configuration file options. The difference in precedence order between “structured” patterns (by specificity) and “unstructured” patterns (by order in the file) is unfortunate, and0 码力 | 318 页 | 271.55 KB | 1 年前3
Mypy 1.10.0+dev Documentation79bfb2bc292.dirty Intelligent indexing We can use Literal types to more precisely index into structured heterogeneous types such as tuples, NamedTuples, and TypedDicts. This feature is known as intelligent with sections later in the configuration file overriding sections earlier. 4. Sections with “well-structured” wildcard patterns (foo.bar.*), with more specific overriding more gen- eral. 5. Command line options. 6. Top-level configuration file options. The difference in precedence order between “structured” patterns (by specificity) and “unstructured” patterns (by order in the file) is unfortunate, and0 码力 | 234 页 | 913.89 KB | 1 年前3
Flask Documentation (1.1.x)break because there is no request object. The solution is creating a request object yourself and binding it to the context. The easiest solution for unit testing is to use the test_request_context() context any particular project or code layout. However, when first starting, it’s helpful to use a more structured approach. This means that the tutorial will require a bit of boilerplate up front, but it’s done for larger applications it’s a good idea to use a package instead of a module. The tutorial is structured to use the package pattern, see the example code [https://github.com/pallets/flask/tree/1.1.4/examples/tutorial]0 码力 | 428 页 | 895.98 KB | 1 年前3
Flask Documentation (1.1.x)break because there is no request object. The solution is creating a request object yourself and binding it to the context. The easiest solution for unit testing is to use the test_request_context() context any particular project or code layout. However, when first starting, it’s helpful to use a more structured approach. This means that the tutorial will require a bit of boilerplate up front, but it’s done for larger applications it’s a good idea to use a package instead of a module. The tutorial is structured to use the package pattern, see the example code. Simple Packages To convert that into a larger0 码力 | 291 页 | 1.25 MB | 1 年前3
PyMuPDF 1.12.2 documentation6. index next | previous | PyMuPDF 1.12.2 documentation » Introduction PyMuPDF is a Python binding for MuPDF - “a lightweight PDF and XPS viewer”. MuPDF can access files in PDF, XPS, OpenXPS, CBZ are files with extensions *.pdf, *.xps, *.oxps, *.cbz, *.fb2 or *.epub (so in essence, with this binding you can develop e-book viewers in Python …). PyMuPDF provides access to many important functions variable width. TEXT_PRESERVE_IMAGES 4 - If this option is set, then images will be stored in the structured text structure. The default is to ignore all images. Link Destination Kinds Possible values of0 码力 | 387 页 | 2.70 MB | 1 年前3
peewee Documentation
Release 3.5.0particularly if you use SQLite. apsw [https://github.com/rogerbinns/apsw]: an optional 3rd-party SQLite binding offering greater performance and much, much saner semantics than the standard library pysqlite. Use 'last_name'), True), # Note the trailing comma! ) Advanced Index Creation Peewee supports a more structured API for declaring indexes on a model using the Model.add_index() method or by directly using the key/value store. With hstore, you can store arbitrary key/value pairs in your database alongside structured relational data. To use hstore, you need to specify an additional parameter when instantiating0 码力 | 347 页 | 380.80 KB | 1 年前3
peewee Documentation Release 3.4.0particularly if you use SQLite. apsw [https://github.com/rogerbinns/apsw]: an optional 3rd-party SQLite binding offering greater performance and much, much saner semantics than the standard library pysqlite. Use us to create recursive queries. This is enormously advantageous for working with tree and graph-structured data - imagine retrieving all of the relations of a graph node to a given depth, for example. 'last_name'), True), # Note the trailing comma! ) Advanced Index Creation Peewee supports a more structured API for declaring indexes on a model using the Model.add_index() method or by directly using the0 码力 | 349 页 | 382.34 KB | 1 年前3
peewee Documentation Release 3.1.0particularly if you use SQLite. apsw [https://github.com/rogerbinns/apsw]: an optional 3rd-party SQLite binding offering greater performance and much, much saner semantics than the standard library pysqlite. Use us to create recursive queries. This is enormously advantageous for working with tree and graph-structured data - imagine retrieving all of the relations of a graph node to a given depth, for example. 'last_name'), True), # Note the trailing comma! ) Advanced Index Creation Peewee supports a more structured API for declaring indexes on a model using the Model.add_index() method or by directly using the0 码力 | 332 页 | 370.77 KB | 1 年前3
共 381 条
- 1
- 2
- 3
- 4
- 5
- 6
- 39













