Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1601 - 1610 of 2,630 for path2 (0.06 seconds)

  1. docs/zh-hant/docs/advanced/sub-applications.md

    若你需要兩個彼此獨立的 FastAPI 應用程式,各自擁有獨立的 OpenAPI 與文件 UI,你可以有一個主應用,並「掛載」一個(或多個)子應用程式。
    
    ## 掛載一個 **FastAPI** 應用程式 { #mounting-a-fastapi-application }
    
    「掛載」是指在某個特定路徑下加入一個完全「獨立」的應用程式,之後該應用程式會負責處理該路徑底下的一切,使用該子應用程式中宣告的*路徑操作(path operation)*。
    
    ### 頂層應用程式 { #top-level-application }
    
    先建立主(頂層)**FastAPI** 應用程式以及它的*路徑操作*:
    
    {* ../../docs_src/sub_applications/tutorial001_py310.py hl[3, 6:8] *}
    
    ### 子應用程式 { #sub-application }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  2. src/main/assemblies/files/logging.properties

    .level=INFO
    
    java.util.logging.ConsoleHandler.level=INFO
    java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
    
    java.util.logging.FileHandler.level=INFO
    java.util.logging.FileHandler.pattern=${fess.log.path}/server_%g.log
    java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
    java.util.logging.FileHandler.count=10
    
    # Suppress warning logs
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Aug 21 11:31:50 GMT 2016
    - 475 bytes
    - Click Count (0)
  3. tests/test_security_http_bearer_description.py

        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/users/me": {
                        "get": {
                            "responses": {
                                "200": {
                                    "description": "Successful Response",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/resources/META-INF/maven/plugin-expressions/project.paramdoc.xml

      <repository>
        <id>repo</id>
        <name>Repository Name</name>
        <url>scp://host/path/to/repo</url>
      </repository>
      <!-- use the following if you ARE using a snapshot version. -->
      <snapshotRepository>
        <id>repo</id>
        <name>Repository Name</name>
        <url>scp://host/path/to/repo</url>
      </snapshotRepository>
    </distributionManagement>
        ]]></configuration>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/response-status-code.md

    * `@app.get()`
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    * etc.
    
    {* ../../docs_src/response_status_code/tutorial001_py310.py hl[6] *}
    
    /// note
    
    Notice that `status_code` is a parameter of the "decorator" method (`get`, `post`, etc). Not of your *path operation function*, like all the parameters and body.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  6. docs/es/docs/advanced/dataclasses.md

    8. Nota que esta *path operation function* usa `def` regular en lugar de `async def`.
    
        Como siempre, en FastAPI puedes combinar `def` y `async def` según sea necesario.
    
        Si necesitas un repaso sobre cuándo usar cuál, revisa la sección _"¿Con prisa?"_ en la documentación sobre [`async` y `await`](../async.md#in-a-hurry).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  7. docs/ja/docs/advanced/using-request-directly.md

    それでも、`Request` オブジェクトを取得するのが有用な特定のケースがあります。
    
    ## `Request` オブジェクトを直接使う { #use-the-request-object-directly }
    
    たとえば、path operation 関数内でクライアントの IP アドレス/ホストを取得したいとします。
    
    そのためには、リクエストに直接アクセスする必要があります。
    
    {* ../../docs_src/using_request_directly/tutorial001_py310.py hl[1,7:8] *}
    
    path operation 関数の引数として `Request` 型のパラメータを宣言すると、**FastAPI** はその引数に `Request` を渡します。
    
    /// tip | 豆知識
    
    この例では、`Request` 型の引数に加えて、パスパラメータも宣言しています。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  8. utils/utils.go

    // Package utils provides internal utility functions for GORM.
    package utils
    
    import (
    	"database/sql/driver"
    	"fmt"
    	"path/filepath"
    	"reflect"
    	"runtime"
    	"strconv"
    	"strings"
    	"unicode"
    )
    
    var gormSourceDir string
    
    func init() {
    	_, file, _, _ := runtime.Caller(0)
    	// compatible solution to get gorm source directory with various operating systems
    	gormSourceDir = sourceDir(file)
    }
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  9. ci/official/containers/ml_build/Dockerfile

        tar zxf - google-cloud-sdk && \
        google-cloud-sdk/install.sh --quiet && \
        ln -s /google-cloud-sdk/bin/gcloud /usr/bin/gcloud
    ENV PATH="$PATH:/google-cloud-sdk/bin/:/usr/local/cuda/bin/"
    
    # Download and install patchelf v0.18.0 from GitHub. The default Ubuntu focal
    # packages only provide the "0.10-2build1" version. We use patchelf to manipulate
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Mar 20 15:35:12 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  10. .github/workflows/pylint-presubmit.yml

    # limitations under the License.
    # ==============================================================================
    
    name: PyLint
    on:
      pull_request:
        paths:
          - '**.py'
    
    permissions:
      contents: read
    
    jobs:
      build:
        name: PyLint
        runs-on: ubuntu-latest
        steps:
        - name: Checkout code
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Jan 01 08:09:03 GMT 2026
    - 1.7K bytes
    - Click Count (0)
Back to Top