Search Options

Results per page
Sort
Preferred Languages
Advance

Results 911 - 920 of 1,315 for bool (0.04 sec)

  1. docs/nl/docs/python-types.md

    Python biedt ondersteuning voor optionele "type hints" (ook wel "type annotaties" genoemd).
    
    Deze **"type hints"** of annotaties zijn een speciale syntax waarmee het <abbr title="bijvoorbeeld: str, int, float, bool">type</abbr> van een variabele kan worden gedeclareerd.
    
    Door types voor je variabelen te declareren, kunnen editors en hulpmiddelen je beter ondersteunen.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. docs/tr/docs/index.md

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 16:50:01 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. docs/em/docs/tutorial/body.md

    ```Python hl_lines="16"
    {!> ../../docs_src/body/tutorial004_py310.py!}
    ```
    
    ////
    
    ๐Ÿ”ข ๐Ÿ”ข ๐Ÿ”œ ๐Ÿค” โฉ:
    
    * ๐Ÿšฅ ๐Ÿ”ข ๐Ÿ“ฃ **โžก**, โšซ๏ธ ๐Ÿ”œ โš™๏ธ โžก ๐Ÿ”ข.
    * ๐Ÿšฅ ๐Ÿ”ข **โญ ๐Ÿ†Ž** (๐Ÿ’– `int`, `float`, `str`, `bool`, โ™’๏ธ) โšซ๏ธ ๐Ÿ”œ ๐Ÿ”ฌ **๐Ÿ”ข** ๐Ÿ”ข.
    * ๐Ÿšฅ ๐Ÿ”ข ๐Ÿ“ฃ ๐Ÿ†Ž **Pydantic ๐Ÿท**, โšซ๏ธ ๐Ÿ”œ ๐Ÿ”ฌ ๐Ÿ“จ **๐Ÿ’ช**.
    
    /// note
    
    FastAPI ๐Ÿ”œ ๐Ÿ’ญ ๐Ÿ‘ˆ ๐Ÿ’ฒ `q` ๐Ÿšซ โœ” โ†ฉ๏ธ ๐Ÿ”ข ๐Ÿ’ฒ `= None`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. finisher_api.go

    		// e.g. mysql8.0 doc: https://dev.mysql.com/doc/refman/8.0/en/sql-prepared-statements.html
    		var (
    			preparedStmtTx   *PreparedStmtTX
    			isPreparedStmtTx bool
    		)
    		// close prepared statement, because SavePoint not support prepared statement.
    		if preparedStmtTx, isPreparedStmtTx = db.Statement.ConnPool.(*PreparedStmtTX); isPreparedStmtTx {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Sep 14 12:58:29 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. cmd/bucket-handlers_test.go

    		bucketName string
    		accessKey  string
    		secretKey  string
    		// expected Response.
    		expectedRespStatus int
    		locationResponse   []byte
    		errorResponse      APIErrorResponse
    		shouldPass         bool
    	}{
    		// Test case - 1.
    		// Tests for authenticated request and proper response.
    		{
    			bucketName:         bucketName,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  6. doc/go_spec.html

    </p>
    
    <pre>
    const c = 3 &lt; 4            // c is the untyped boolean constant true
    
    type MyBool bool
    var x, y int
    var (
    	// The result of a comparison is an untyped boolean.
    	// The usual assignment rules apply.
    	b3        = x == y // b3 has type bool
    	b4 bool   = x == y // b4 has type bool
    	b5 MyBool = x == y // b5 has type MyBool
    )
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/path-params.md

    You can use the same type declarations with `str`, `float`, `bool` and many other complex data types.
    
    Several of these are explored in the next chapters of the tutorial.
    
    ## Order matters
    
    When creating *path operations*, you can find situations where you have a fixed path.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/path-params.md

    Puedes usar las mismas declaraciones de tipos con `str`, `float`, `bool` y otros tipos de datos mรกs complejos.
    
    Exploraremos varios de estos tipos en los prรณximos capรญtulos del tutorial.
    
    ## El orden importa
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_function.cc

    }
    
    TF_Function* TF_FunctionImportFunctionDef(const void* proto, size_t proto_len,
                                              TF_Status* status) {
      tensorflow::FunctionDef fdef;
      bool success = fdef.ParseFromArray(proto, proto_len);
      if (!success) {
        status->status = InvalidArgument(
            "Invalid FunctionDef given to TF_FunctionImportFunctionDef");
        return nullptr;
      }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), type SysProcAttr struct, Noctty bool
    pkg syscall (freebsd-386-cgo), type SysProcAttr struct, Ptrace bool
    pkg syscall (freebsd-386-cgo), type SysProcAttr struct, Setctty bool
    pkg syscall (freebsd-386-cgo), type SysProcAttr struct, Setpgid bool
    pkg syscall (freebsd-386-cgo), type SysProcAttr struct, Setsid bool
    pkg syscall (freebsd-386-cgo), type Timespec struct, Nsec int32
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Oct 18 04:36:59 UTC 2013
    - 1.9M bytes
    - Viewed (0)
Back to top