- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 2,076 for none (0.25 seconds)
-
docs/en/docs/index.md
app = FastAPI() class Item(BaseModel): name: str price: float is_offer: bool | None = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: str | None = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 21.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/cisupport/CIDetectorHelperTest.java
public class CIDetectorHelperTest { private static final Set<String> ALL = Set.of("CIRCLECI", "CI", "WORKSPACE", "GITHUB_ACTIONS", "TEAMCITY_VERSION", "TRAVIS"); @Test void none() throws Exception { assertEquals("NONE;", runner(Map.of())); } @Test void generic() throws Exception { assertEquals(GenericCIDetector.NAME + ";", runner(Map.of("CI", "true"))); } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Apr 13 18:50:07 GMT 2025 - 3.4K bytes - Click Count (0) -
tests/test_regex_deprecated_body.py
def get_client(): app = FastAPI() with pytest.warns(FastAPIDeprecationWarning): @app.post("/items/") async def read_items( q: Annotated[str | None, Form(regex="^fixedquery$")] = None, ): if q: return f"Hello {q}" else: return "Hello World" client = TestClient(app) return client @needs_py310
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 14:34:02 GMT 2026 - 5.4K bytes - Click Count (0) -
apache-maven/src/assembly/maven/conf/maven-user.properties
# Format: RequestType { scope:SCOPE ref:REFERENCE_TYPE } # # SCOPE OPTIONS: # session - Cache for entire Maven session (all modules in multi-module build) # request - Cache only for current request + its child requests # none - Disable caching entirely # # REFERENCE OPTIONS: # hard - Strong reference (stays in memory, faster access) # soft - Weak reference (can be garbage collected under memory pressure) # # CONFIGURATION BREAKDOWN:Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/chat/chat.jsp
<i class="fa fa-filter" aria-hidden="true"></i> <la:message key="labels.chat_filter" /> <span id="filterBadge" class="badge rounded-pill bg-primary d-none">0</span> </button> <button type="button" id="newChatBtn" class="btn btn-outline-secondary btn-sm" aria-label="<la:message key="labels.chat_new_chat" />"> <i class="fa fa-plus" aria-hidden="true"></i>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 01:36:02 GMT 2026 - 10.8K bytes - Click Count (0) -
docs/en/docs/js/custom.js
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 17:59:48 GMT 2026 - 7.7K bytes - Click Count (2) -
ci/official/utilities/extract_resultstore_links.py
url_lines = result_store_links.setdefault(url, {}) # Each bazel RBE invocation should produce two # 'Streaming build results to: ...' lines, one at the start, and one at the # end of the invocation. # If there's a failure message, it will be found in-between these two. if not current_url: url_lines['start'] = i elif current_url == url: url_lines['end'] = i else:
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Nov 08 17:50:27 GMT 2023 - 10.9K bytes - Click Count (0) -
src/main/webapp/WEB-INF/view/common/admin/footer.jsp
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%> <footer class="main-footer"> <div class="float-right d-none d-sm-inline-block"></div> <la:message key="labels.footer.copyright" />
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 12 20:25:27 GMT 2020 - 213 bytes - Click Count (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java
/** * Locates the pom in the given directory. * * @param dir the directory to locate the pom for, never {@code null} * @return a {@code Source} pointing to the located pom or an empty {@code Optional} if none was found by this parser */ @Nonnull Optional<Source> locate(@Nonnull Path dir); /** * Parse the model obtained previously by a previous call to {@link #locate(Path)}. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Sep 10 17:18:47 GMT 2024 - 3.1K bytes - Click Count (0) -
docs/en/docs/python-types.md
``` This means that `item` could be an `int` or a `str`. #### Possibly `None` { #possibly-none } You can declare that a value could have a type, like `str`, but that it could also be `None`. //// tab | Python 3.10+ ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial009_py310.py!} ``` ////Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0)