- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 1,467 for example2 (0.1 seconds)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RegexRuleTest.java
responseData.setUrl("http://example.com/"); responseData.setMimeType("text/html"); return responseData; } private ResponseData getTestData2() { final ResponseData responseData = new ResponseData(); responseData.setHttpStatusCode(200); responseData.setUrl("https://example.com/"); responseData.setMimeType("text/html");
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 4.8K bytes - Click Count (0) -
docs/en/docs/advanced/additional-responses.md
**FastAPI** will keep the additional information from `responses`, and combine it with the JSON Schema from your model. For example, you can declare a response with a status code `404` that uses a Pydantic model and has a custom `description`. And a response with a status code `200` that uses your `response_model`, but includes a custom `example`: {* ../../docs_src/additional_responses/tutorial003_py39.py hl[20:31] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 8.9K bytes - Click Count (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,
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 515 bytes - Click Count (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}Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 19 19:08:55 GMT 2023 - 2.7K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
* * <p>Example usage:</p> * <pre> * {@code * XPathAPI xPathAPI = new XPathAPI(); * NodeList nodes = xPathAPI.selectNodeList(contextNode, "//example"); * Node singleNode = xPathAPI.selectSingleNode(contextNode, "//example[1]"); * XPathEvaluationResult<?> result = xPathAPI.eval(contextNode, "count(//example)"); * } * </pre> *
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 4.6K bytes - Click Count (0) -
docs_src/security/tutorial003_an_py39.py
fake_users_db = { "johndoe": { "username": "johndoe", "full_name": "John Doe", "email": "johndoe@example.com", "hashed_password": "fakehashedsecret", "disabled": False, }, "alice": { "username": "alice", "full_name": "Alice Wonderson", "email": "alice@example.com", "hashed_password": "fakehashedsecret2", "disabled": True, }, } app = FastAPI()Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 24 19:03:06 GMT 2025 - 2.5K bytes - Click Count (0) -
tests/test_tutorial/test_advanced_middleware/test_tutorial002.py
from docs_src.advanced_middleware.tutorial002_py39 import app def test_middleware(): client = TestClient(app, base_url="http://example.com") response = client.get("/") assert response.status_code == 200, response.text client = TestClient(app, base_url="http://subdomain.example.com") response = client.get("/") assert response.status_code == 200, response.text client = TestClient(app, base_url="http://invalidhost")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 575 bytes - Click Count (0) -
docs/distributed/README.md
For example, an 16-server distributed setup with 200 drives per node would continue serving files, up to 4 servers can be offline in default configuration i.e around 800 drives down MinIO would continue to read and write objects.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 8.9K bytes - Click Count (0) -
.gitignore
# iOS *.pbxproj *.xcworkspace /*.podspec /tensorflow/lite/**/coreml/**/BUILD /tensorflow/lite/**/ios/BUILD /tensorflow/lite/**/objc/BUILD /tensorflow/lite/**/swift/BUILD /tensorflow/lite/examples/ios/simple/data/*.tflite /tensorflow/lite/examples/ios/simple/data/*.txt Podfile.lock Pods
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Nov 30 21:41:32 GMT 2024 - 945 bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
} /** * Returns a string with containing this URL with its username, password, query, and fragment * stripped, and its path replaced with `/...`. For example, redacting * `http://username:password@example.com/path` returns `http://example.com/...`. */ fun redact(): String = newBuilder("/...")!! .username("") .password("") .build() .toString() /**
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 63.5K bytes - Click Count (0)