Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,547 for upsert (0.17 sec)

  1. tests/test_tutorial/test_schema_extra_example/test_tutorial001_py310.py

                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    @needs_py310
    @needs_pydanticv2
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        # insert_assert(response.json())
        assert response.json() == {
            "openapi": "3.1.0",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  2. tests/test_regex_deprecated_params.py

        client = get_client()
        response = client.get("/items/")
        assert response.status_code == 200
        assert response.json() == "Hello World"
    
    
    @needs_py310
    def test_query_params_str_validations_q_fixedquery():
        client = get_client()
        response = client.get("/items/", params={"q": "fixedquery"})
        assert response.status_code == 200
        assert response.json() == "Hello fixedquery"
    
    
    @needs_py310
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

      std::unique_ptr<tensorflow::GrpcServer> worker_server1;
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
                      server_def, tensorflow::Env::Default(), &worker_server1)
                      .ok());
      ASSERT_TRUE(worker_server1->Start().ok());
    
      server_def.set_task_index(2);
      std::unique_ptr<tensorflow::GrpcServer> worker_server2;
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_schema_extra_example/test_tutorial001.py

                "price": 35.4,
                "tax": 3.2,
            },
        )
        assert response.status_code == 200
    
    
    @needs_pydanticv2
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        # insert_assert(response.json())
        assert response.json() == {
            "openapi": "3.1.0",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  5. tests/test_webhooks_security.py

        # Just for coverage
        new_subscription(body={}, token="Bearer 123")
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        # insert_assert(response.json())
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {},
            "webhooks": {
                "new-subscription": {
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Oct 20 09:00:44 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  6. fastapi/routing.py

            internal_router = APIRouter()
            users_router = APIRouter()
    
            @users_router.get("/users/")
            def read_users():
                return [{"name": "Rick"}, {"name": "Morty"}]
    
            internal_router.include_router(users_router)
            app.include_router(internal_router)
            ```
            """
            if prefix:
                assert prefix.startswith("/"), "A path prefix must start with '/'"
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  7. manifests/charts/istio-cni/templates/zzz_profile.yaml

    1. The builtin values.yaml defaults
    2. The profile the user selects
    3. Users input (-f or --set)
    
    Unfortunately, Helm provides us (1) and (3) together (as .Values), making it hard to insert (2).
    
    However, we can workaround this by placing all of (1) under a specific key (.Values.defaults).
    We can then merge the profile onto the defaults, then the user settings onto that.
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 18 16:33:33 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  8. manifests/charts/istio-operator/templates/zzz_profile.yaml

    1. The builtin values.yaml defaults
    2. The profile the user selects
    3. Users input (-f or --set)
    
    Unfortunately, Helm provides us (1) and (3) together (as .Values), making it hard to insert (2).
    
    However, we can workaround this by placing all of (1) under a specific key (.Values.defaults).
    We can then merge the profile onto the defaults, then the user settings onto that.
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 18 16:33:33 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  9. manifests/charts/gateway/templates/zzz_profile.yaml

    1. The builtin values.yaml defaults
    2. The profile the user selects
    3. Users input (-f or --set)
    
    Unfortunately, Helm provides us (1) and (3) together (as .Values), making it hard to insert (2).
    
    However, we can workaround this by placing all of (1) under a specific key (.Values.defaults).
    We can then merge the profile onto the defaults, then the user settings onto that.
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  10. manifests/charts/base/templates/zzz_profile.yaml

    1. The builtin values.yaml defaults
    2. The profile the user selects
    3. Users input (-f or --set)
    
    Unfortunately, Helm provides us (1) and (3) together (as .Values), making it hard to insert (2).
    
    However, we can workaround this by placing all of (1) under a specific key (.Values.defaults).
    We can then merge the profile onto the defaults, then the user settings onto that.
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 22:30:06 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top