Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 2,559 for parm (0.08 sec)

  1. tests/test_params_repr.py

            "Param(PydanticUndefined)",
            # TODO: remove when deprecating Pydantic v1
            "Param(Ellipsis)",
        )
    
    
    def test_param_repr_number():
        assert repr(Param(1)) == "Param(1)"
    
    
    def test_param_repr_list():
        assert repr(Param([])) == "Param([])"
    
    
    def test_path_repr():
        assert repr(Path()) == IsOneOf(
            "Path(PydanticUndefined)",
            # TODO: remove when deprecating Pydantic v1
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

            boundary = "simple boundary",
            source = Buffer().writeUtf8(multipart),
          )
    
        val part = parts.nextPart()!!
        assertThat(part.body.readUtf8()).isEqualTo("abcd\r\n--simple boundar\r\n\r\nefgh")
    
        assertThat(parts.nextPart()).isNull()
      }
    
      @Test fun `do not need to read entire part`() {
        val multipart =
          """
          |--simple boundary
          |
          |abcd
          |efgh
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. docs/pt/docs/tutorial/security/first-steps.md

    	* O frontend armazena aquele token temporariamente em algum lugar.
    	* O usuário clica no frontend para ir à outra seção daquele frontend do aplicativo web.
    	* O frontend precisa buscar mais dados daquela API.
    		* Mas precisa de autenticação para aquele endpoint em específico.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       *          |              /   .     thresholdPermits and maxPermits
       *          |             /    .
       *          |            /     .
       *          |           /      .
       *   stable +----------/  WARM .
       * interval |          .   UP  .
       *          |          . PERIOD.
       *          |          .       .
       *        0 +----------+-------+--------------→ storedPermits
       *          0 thresholdPermits maxPermits
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

         * {@code :artifactId} if there is no conflict.
         * This method is made package-private for testing purposes.
         *
         * @param mavenProjects Maven projects which are part of build execution.
         * @param firstFailedProject The first project which has failed.
         * @return Value for -rf flag to resume build exactly from place where it failed ({@code :artifactId} in general
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbRandomAccess.java

         * 
         * @param b
         *            buffer
         * @return number of bytes read
         * @throws SmbException
         */
        int read ( byte[] b ) throws SmbException;
    
    
        /**
         * Read into buffer from current position
         * 
         * @param b
         *            buffer
         * @param off
         *            offset into buffer
         * @param len
         *            read up to <tt>len</tt> bytes
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/request-files.md

    ///
    
    ## O que é "Form Data"
    
    O jeito que os formulários HTML (`<form></form>`) enviam os dados para o servidor normalmente usa uma codificação "especial" para esses dados, a qual é diferente do JSON.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 19:52:32 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  8. tests/test_starlette_urlconvertors.py

    
    @app.get("/int/{param:int}")
    def int_convertor(param: int = Path()):
        return {"int": param}
    
    
    @app.get("/float/{param:float}")
    def float_convertor(param: float = Path()):
        return {"float": param}
    
    
    @app.get("/path/{param:path}")
    def path_convertor(param: str = Path()):
        return {"path": param}
    
    
    @app.get("/query/")
    def query_convertor(param: str = Query()):
        return {"query": param}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Nov 27 14:46:06 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    ///
    
    ```Python
    commons: CommonQueryParams ...
    ```
    
    ////
    
    ...não tem nenhum signficado especial para o **FastAPI**. O FastAPI não irá utilizá-lo para conversão dos dados, validação, etc (já que ele utiliza `Depends(CommonQueryParams)` para isso).
    
    Na verdade você poderia escrever apenas:
    
    //// tab | Python 3.8+
    
    ```Python
    commons: Annotated[Any, Depends(CommonQueryParams)]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/DfsResolver.java

         */
        SmbTransport getDc ( CIFSContext tf, String domain ) throws CIFSException;
    
    
        /**
         * Resolve the location of a DFS path
         * 
         * @param domain
         * @param root
         * @param path
         * @param tf
         * @return the final referral for the given DFS path
         * @throws CIFSException
         * @throws jcifs.smb.SmbAuthException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
Back to top