Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1521 - 1530 of 2,560 for into (0.03 sec)

  1. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

          int nKeys = keys.size();
          int[] deltas = new int[nKeys];
          Operation[] operations = Operation.values();
          for (int i = 0; i < iterations; i++) {
            int keyIndex = random.nextInt(nKeys);
            String key = keys.get(keyIndex);
            Operation op = operations[random.nextInt(operations.length)];
            switch (op) {
              case ADD:
                {
                  int delta = random.nextInt(10);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/additional-responses.md

    ```Python hl_lines="18  22"
    {!../../docs_src/additional_responses/tutorial001.py!}
    ```
    
    /// note | "Nota"
    
    Lembre-se que você deve retornar o `JSONResponse` diretamente.
    
    ///
    
    /// info | "Informação"
    
    A chave `model` não é parte do OpenAPI.
    
    O **FastAPI** pegará o modelo do Pydantic, gerará o `JSON Schema`, e adicionará no local correto.
    
    O local correto é:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/testing.md

    有了它,你可以直接与**FastAPI**一起使用 <a href="https://docs.pytest.org/" class="external-link" target="_blank">pytest</a>。
    
    ## 使用 `TestClient`
    
    /// info | "信息"
    
    要使用 `TestClient`,先要安装 <a href="https://www.python-httpx.org" class="external-link" target="_blank">`httpx`</a>.
    
    例:`pip install httpx`.
    
    ///
    
    导入 `TestClient`.
    
    通过传入你的**FastAPI**应用创建一个 `TestClient` 。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. src/main/resources/fess_label_en.properties

    labels.menu_group=Group
    labels.menu_suggest=Suggest
    labels.menu_suggest_word=Suggest Word
    labels.menu_elevate_word=Additional Word
    labels.menu_bad_word=Bad Word
    labels.menu_system_log=System Info
    labels.menu_system_info=Config Info
    labels.menu_crawling_info=Crawling Info
    labels.menu_log=Log Files
    labels.menu_jobLog=Job Log
    labels.menu_searchLog=Search Log
    labels.menu_failure_url=Failure URL
    labels.menu_search_list=Search
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  5. cni/test/testdata/pre/noplugins_calico.conflist

    {
      "name": "k8s-pod-network",
      "cniVersion": "0.3.1",
      "pugins": [
        {
          "type": "calico",
          "etcd_endpoints": "http://10.110.0.136:6666",
          "plugin_log_level": "info",
          "mtu": 1500,
          "ipam": {
            "type": "calico-ipam"
          },
          "policy": {
            "type": "k8s"
          },
          "kubernetes": {
            "kubeconfig": "/etc/cni/net.d/calico-kubeconfig"
          }
        },
        {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 527 bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/netdfs.idl

    	} DfsEnumInfo;
    
    	typedef struct {
    		uint32_t level,
    		[switch_is(level)] DfsEnumInfo e;
    	} DfsEnumStruct;
    
    	[op(0x15)]
    	int NetrDfsEnumEx([in,string,unique] wchar_t dfs_name,
    			[in] uint32_t level,
    			[in] uint32_t prefmaxlen,
    			[in,out,unique] DfsEnumStruct *info,
    			[in,out,unique] uint32_t *totalentries);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_response_model/test_tutorial003_05.py

    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/portal": {
                    "get": {
                        "summary": "Get Portal",
                        "operationId": "get_portal_portal_get",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_events/test_tutorial001.py

        with TestClient(app) as client:
            response = client.get("/openapi.json")
            assert response.status_code == 200, response.text
            assert response.json() == {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/items/{item_id}": {
                        "get": {
                            "responses": {
                                "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 18 12:36:40 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. tests/test_put_no_body.py

    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "put": {
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  10. tests/test_security_api_key_cookie_optional.py

    def test_openapi_schema():
        client = TestClient(app)
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/users/me": {
                    "get": {
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top