Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 1,117 for host (0.06 sec)

  1. tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001_py39.py

        from docs_src.separate_openapi_schemas.tutorial001_py39 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py39
    def test_create_item(client: TestClient) -> None:
        response = client.post("/items/", json={"name": "Foo"})
        assert response.status_code == 200, response.text
        assert response.json() == {"name": "Foo", "description": None}
    
    
    @needs_py39
    def test_read_items(client: TestClient) -> None:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. apache-maven/src/main/appended-resources/licenses/CDDL+GPLv2-with-classpath-exception.txt

    Preamble
    
    The licenses for most software are designed to take away your freedom to
    share and change it. By contrast, the GNU General Public License is
    intended to guarantee your freedom to share and change free software--to
    make sure the software is free for all its users. This General Public
    License applies to most of the Free Software Foundation's software and
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri May 17 19:14:22 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

    *   Include unit tests when you contribute new features, as they help to a)
        prove that your code works correctly, and b) guard against future breaking
        changes to lower the maintenance cost.
    *   Bug fixes also generally require unit tests, because the presence of bugs
        usually indicates insufficient test coverage.
    *   Keep API compatibility in mind when you change code in core TensorFlow,
        e.g., code in
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 06:20:12 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. licenses/github.com/hashicorp/go-version/LICENSE

            as described in Section 3.1, and You must inform recipients of the
            Executable Form how they can obtain a copy of such Source Code Form by
            reasonable means in a timely manner, at a charge no more than the cost
            of distribution to the recipient; and
    
         b. You may distribute such Executable Form under the terms of this License,
            or sublicense it under different terms, provided that the license for
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 15:59:40 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. licenses/github.com/hashicorp/golang-lru/v2/LICENSE

            as described in Section 3.1, and You must inform recipients of the
            Executable Form how they can obtain a copy of such Source Code Form by
            reasonable means in a timely manner, at a charge no more than the cost
            of distribution to the recipient; and
    
         b. You may distribute such Executable Form under the terms of this
            License, or sublicense it under different terms, provided that the
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Feb 03 20:21:32 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/policy/v1/generated.proto

      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // Specification of the desired behavior of the PodDisruptionBudget.
      // +optional
      optional PodDisruptionBudgetSpec spec = 2;
    
      // Most recently observed status of the PodDisruptionBudget.
      // +optional
      optional PodDisruptionBudgetStatus status = 3;
    }
    
    // PodDisruptionBudgetList is a collection of PodDisruptionBudgets.
    message PodDisruptionBudgetList {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_response_model/test_tutorial003_01.py

    from dirty_equals import IsDict, IsOneOf
    from fastapi.testclient import TestClient
    
    from docs_src.response_model.tutorial003_01 import app
    
    client = TestClient(app)
    
    
    def test_post_user():
        response = client.post(
            "/user/",
            json={
                "username": "foo",
                "password": "fighter",
                "email": "******@****.***",
                "full_name": "Grave Dohl",
            },
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. tests/embedded_struct_test.go

    		t.Fatalf("no error should happen when query with embedded struct, but got %v", err)
    	}
    	expectAuthors := []string{"Edward", "George"}
    	for i, post := range egPosts {
    		t.Log(i, post.Author)
    		if want := expectAuthors[i]; post.Author.Name != want {
    			t.Errorf("expected author %s got %s", want, post.Author.Name)
    		}
    	}
    }
    
    func TestEmbeddedPointerTypeStruct(t *testing.T) {
    	type BasePost struct {
    		Id    int64
    		Title string
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_response_model/test_tutorial003_py310.py

    def get_client():
        from docs_src.response_model.tutorial003_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_post_user(client: TestClient):
        response = client.post(
            "/user/",
            json={
                "username": "foo",
                "password": "fighter",
                "email": "******@****.***",
                "full_name": "Grave Dohl",
            },
        )
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. istioctl/pkg/analyze/testdata/analyze-file/public-gateway.yaml

    kind: Gateway
    metadata:
      name: public-gateway
      namespace: istio-system
    spec:
      selector:
        istio: gateway
      servers:
        - port:
            number: 80
            name: http
            protocol: HTTP
          hosts:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 256 bytes
    - Viewed (0)
Back to top