Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 1,062 for python (0.04 seconds)

  1. configure.cmd

    :: License for the specific language governing permissions and limitations under
    :: the License.
    
    @echo off
    
    set configure_dir=%~dp0
    set configure_dir=%configure_dir:~0,-1%
    python "%configure_dir%\configure.py" %* || ( exit /b )
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Aug 11 09:27:42 GMT 2020
    - 782 bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/path-params-numeric-validations.md

    ///
    
    这里有一个小技巧,可能会很方便,但你并不会经常需要它。
    
    如果你想要:
    
    * 在没有 `Query` 且没有任何默认值的情况下声明查询参数 `q`
    * 使用 `Path` 声明路径参数 `item_id`
    * 让它们的顺序与上面不同
    * 不使用 `Annotated`
    
    ...Python 为此有一个小的特殊语法。
    
    在函数的第一个参数位置传入 `*`。
    
    Python 不会对这个 `*` 做任何事,但它会知道之后的所有参数都应该作为关键字参数(键值对)来调用,也被称为 <abbr title="来自:K-ey W-ord Arg-uments"><code>kwargs</code></abbr>。即使它们没有默认值。
    
    {* ../../docs_src/path_params_numeric_validations/tutorial003_py310.py hl[7] *}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6K bytes
    - Click Count (0)
  3. fastapi/security/api_key.py

        ## Usage
    
        Create an instance object and use that object as the dependency in `Depends()`.
    
        The dependency result will be a string containing the key value.
    
        ## Example
    
        ```python
        from fastapi import Depends, FastAPI
        from fastapi.security import APIKeyQuery
    
        app = FastAPI()
    
        query_scheme = APIKeyQuery(name="api_key")
    
    
        @app.get("/items/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 9.6K bytes
    - Click Count (1)
  4. fastapi/security/http.py

        `username` and the `password`.
    
        Read more about it in the
        [FastAPI docs for HTTP Basic Auth](https://fastapi.tiangolo.com/advanced/security/http-basic-auth/).
    
        ## Example
    
        ```python
        from typing import Annotated
    
        from fastapi import Depends, FastAPI
        from fastapi.security import HTTPBasic, HTTPBasicCredentials
    
        app = FastAPI()
    
        security = HTTPBasic()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  5. .github/dependabot.yml

    version: 2
    updates:
      # GitHub Actions
      - package-ecosystem: "github-actions"
        directory: "/"
        schedule:
          interval: "daily"
        commit-message:
          prefix: ⬆
      # Python
      - package-ecosystem: "uv"
        directory: "/"
        schedule:
          interval: "monthly"
        commit-message:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:02:57 GMT 2026
    - 310 bytes
    - Click Count (0)
  6. docs/en/docs/reference/apirouter.md

    # `APIRouter` class
    
    Here's the reference information for the `APIRouter` class, with all its parameters, attributes and methods.
    
    You can import the `APIRouter` class directly from `fastapi`:
    
    ```python
    from fastapi import APIRouter
    ```
    
    ::: fastapi.APIRouter
        options:
            members:
                - websocket
                - include_router
                - get
                - put
                - post
                - delete
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 524 bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/first-steps.md

    entrypoint = "main:app"
    ```
    
    该 `entrypoint` 会告诉 `fastapi` 命令按如下方式导入应用:
    
    ```python
    from main import app
    ```
    
    如果你的代码结构如下:
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    那么你可以将 `entrypoint` 设置为:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    这等价于:
    
    ```python
    from backend.main import app
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  8. docs/en/docs/reference/testclient.md

    Read more about it in the [FastAPI docs for Testing](https://fastapi.tiangolo.com/tutorial/testing/).
    
    You can import it directly from `fastapi.testclient`:
    
    ```python
    from fastapi.testclient import TestClient
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 450 bytes
    - Click Count (0)
  9. .github/hub_scripts/pr_ci.sh

    # This script must be executed from the branch associated with the PR to issue the command on.
    #
    
    PR_NUMBER=$(hub pr show -f '%I')
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jan 22 15:25:21 GMT 2021
    - 1K bytes
    - Click Count (0)
  10. .gitignore

    /pip_test
    /_python_build
    *.pyc
    __pycache__
    *.swp
    .vscode/
    cmake_build/
    tensorflow/contrib/cmake/_build/
    .idea/**
    /build/
    [Bb]uild/
    /build_output/
    /tensorflow/core/util/version_info.cc
    /tensorflow/python/framework/fast_tensor_util.cpp
    /tensorflow/lite/gen/**
    /tensorflow/lite/tools/make/downloads/**
    /tensorflow/lite/tools/make/gen/**
    /api_init_files_list.txt
    /estimator_api_init_files_list.txt
    *.whl
    dist
    venv/
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 17 21:30:22 GMT 2026
    - 963 bytes
    - Click Count (0)
Back to Top