Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 2,621 for canf (0.01 sec)

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

    #### Union { #union }
    
    You can declare that a variable can be any of **several types**, for example, an `int` or a `str`.
    
    In Python 3.6 and above (including Python 3.10) you can use the `Union` type from `typing` and put inside the square brackets the possible types to accept.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/request-files.md

    As all these methods are `async` methods, you need to "await" them.
    
    For example, inside of an `async` *path operation function* you can get the contents with:
    
    ```Python
    contents = await myfile.read()
    ```
    
    If you are inside of a normal `def` *path operation function*, you can access the `UploadFile.file` directly, for example:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    /// note | `async` Technical Details
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. docs/metrics/prometheus/README.md

      scheme: http
      static_configs:
      - targets: ['localhost:9000']
    ```
    
    ##### Node (optional)
    
    Optionally you can also collect per node metrics. This needs to be done on a per server instance.
    The scrape configurations should use all the servers under `targets` so that graphing systems like
    grafana can visualize them for all the nodes
    
    ```yaml
    scrape_configs:
    - job_name: minio-job
      metrics_path: /minio/v2/metrics/node
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/custom-response.md

    You can return a `RedirectResponse` directly:
    
    {* ../../docs_src/custom_response/tutorial006_py39.py hl[2,9] *}
    
    ---
    
    Or you can use it in the `response_class` parameter:
    
    
    {* ../../docs_src/custom_response/tutorial006b_py39.py hl[2,7,9] *}
    
    If you do that, then you can return the URL directly from your *path operation* function.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/dataclasses.md

    /// info
    
    Keep in mind that dataclasses can't do everything Pydantic models can do.
    
    So, you might still need to use Pydantic models.
    
    But if you have a bunch of dataclasses laying around, this is a nice trick to use them to power a web API using FastAPI. 🤓
    
    ///
    
    ## Dataclasses in `response_model` { #dataclasses-in-response-model }
    
    You can also use `dataclasses` in the `response_model` parameter:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. dbflute_fess/dfprop/additionalForeignKeyMap.dfprop

    #
    # If foreign key does not exist in your database,
    # you can set up here as virtual foreign key for DBFlute.
    #
    # And it's one-to-one relation if you add one fixed condition to referrer table, 
    # you can set virtual foreign key with fixedCondition and fixedSuffix.
    # And you can use it to view objects too.
    #
    # If local column name is same as foreign column name,
    # you can omit the setting of localColumnName and foreignColumnName.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 1.7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-param-models.md

    ## Check the Docs { #check-the-docs }
    
    You can see the query parameters in the docs UI at `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/query-param-models/image01.png">
    </div>
    
    ## Forbid Extra Query Parameters { #forbid-extra-query-parameters }
    
    In some special use cases (probably not very common), you might want to **restrict** the query parameters that you want to receive.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/response-cookies.md

    # Response Cookies { #response-cookies }
    
    ## Use a `Response` parameter { #use-a-response-parameter }
    
    You can declare a parameter of type `Response` in your *path operation function*.
    
    And then you can set cookies in that *temporal* response object.
    
    {* ../../docs_src/response_cookies/tutorial002_py39.py hl[1, 8:9] *}
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. docs/en/docs/environment-variables.md

    $ python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    
    ////
    
    As environment variables can be set outside of the code, but can be read by the code, and don't have to be stored (committed to `git`) with the rest of the files, it's common to use them for configurations or **settings**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  10. docs/debugging/README.md

    functionality. Syntax is `mc support inspect ALIAS/path/to/files`. This can for example be used to collect `xl.meta` from objects that are misbehaving. To collect `xl.meta` from a specific object, for example placed at `ALIAS/bucket/path/to/file.txt` append `/xl.meta`, for instance `mc support inspect ALIAS/bucket/path/to/file.txt/xl.meta`. All files can be collected, so this can also be used to retrieve `part.*` files, etc.
    
    Wildcards can be used, for example `mc support inspect ALIAS/bucket/path/**/xl.meta`...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top