Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 541 - 550 of 594 for src (0.01 seconds)

  1. docs/zh/docs/advanced/security/oauth2-scopes.md

    `scopes` 参数接收**字典**,键是作用域、值是作用域的描述:
    
    {* ../../docs_src/security/tutorial005.py hl[62:65] *}
    
    因为声明了作用域,所以登录或授权时会在 API 文档中显示。
    
    此处,选择给予访问权限的作用域: `me` 和 `items`。
    
    这也是使用脸书、谷歌、GitHub 登录时的授权机制。
    
    <img src="/img/tutorial/security/image11.png">
    
    ## JWT 令牌作用域
    
    现在,修改令牌*路径操作*,返回请求的作用域。
    
    此处仍然使用 `OAuth2PasswordRequestForm`。它包含类型为**字符串列表**的 `scopes` 属性,且`scopes` 属性中包含要在请求里接收的每个作用域。
    
    这样,返回的 JWT 令牌中就包含了作用域。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 29 20:41:04 GMT 2024
    - 11.6K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/query-params-str-validations.md

    ///
    
    The interactive API docs will update accordingly, to allow multiple values:
    
    <img src="/img/tutorial/query-params-str-validations/image02.png">
    
    ### Query parameter list / multiple values with defaults { #query-parameter-list-multiple-values-with-defaults }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/response-model.md

    When you see the automatic docs, you can check that the input model and output model will both have their own JSON Schema:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    And both models will be used for the interactive API documentation:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Other Return Type Annotations { #other-return-type-annotations }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/response-model.md

    Quando você vê a documentação automática, pode verificar se o modelo de entrada e o modelo de saída terão seus próprios esquemas JSON:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    E ambos os modelos serão usados ​​para a documentação interativa da API:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Outras anotações de tipo de retorno { #other-return-type-annotations }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/sql-databases.md

    </div>
    
    Então, vá para a interface `/docs`, você verá que o **FastAPI** está usando esses **modelos** para **documentar** a API, e ele também os usará para **serializar** e **validar** os dados.
    
    <div class="screenshot">
    <img src="/img/tutorial/sql-databases/image01.png">
    </div>
    
    ## Atualizar o App com Múltiplos Modelos { #update-the-app-with-multiple-models }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 20:32:40 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  6. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            int buildNumber = 1;
            // this generates timestamped versions like maven-resolver-provider:
            // https://github.com/apache/maven/blob/03df5f7c639db744a3597c7175c92c8e2a27767b/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java#L79
            String version = artifact.getVersion();
            String qualifier = formatDate(timestamp, true) + '-' + buildNumber;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 13.7K bytes
    - Click Count (0)
  7. docs/es/docs/advanced/openapi-callbacks.md

    Verás tu documentación incluyendo una sección de "Callbacks" para tu *path operation* que muestra cómo debería verse la *API externa*:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/dependencies/index.md

    Все объявления запросов, проверки и требования ваших зависимостей (и подзависимостей) будут интегрированы в ту же схему OpenAPI.
    
    Поэтому в интерактивной документации будет вся информация и из этих зависимостей:
    
    <img src="/img/tutorial/dependencies/image01.png">
    
    ## Простое использование { #simple-usage }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 15.4K bytes
    - Click Count (1)
  9. tests/prepared_stmt_test.go

    	if len(pdb.Stmts.Keys()) != 0 {
    		t.Fatalf("prepared stmt should be empty")
    	}
    }
    
    func isUsingClosedConnError(err error) bool {
    	// https://github.com/golang/go/blob/e705a2d16e4ece77e08e80c168382cdb02890f5b/src/database/sql/sql.go#L2717
    	return err.Error() == "sql: statement is closed"
    }
    
    // TestPreparedStmtConcurrentClose test calling close and executing SQL concurrently
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Apr 25 08:22:26 GMT 2025
    - 8K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

            // Insert elements in build according to build ordering
            DomUtils.insertContentElement(build, "directory", "target");
            DomUtils.insertContentElement(build, "sourceDirectory", "src/main/java");
    
            String xmlOutput = DomUtils.toXml(doc);
    
            // Verify build element ordering: directory, finalName, sourceDirectory, plugins
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 31.3K bytes
    - Click Count (0)
Back to Top