Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 1,918 for fluent (0.15 seconds)

  1. tests/test_skip_defaults.py

        return ModelDefaults(x=None, y="y")
    
    
    client = TestClient(app)
    
    
    def test_return_defaults():
        response = client.get("/")
        assert response.json() == {"sub": {}}
    
    
    def test_return_exclude_unset():
        response = client.get("/exclude_unset")
        assert response.json() == {"x": None, "y": "y"}
    
    
    def test_return_exclude_defaults():
        response = client.get("/exclude_defaults")
        assert response.json() == {}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2K bytes
    - Click Count (0)
  2. tests/test_ws_dependencies.py

    )
    
    
    def test_index():
        client = TestClient(app)
        with client.websocket_connect("/") as websocket:
            data = json.loads(websocket.receive_text())
            assert data == ["app", "index"]
    
    
    def test_routerindex():
        client = TestClient(app)
        with client.websocket_connect("/router") as websocket:
            data = json.loads(websocket.receive_text())
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  3. CHANGELOG/CHANGELOG-1.21.md

    ### Client Binaries
    
    filename | sha512 hash
    -------- | -----------
    [kubernetes-client-darwin-amd64.tar.gz](https://dl.k8s.io/v1.21.14/kubernetes-client-darwin-amd64.tar.gz) | a59b3d33bf77f196b351b1582ef9c5293dba8a6b358b8f75a4dc857e5ce39d106d4f4435c80ce71e1f60b4c0ed361c444ff81836b9a0ad0b72a7e576d7b31488
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Fri Oct 14 07:03:14 GMT 2022
    - 367.3K bytes
    - Click Count (0)
  4. tests/test_request_params/test_body/test_optional_str.py

            "type": "object",
        }
    
    
    def test_optional_str_missing():
        client = TestClient(app)
        response = client.post("/optional-str")
        assert response.status_code == 200, response.text
        assert response.json() == {"p": None}
    
    
    def test_model_optional_str_missing():
        client = TestClient(app)
        response = client.post("/model-optional-str")
        assert response.status_code == 422, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  5. samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt

        print("name")
        for (client in clients) {
          print("\t")
          print(client.nameAndVersion)
        }
        println()
        val sortedSuites =
          ianaSuites.suites.sortedBy { ianaSuite ->
            val index = orderBy.indexOfFirst { it.matches(ianaSuite) }
            if (index == -1) Integer.MAX_VALUE else index
          }
        for (suiteId in sortedSuites) {
          print(suiteId.name)
          for (client in clients) {
            print("\t")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_security/test_tutorial004.py

    def test_no_token(mod: ModuleType):
        client = TestClient(mod.app)
        response = client.get("/users/me")
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Not authenticated"}
        assert response.headers["WWW-Authenticate"] == "Bearer"
    
    
    def test_token(mod: ModuleType):
        client = TestClient(mod.app)
        access_token = get_access_token(client=client)
        response = client.get(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  7. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

        if (true) {
          client.requestOauthSession(scopes, null);
        } else {
          OAuthSession session = new OAuthSession(true,
              "xoxp-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
              scopes, "UXXXXXXXX", "My Slack Group", "TXXXXXXXX");
          client.initOauthSession(session);
        }
    
        client.awaitAccessToken(Timeout.NONE);
        client.startRtm();
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 3.4K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial001_tutorial001_02.py

        ],
    )
    def test_get(path, expected_status, expected_response, client: TestClient):
        response = client.get(path)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  9. tests/test_serialize_response_model.py

            "k3": Item(aliased_name="baz", price=2.0, owner_ids=[1, 2, 3]),
        }
    
    
    client = TestClient(app)
    
    
    def test_valid():
        response = client.get("/items/valid")
        response.raise_for_status()
        assert response.json() == {"aliased_name": "valid", "price": 1.0, "owner_ids": None}
    
    
    def test_coerce():
        response = client.get("/items/coerce")
        response.raise_for_status()
        assert response.json() == {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. docs/SMB3_IMPLEMENTATION_PLAN.md

    ```properties
    # Lease configuration
    jcifs.smb.client.useLeases=true
    jcifs.smb.client.leaseTimeout=30000
    
    # Persistent handles
    jcifs.smb.client.usePersistentHandles=true
    jcifs.smb.client.durableTimeout=120000
    
    # Multi-channel
    jcifs.smb.client.useMultiChannel=true
    jcifs.smb.client.maxChannels=4
    jcifs.smb.client.channelBindingPolicy=required
    
    # Directory leasing
    jcifs.smb.client.useDirectoryLeasing=true
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 10.7K bytes
    - Click Count (0)
Back to Top