- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 1,375 for example2 (0.04 sec)
-
src/test/java/jcifs/context/SingletonContextTest.java
// Test registerSmbURLHandler when java.protocol.handler.pkgs does not contain "jcifs" System.setProperty("java.protocol.handler.pkgs", "com.example"); SingletonContext.registerSmbURLHandler(); assertEquals("com.example|jcifs", System.getProperty("java.protocol.handler.pkgs")); } @Test void testRegisterSmbURLHandlerWhenPkgsAlreadyContainsJcifs() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
tests/test_tutorial/test_settings/test_app01.py
@pytest.fixture(name="client") def get_test_client(mod_name: str, monkeypatch: MonkeyPatch) -> TestClient: if mod_name in sys.modules: del sys.modules[mod_name] monkeypatch.setenv("ADMIN_EMAIL", "admin@example.com") main_mod = importlib.import_module(mod_name) return TestClient(main_mod.app) def test_settings_validation_error(mod_name: str, monkeypatch: MonkeyPatch):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 2.2K bytes - Viewed (0) -
tests/test_tutorial/test_metadata/test_tutorial001_1.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.7K bytes - Viewed (0) -
docs_src/settings/app02_an_py39/test_main.py
def get_settings_override(): return Settings(admin_email="testing_admin@example.com") app.dependency_overrides[get_settings] = get_settings_override def test_app(): response = client.get("/info") data = response.json() assert data == { "app_name": "Awesome API", "admin_email": "testing_admin@example.com", "items_per_user": 50,
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 515 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt
* example, thread A may be executing [responseBodyStart] while thread B executes [canceled]. * Implementations must support such concurrent calls. * * Note that cancellation is best-effort and that a call may proceed normally after it has been * canceled. For example, happy-path events like [requestHeadersStart] and [requestHeadersEnd] may
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:03:04 UTC 2025 - 24.9K bytes - Viewed (0) -
tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py
"servers": [ {"url": "/api/v1"}, { "url": "https://stag.example.com", "description": "Staging environment", }, { "url": "https://prod.example.com", "description": "Production environment", }, ], "paths": {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 1.5K bytes - Viewed (0) -
docs/en/docs/advanced/events.md
## Use Case { #use-case } Let's start with an example **use case** and then see how to solve it with this. Let's imagine that you have some **machine learning models** that you want to use to handle requests. 🤖Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 7.9K bytes - Viewed (0) -
docs/lambda/README.md
This document focuses on showing a working example on how to use Object Lambda with MinIO, you must have [MinIO deployed in your environment](https://docs.min.io/community/minio-object-store/operations/installation.html) before you can start using external lambda functions. You also must install Python version 3.8 or later for the lambda handlers to work. ## Example Lambda handler Install the necessary dependencies. ```sh
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 7.7K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
That's why in this example we have to declare it in the `response_model` parameter. ...but continue reading below to see how to overcome that. ## Return Type and Data Filtering { #return-type-and-data-filtering }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 15.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java
* * @since 4.0.0 */ @Experimental public interface VersionParser extends Service { /** * Parses the specified version string, for example "1.0". * * @param version the version string to parse, must not be {@code null} * @return the parsed version, never {@code null}Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 19 19:08:55 UTC 2023 - 2.7K bytes - Viewed (0)