Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,027 for query2 (0.11 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/RequestLine.kt

      /**
       * Returns the path to request, like the '/' in 'GET / HTTP/1.1'. Never empty, even if the request
       * URL is. Includes the query component if it exists.
       */
      fun requestPath(url: HttpUrl): String {
        val path = url.encodedPath
        val query = url.encodedQuery
        return if (query != null) "$path?$query" else path
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/body-multiple-params.md

    # Corpo - Múltiplos parâmetros
    
    Agora que nós vimos como usar `Path` e `Query`, veremos usos mais avançados de declarações no corpo da requisição.
    
    ## Misture `Path`, `Query` e parâmetros de corpo
    
    Primeiro, é claro, você pode misturar `Path`, `Query` e declarações de parâmetro no corpo da requisição livremente e o **FastAPI** saberá o que fazer.
    
    E você também pode declarar parâmetros de corpo como opcionais, definindo o valor padrão com `None`:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. tests/preload_test.go

    		t.Fatalf("failed to preload and find users: %v", err)
    	}
    
    	AssertEqual(t, result, users)
    	AssertEqual(t, len(query), 2) // Check preload queries are merged
    
    	if !regexp.MustCompile(`SELECT \* FROM .*tools.* WHERE .*IN.*`).MatchString(query[0]) {
    		t.Fatalf("Expected first query to preload manager tools, got: %s", query[0])
    	}
    }
    
    func TestNestedPreloadWithPointerJoin(t *testing.T) {
    	type (
    		Preload struct {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. docs_src/path_params_numeric_validations/tutorial001_py310.py

    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: int = Path(title="The ID of the item to get"),
        q: str | None = Query(default=None, alias="item-query"),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 332 bytes
    - Viewed (0)
  5. docs_src/query_params_str_validations/tutorial007_an.py

    from typing import Union
    
    from fastapi import FastAPI, Query
    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[Union[str, None], Query(title="Query string", min_length=3)] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Mar 26 16:56:53 UTC 2024
    - 379 bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionRequest.java

                ArtifactMetadata query, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) {
            this.query = query;
            this.localRepository = localRepository;
            this.remoteRepositories = remoteRepositories;
        }
    
        // --------------------------------------------------------------------
        public ArtifactMetadata getQuery() {
            return query;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/cbean/bs/BsDataConfigCB.java

        // ===================================================================================
        //                                                                               Query
        //                                                                               =====
        public BsDataConfigCQ query() {
            assertQueryPurpose();
            return doGetConditionQuery();
        }
    
        protected BsDataConfigCQ doGetConditionQuery() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/view/admin/keymatch/admin_keymatch_edit.jsp

                                        <label for="query" class="col-sm-3 text-sm-right col-form-label"><la:message
                                                key="labels.key_match_query"/></label>
                                        <div class="col-sm-9">
                                            <la:errors property="query"/>
                                            <la:text styleId="query" property="query" styleClass="form-control"/>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 13 07:47:04 UTC 2020
    - 6K bytes
    - Viewed (0)
  9. docs/es/docs/index.md

    </p>
    <p align="center">
        FastAPI framework, alto desempeño, fácil de aprender, rápido de programar, listo para producción
    </p>
    <p align="center">
    <a href="https://github.com/fastapi/fastapi/actions?query=workflow%3ATest" target="_blank">
        <img src="https://github.com/fastapi/fastapi/workflows/Test/badge.svg" alt="Test">
    </a>
    <a href="https://codecov.io/gh/fastapi/fastapi" target="_blank">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

      @Test
      fun toJavaNetUrl() {
        val httpUrl = "http://username:password@host/path?query#fragment".toHttpUrl()
        val javaNetUrl = httpUrl.toUrl()
        assertThat(javaNetUrl.toString())
          .isEqualTo("http://username:password@host/path?query#fragment")
      }
    
      @Test
      fun toUri() {
        val httpUrl = "http://username:password@host/path?query#fragment".toHttpUrl()
        val uri = httpUrl.toUri()
        assertThat(uri.toString())
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top