- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,954 for Client (0.08 sec)
-
tests/test_tutorial/test_path_operation_configurations/test_tutorial005_py39.py
from ...utils import needs_py39, needs_pydanticv1, needs_pydanticv2 @pytest.fixture(name="client") def get_client(): from docs_src.path_operation_configuration.tutorial005_py39 import app client = TestClient(app) return client @needs_py39 def test_query_params_str_validations(client: TestClient): response = client.post("/items/", json={"name": "Foo", "price": 42})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Sep 28 04:14:40 UTC 2023 - 8.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
} @Override public UpdateRequestBuilder prepareUpdate() { return client.prepareUpdate(); } @Override public UpdateRequestBuilder prepareUpdate(final String index, final String id) { return client.prepareUpdate(index, id); } @Override public IndexRequestBuilder prepareIndex(final String index) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 19.9K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig.go
return &istiodConfigLog{state: &logLevelState{ client: ctrzClient, outputLogLevel: outputLogLevel, }} } else if stackTraceLevel != "" { return &istiodConfigLog{state: &stackTraceLevelState{ client: ctrzClient, stackTraceLevel: stackTraceLevel, }} } return &istiodConfigLog{state: &getAllLogLevelsState{ client: ctrzClient, outputFormat: outputFormat, }} }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 13.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
import org.opensearch.client.Client; import org.opensearch.index.query.Operator; import org.opensearch.index.query.QueryBuilder; import org.opensearch.index.query.QueryBuilders; import org.opensearch.search.SearchHit; public class SuggestIndexer { private final static Logger logger = LogManager.getLogger(SuggestIndexer.class); protected final Client client; protected String index;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
tests/test_exception_handlers.py
def test_override_server_error_exception_raises(): with pytest.raises(RuntimeError): client.get("/server-error") def test_override_server_error_exception_response(): client = TestClient(app, raise_server_exceptions=False) response = client.get("/server-error") assert response.status_code == 500
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Feb 17 12:40:12 UTC 2022 - 1.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/OpenJSSETest.kt
HandshakeCertificates.Builder() .heldCertificate(heldCertificate) .addTrustedCertificate(heldCertificate.certificate) .build() client = client.newBuilder() .sslSocketFactory( handshakeCertificates.sslSocketFactory(), handshakeCertificates.trustManager, ) .build() server.useHttps(handshakeCertificates.sslSocketFactory())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 3.7K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py
from fastapi.testclient import TestClient from ...utils import needs_py39 @pytest.fixture(name="client") def get_client(): from docs_src.bigger_applications.app_an_py39.main import app client = TestClient(app) return client @needs_py39 def test_users_token_jessica(client: TestClient): response = client.get("/users?token=jessica") assert response.status_code == 200
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.9K bytes - Viewed (0) -
tests/test_default_response_class_router.py
with client: response = client.get("/a/override") assert response.content == b"Hello A" assert response.headers["content-type"] == text_type def test_router_a_a(): with client: response = client.get("/a/a") assert response.json() == {"msg": "Hello A A"} assert response.headers["content-type"] == json_type def test_router_a_a_override(): with client:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Mar 01 20:49:20 UTC 2020 - 5K bytes - Viewed (0) -
src/main/java/jcifs/Configuration.java
* * @return share to connect to during authentication, if unset connect to IPC$ */ String getLogonShare (); /** * * * Property <tt>jcifs.smb.client.domain</tt> * * @return default credentials, domain name */ String getDefaultDomain (); /** * * Property <tt>jcifs.smb.client.username</tt> *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:06:39 UTC 2023 - 18K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008c.py
import pytest from fastapi.exceptions import FastAPIError from fastapi.testclient import TestClient @pytest.fixture(name="client") def get_client(): from docs_src.dependencies.tutorial008c import app client = TestClient(app) return client def test_get_no_item(client: TestClient): response = client.get("/items/foo") assert response.status_code == 404, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.1K bytes - Viewed (0)